The revised edition of the classic Core Java™, Volume II–Advanced Features, covers advanced user-interface programming and the enterprise features of the Java SE 6 platform. Like Volume I (which covers the core language and library features), this volume has been updated for Java SE 6 and new coverage is highlighted throughout. All sample programs have been carefully crafted to illustrate the latest programming techniques, displaying best-practices solutions to the types of real-world problems professional developers encounter.
Volume II includes new sections on the StAX API, JDBC 4, compiler API, scripting framework, splash screen and tray APIs, and many other Java SE 6 enhancements. In this book, the authors focus on the more advanced features of the Java language, including complete coverage of
- Streams and Files
- Networking
- Database programming
- XML
- JNDI and LDAP
- Internationalization
- Advanced GUI components
- Java 2D and advanced AWT
- JavaBeans
- Security
- RMI and Web services
- Collections
- Annotations
- Native methods
For thorough coverage of Java fundamentals–including interfaces and inner classes, GUI programming with Swing, exception handling, generics, collections, and concurrency–look for the eighth edition of Core Java™, Volume I–Fundamentals (ISBN: 978-0-13-235476-9).
The fifth edition of
Core Java 2: Volume II--Advanced Features brings a classic Java text up to date for developers tackling JDK 1.3 and 1.4, with a fast-moving and example-based tutorial. Perfect for those who want to learn programming through small, complete demos, this new version is still an excellent choice for mastering the more advanced topics in Java.
The salient feature of this tutorial is that authors provide small, complete programs that demonstrate each area of functionality in "core" Java along with reference material on essential APIs. Beginning with using multiple threading (and synchronization, which allow threads to communicate), the authors provide an engaging tour of advanced Java. The focus here is on client-side Java based on the Java 2 Standard Edition (J2SE), both versions 1.3 and 1.4, including APIs for building applets and applications with Swing and JavaBeans. As in the previous edition, sections on the Java collections do little to simplify the complexity here. Coverage of JDBC is very good, though, with a fine mix of examples showing off basic SQL and queries, plus transactions and newer JDBC features. Later on, this text turns to Swing, including how to extend three powerful Swing controls (lists, trees, and tables), plus improved J2SE 1.4 support for progress controls, plus drag-and-drop and clipboard support.
Besides providing source code and APIs, this book is filled with tips and gotchas to avoid. A robust section on security covers the entire spectrum of security issues in Java, including signing JAR files (along with good practical details). Though it's probably rare enough today, the authors go into good detail about creating custom JavaBean components. Examples make use of Sun Forte Community Edition, a capable Java tool (bundled on the accompanying CD-ROM).
Standout later chapters include an excellent tour of Java's strong support for internationalization (illustrated with a "retirement saving calculator" in English, German, and Chinese). A final section on XML introduces this powerful new standard, plus some essential Java APIs for getting starting with parsing and transforming XML. Chock-full of examples and useful advice, the latest edition of Core Java 2--Volume II is a worthy update to an already successful Java tutorial. --Richard Dragan
Topics covered: Programming with multiple threads (states and priorities, daemon threads); thread synchronization; avoiding deadlocks; using threads with Swing (dos and don'ts); introduction to collections (including lists, sets, trees, and maps); the collections framework; algorithms (sorting and searching); legacy collections; Java network programming (sending e-mail, using sockets and URLs, basic Web programming); JDBC and databases (quick SQL tutorial, connecting and querying data, metadata, and transactions); new JDBC 3.0 features; remote method invocation (RMI); Java and CORBA; advanced Swing tutorial (JList, JTree, and JTable, including custom rendering options); advanced AWT and Java 2-D graphics (including image manipulation and graphics filters); clipboard and drag-and-drop support; JavaBeans (properties and events, property editors and customizers); Java security (class loaders and bytecode verification, digital signatures, signing JAR files, encryption); internationalization (including date and time and multiple character sets); the Java Native Interface (JNI); Java and C interoperability; and a quick tutorial to XML (SAX and XSL in Java).