Core Java (TM) 2, Volume II--Advanced Features
A new edition of this title is available, ISBN-10: 0132354799 ISBN-13: 9780132354790 Completely revised and up-to-date coverage of Multithreading-including the java.util.concurrent library, locks, condition objects, futures, thread pools, thread-safe collections, threads and Swing Collection classes-collections framework, concrete collections, and generic utility methods Annotations and metadata-using annotations to automate programming tasks, JDK (TM) 5.0 standard annotations, the apt tool for source-level annotation processing, and bytecode engineering Advanced Swing and AWT-lists, trees, tables, and other advanced components; image processing and printing JavaBeans (TM)-including property editors, customizers, and long-term persistence XML-DOM and SAX parsers, XPath, and XSL transformationsThe seventh edition of Core Java (TM) 2, Volume II, covers advanced user-interface programming and the enterprise features of the Java 2 Platform, Standard Edition (J2SE (TM)). 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 Multithreading Distributed objects Databases JNDI and LDAP Advanced GUI components Native methods XML processing Network programming Collection classes Advanced graphics Internationalization JavaBeans Annotations
- Paperback | 1024 pages
- 178 x 234 x 48mm | 1,437.88g
- 26 Nov 2004
- Pearson Education (US)
- Prentice Hall
- Upper Saddle River, United States
- 7th edition
Table of contents
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.
About Cay S. Horstmann
Cay S. Horstmann is a professor of computer science at San Jose State University. Previously he was vice president and chief technology officer of Preview Systems Inc. and a consultant on C++, Java, and Internet programming for major corporations, universities, and organizations.Gary Cornell has written or cowritten more than twenty popular computer books. He has a Ph.D. from Brown University and has been a visiting scientist at IBM Watson Laboratories, as well as a professor at the University of Connecticut.