Register your product to gain access to bonus material or receive a coupon.
Completely revised edition of the best-selling book on advanced Java features for experienced programmers. Throughly updated for J2SE 5.0.
° In the Core tradition, this book offers expert-level guidance for advanced programmers
° A clear editorial voice that points out the good and the bad of Java programming
° Completely rewritten programs
A new edition of this title is available, ISBN-10: 0132354799 ISBN-13: 9780132354790
Completely revised and up-to-date coverage of
The seventh edition of Core Java™ 2, Volume II, covers advanced user-interface programming and the enterprise features of the Java 2 Platform, Standard Edition (J2SE™). Like Volume I (which covers the most important language and library features), this book has been completely updated and revised for J2SE 5.0. All of the sample programs have been updated and carefully crafted to illustrate practical solutions to the type of real-world problems professional developers encounter.
Volume II includes new sections on annotations and other J2SE 5.0 enhancements, along with complete coverage of
Core Java: Collections Framework and Algorithms
List of Code Example.
Preface.
Acknowledgments.
1. Multithreading.
What Are Threads?
Interrupting Threads.
Thread States.
Thread Properties.
Synchronization.
Blocking Queues.
Thread-Safe Collections.
Callables and Futures.
Executors.
Synchronizers.
Threads and Swing.
2. Collections.
Collection Interfaces.
Concrete Collections.
The Collections Framework.
Algorithms.
Legacy Collections.
3. Networking.
Connecting to a Server.
Implementing Servers.
Sending E-Mail.
Making URL Connections.
Advanced Socket Programming.
4. Database Programming.
The Design of JDBC.
The Structured Query Language.
JDBC Installation.
Basic JDBC Programming Concepts.
Query Execution.
Scrollable and Updatable Result Sets.
Metadata.
Row Sets.
Transactions.
Advanced Connection Management.
Introduction to LDAP.
5. Distributed Objects.
The Roles of Client and Server.
Remote Method Invocations.
Setup for Remote Method Invocation.
Parameter Passing in Remote Methods.
Server Object Activation.
Java IDL and CORBA.
Remote Method Calls with SOAP.
6. Advanced Swing.
Lists.
Trees.
Tables.
Styled Text Components.
Progress Indicators.
Component Organizers.
7. Advanced AWT.
The Rendering Pipeline.
Shapes.
Areas.
Strokes.
Paint.
Coordinate Transformations.
Clipping.
Transparency and Composition.
Rendering Hints.
Readers and Writers for Images.
Image Manipulation.
Printing.
The Clipboard.
Drag and Drop.
8. JavaBeans Components.
Why Beans?
The Bean-Writing Process.
Using Beans to Build an Application.
Naming Patterns for Bean Properties and Events.
Bean Property Types.
BeanInfo Classes.
Property Editors.
Customizers.
JavaBeans Persistence.
9. Security.
Class Loaders.
Bytecode Verification.
Security Managers and Permissions.
Digital Signatures.
Code Signing.
Encryption.
10. Internationalization.
Locales.
Number Formats.
Date and Time.
Collation.
Message Formatting.
Text Files and Character Sets.
Resource Bundles.
A Complete Example.
11. Native Methods.
Calling a C Function from the Java Programming Language.
Numeric Parameters and Return Values.
String Parameters.
Accessing Fields.
Encoding Signatures.
Calling Java Methods.
Accessing Array Elements.
Handling Errors.
Using the Invocation API.
A Complete Example: Accessing the Windows Registry.
12. XML.
Introducing XML.
Parsing an XML Document.
Validating XML Documents.
Locating Information with XPath.
Using Namespaces.
Using the SAX Parser.
Generating XML Documents.
XSL Transformations.
13. Annotations.
Addition of Metadata to Programs.
An Example: Annotating Event Handlers.
Annotation Syntax.
Standard Annotations.
The apt Tool for Source-Level Annotation Processing.
Bytecode Engineering.
Index.
Download the Index file related to this title.