Электронная библиотека Веда
Цели библиотеки
Скачать бесплатно
Доставка литературы
Доставка диссертаций
Размещение литературы
Контактные данные
Я ищу:
Библиотечный каталог учебных пособий, монографий, статей

Вы находитесь:
Электронная библиотека научной литературы
Гуманитарная электронная библиотека
Информатика
Java и JavaScript
Java

Источник № 3021:

JAVA UNLEASHED Everything You Need To Know To Master Java!. - 711 c.


Cодержание источника:
Стр.
Chapter 1 9
Java Makes Executable Content Possible 9
What Can Java Do? 9
Java Origins and Direction 12
Illustrations of Java’s Potential 14
What Java Might Make Possible 26
Summary 27
Chapter 2 27
Java’s Design Is Flexible and Dynamic 27
A Hello to Java 27
Java Technical Overview 33
Summary 44
Chapter 3 45
Java Transforms the World Wide Web 45
Overview of the Web 45
How Does Java Transform the Web? 48
Java Adds to the Web’s Communication Contexts and Potential 50
Java and Communication Contexts on the Web 50
Java and the Web’s Potential 51
Summary 52
Chapter 4 53
Java Animates Web Pages 53
Applets in Motion 53
Animation 60
Commercial Sites Using Java 63
Summary 66
Chapter 5 66
Java makes web pages interactive 66
Interactive Games 67
Educational Applications 69
Summary 76
Chapter 6 77
Java distributes content 77
The Significance of Network Distribution and Retrieval 77
Handling New Protocols and Formats 78
Retrieving and Sharing Network Information 78
Summary 83
Chapter 7 83
Putting together your toolkit 83
Overview of Java Tools 83
Browsers 84
The Java Developer’s Kit 85
Development Environments 85
Programming Libraries 87
Online Resources 87
Summary 90
Chapter 8 91
Netscape 91
Netscape Products 91
Netscape Support for Java 93
Configuring Java with Netscape 93
Java Applets 94
JavaScript 94
Summary 95
Chapter 9 95
HotJava 95
This Is HotJava 95
Java and HotJava 98
Setting Up HotJava 99
Using HotJava 100
Summary 105
Chapter 10 105
The Java developer's kit 105
Getting the Latest Version 105
Overview 106
The Runtime Interpreter 106
The Compiler 107
The Applet Viewer 108
The Debugger 109
The Class File Disassembler 109
The Header and Stub File Generator 110
The Documentation Generator 110
Applet Demos 110
API Source Code 112
Summary 113
Chapter 11 113
Other tools and environments 113
Development Environments 113
Programming Libraries 119
Summary 120
Chapter 12 120
Java language fundamentals 120
Hello, World! 121
Tokens 122
Data Types 127
Casting Types 129
Blocks and Scope 129
Arrays 132
Strings 133
Summary 133
Chapter 13 134
Expressions, operators, and control structures 134
Expressions and Operators 134
Control Structures 148
Summary 159
Chapter 14 159
Classes, packages, and interfaces 159
Object-Oriented Programming Primer 160
Classes 165
Object Creation 173
Object Destruction 175
Packages 175
Interfaces 177
Summary 179
Chapter 15 179
Threads and multithreading 179
Threads: What They Are and Why You Need Them 180
The Problem with Parallelism 182
Thinking Multithreaded 183
Creating and Using Threads 188
Knowing When a Thread Has Stopped 193
Thread Scheduling 193
Summary 198
Chapter 16 199
Exception handling 199
Programming in the Large 199
Programming in the Small 201
The Limitations Placed on the Programmer 205
The finally Clause 206
Summary 208
Chapter 17 208
Overview of the class libraries 208
The Language Package 208
The Utilities Package 211
The I/O Package 212
Summary 213
Chapter 18 213
The language package 214
The Object Class 214
Data Type Wrapper Classes 214
The Math Class 219
String Classes 221
System and Runtime Classes 228
Class Classes 230
Summary 231
Chapter 19 231
The utilities package 231
Interfaces 232
Classes 233
Summary 257
Chapter 20 257
The I/O package 257
Input Stream Classes 257
Output Stream Classes 266
File Classes 272
Summary 276
Chapter 21 276
Applet programming preview 276
What Is an Applet? 276
The Limits of Applets 278
Applet Basics 279
A Basic Applet Example 282
Summary 284
Chapter 22 285
The windowing package 285
A Simple AWT Applet 285
Don’t Panic 287
Event Handling 287
Components 294
Designing a User Interface 307
Summary 310
Chapter 23 310
The applet package and graphics 310
Characteristics of Applets 311
Applet Lifecycles 311
Leveraging the Browser 312
Applet Contexts 316
Graphics 318
A Sample Applet: SlideShow 322
Summary 328
Chapter 25 328
Animation Programming 328
The Animator Class 329
Simple Animation 331
Double-Buffered Animation 340
Alternate Designs for a Two-Dimensional Animator 342
Example Object Animator 345
Summary 346
Chapter 26 347
Phone book and telephone dialer applications 347
Application Design 347
Interface Design 350
Handling User Input 355
How to Get Names and Phone Numbers Over the Net 356
Parsing Names and Phone Numbers 357
It’s Time to Dial a Number—the DialPhone( ) Function 359
Add Information Functions 361
Summary 368
Chapter 27 369
Introducing Java network programming 369
Prerequisites 369
Internet Networking: A Quick Overview 370
Summary 374
Chapter 28 374
The java.net Package 374
Classes 374
Exceptions 380
Interfaces 382
Summary 382
Chapter 29 383
Network programming 383
Which Class Is Right for Me? 383
A Note on Java Security and the Network Classes 385
Using the URL Class 386
Construct a URL 389
Get a URLConnection and InputStream 390
Read and Display the Content 390
Using the Socket Class 391
Skeleton 392
Constructors 393
The getInfo( ) Method 393
Using the ServerSocket Class 396
Wait for an Incoming Connection 400
Get I/O Streams for the Socket 400
Talk to the Client 400
Close the ServerSocket 401
Using the DatagramSocket Class 403
Skeleton 404
Constructors 405
Miscellaneous Methods 405
Thread Controls 405
run( ) Method 406
Skeleton 412
run( ) Method 413
Skeleton 414
run( ) Method 415
Summary 418
Chapter 30 418
Overview of content and protocol handlers 418
Historical and Evolutionary Note 418
Java Protocol Handlers 418
Java Content Handlers 422
Summary 425
Chapter 31 426
Extending Java with content and protocol handlers 426
What Are Protocol and Content Handlers? 426
Creating a Protocol Handler 427
Creating a Content Handler 431
Summary 437
Chapter 32 438
Game programming with Java 438
Graphics: Creating a Graphics Engine 438
Improving the Bare-Bones Engine 444
Sounds 452
Java-Specific Game Design Issues 452
Summary 453
Chapter 33 454
Multimedia and Java 454
Java 454
Future of Java and Multimedia 460
Summary 461
Chapter 34 461
VRML and Java 461
History of VRML 462
What You Need to Experience VRML 463
Using the Browsers 464
Introduction to Creating VRML Worlds 466
Authoring Tools and Converters 472
Optimizing Virtual Reality on the Web 473
The Future of VRML, Version 2.0 and Beyond 474
Java Meets VRML 475
Summary 487
Chapter 35 488
Multiuser programming 488
Our Mission Should We Choose toAccept It… 489
Requirements of the Server 489
Integrating a Communication Class in Your Applet 490
How to Connect to a Server 490
How to Communicate with the Server 492
Disconnecting 495
The Graphical Interface 496
How to Thread the Client Class 498
How to Share Information 499
The “Translating” Method 500
Finalizing the Client Class 502
Advanced Topics 504
Summary 508
Chapter 36 508
Java debugging 509
JDB Commands 509
Using JDB to Debug Your Program 510
Compiling for JDB 512
Setting Up a Debugging Session 513
Summary 523
Chapter 37 523
Java documentation 523
Documentation: Why Bother? 523
Summary 534
Chapter 38 535
Native methods and libraries 535
Disadvantages of native Methods 535
The Illusion of Required Efficiency 536
Writing native Methods 538
A Native Library 546
Summary 547
Chapter 39 547
Java's virtual machine, bytecodes, and more 547
The Big Picture 547
The Java Virtual Machine 549
Bytecodes in More Detail 554
The .class File Format 572
Method Signatures 574
The Garbage Collector 575
The Security Story 578
Summary 586
Chapter 40 586
Java security 587
Why Is Security an Issue with Java? 587
Security Protection in Java 596
Security in Specific Java Interpreters 606
Summary 609
Chapter 41 610
Java script 610
Welcome to JavaScript 611
Learning JavaScript 611
JavaScript and Java 612
Authoring with JavaScript 614
Future Enhancements to JavaScript 617
JavaScript Resources 617
Summary 618
Chapter 42 618
The JavaScript language 618
JavaScript Fundamentals 618
Looping and Conditional Statements 623
Operators 628
Functions and Objects 631
Built-In Objects 634
Event Handling 638
Color Reference 640
Summary 642
Chapter 43 642
Building JavaScript applications 642
Introducing the Possibilities 642
Your First Example: Messages to the User 643
Form Validation: A Correct Form, the First Time 647
Interactive Forms: A Loan Planner 654
Creating New Windows: An Image Previewer 660
Summary 664
Chapter 44 664
Advanced techniques with JavaScript 664
Using Frames with JavaScript 665
Persistent Client State HTTP Cookies 670
A JavaScript Clock 677
Case Study: LiveSite 679
Troubleshooting 680
Summary 681
Appendix A 681
Java Language Summary 681
Reserved Words 681
Comments 682
Literals 682
Variable Declaration 683
Variable Assignment 683
Operators 684
Objects 684
Arrays 685
Loops and Conditionals 685
Class Definitions 686
Method and Constructor Definitions 686
Packages, Interfaces, and Importing 687
Exceptions and Guarding 687
Appendix B 688
Class Hierarchy Diagrams 688
About These Diagrams 688
Appendix C 689
The Java Class Library 689
java.lang 689
java.util 690
java.io 691
java.net 692
java.awt 693
java.awt.image 695
java.awt.peer 695
java.applet 696
Appendix D 696
Differences between Java and C/C++ 696
The Preprocessor 696
Pointers 697
Structures and Unions 697
Functions 697
Multiple Inheritance 697
Strings 698
The goto Statement 698
Operator Overloading 698
Automatic Coercions 698
Variable Arguments 698
Command-Line Arguments 699
Appendix E 699
Java Resources 699
Sun’s Java Sites 699
Java Information Collection Sites 699
Java Discussion Forums 700
Notable Individual Java Webs 700
Java Index Sites 700
Object-Oriented Information 700
Java Players and Licensees 701
Appendix F 701
VRML Resources 701
General VRML Information 702
VRML Browsers 702
Software 704
Authoring Tools 704
Converters 705
Java/VRML Companies 705
Interesting VRML Web Sites 706
Writings That Have Inspired VRML-ers 707
Glossary 707
Java Unleashed CD-ROM 711

© Научная электронная библиотека «Веда», 2003-2013.
info@lib.ua-ru.net