Résumé
The second edition of Exploring Java,
introduces the basics of Java, the object-oriented
programming language for networked applications from Sun
Microsystems.
This book covers the essentials of hot topics like Beans
and RMI and shows
you how to get up speed writing Java applets and other
applications,
including networking programs, content and protocol
handlers, and
security managers.
Even before the first release of Java, companies from
Oracle to Netscape
and Microsoft licensed Java to integrate with their
Internet products.
What makes this new language so important? It's truly
portable. The same
code runs on any machine that provides a Java interpreter,
whether Windows 95,
Windows NT, the Macintosh, or any flavor of UNIX. And,
potentially, Java
is designed to be as fast as programs written in C and
C++.
The ability to create animated World Wide Web pages has
also sparked the
rush to Java. But, the story does not end with the Web.
Sophisticated
large applications, such as spreadsheets or word
processors, can also
be written with Java. An early example is Sun's
self-extensible Web
browser, HotJava.
With a practical, hands-on approach characteristic of
O'Reilly's Nutshell
Handbooks(R), Exploring Java shows you how to write
dynamic Web
pages. But that's only the beginning. This book also shows
you how to
write content and protocol handlers, networking programs,
and other
stand-alone applications.
Part of O'Reilly's definitive set of Java documentation,
Exploring Java,
2nd Edition covers:
- History and principles of Java
- How to write simple applets
- How to integrate applets into the World Wide Web
- Java Class Libraries
- Using threads
- Using arrays
- Network programming
- Content and protocol handling
- Using the Abstract Windowing Toolkit (AWT)
- Writing a security manager
Table of Contents
Preface
Chapter 1. Yet Another Language?
Enter Java
A Virtual Machine
Java Compared
Safety of Design
Safety of Implementation
Application and User Level Security
Java and the World Wide Web
Java as a General Application Language
A Java Road Map
Availability
Chapter 2. A First Applet
Hello Web!
Hello Web! II: The Sequel
Hello Web! III: The Button Strikes!
Hello Web! IV: Netscape's Revenge
Chapter 3. Tools of the Trade
The Java Interpreter
The Class Path
The Java Compiler
The Applet Tag
Packaging: Java Archive (JAR) Files
Code and Data Signing
Chapter 4. The Java Language
Text Encoding
Comments
Types
Statements and Expressions
Exceptions
Arrays
Chapter 5. Objects in Java
Classes
Methods
Object Creation
Object Destruction
Chapter 6. Relationships Between Classes
Subclassing and Inheritance
Interfaces
Packages and Compilation Units
Variable and Method Visibility
Inside Arrays
Inner Classes
Chapter 7. Working with Objects and Classes
The Object Class
The Class Class
Reflection
Chapter 8. Threads
Introducing Threads
Threading Applets
Synchronization
Scheduling and Priority
Thread Groups
Chapter 9. Basic Utility Classes
Strings
Math Utilities
Dates
Vectors and Hashtables
Properties
The Security Manager
Internationalization
Chapter 10. Input/Output Facilities
Streams
Files
Serialization
Data Compression
Chapter 11. Network Programming with Sockets and RMI
Sockets
Datagram Sockets
Simple Serialized Object Protocols
Remote Method Invocation
Chapter 12. Working with URLs
The URL Class
Web Browsers and Handlers
Writing a Content Handler
Writing a Protocol Handler
Talking to CGI Programs
Chapter 13. The Abstract Window Toolkit
Components
Containers
AWT Performance and Lightweight Components
Applets
Events
AWT Event Summary
Chapter 14. Creating GUI Components
Buttons and Labels
Text Components
Lists
Menus and Choices
PopupMenu
Checkbox and CheckboxGroup
ScrollPane and Scrollbars
Dialogs
Creating Custom Components
Chapter 15. Layout Managers
FlowLayout
GridLayout
BorderLayout
CardLayout
GridBagLayout
Nonstandard Layout Managers
Absolute Positioning?
Chapter 16. Drawing with AWT
Basic Drawing
Colors
Fonts
Images
Drawing Techniques
Chapter 17. Working with Images
Image Processing
Implementing an ImageObserver
Using a MediaTracker
Producing Image Data
Image Producers and Consumers
Filtering Image Data
Working with Audio
Chapter 18. Java Beans
What's a Bean?
Building Beans
Hand-Coding with Beans
Putting Reflection to Work
Glossary
Index
L'auteur - Patrick Niemeyer
Patrick Niemeyer (pat@pat.net) decouvrit Oak (ancetre de java) aux Southwestern Bell Technology Resources. Il a recemment mis au point plusieurs composants de migration vers l'approche client/serveur. Il est l'auteur de BeanShell, un interpreteur java.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Patrick Niemeyer |
Parution | 10/09/1997 |
Nb. de pages | 614 |
EAN13 | 9781565921849 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse