Description
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 methodsFor 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).
Table of Contents
Preface xv
Acknowledgments xix
Chapter 1: Streams and Files 1
Streams 2
Text Input and Output 11
Reading and Writing Binary Data 23
ZIP Archives 32
Object Streams and Serialization 39
File Management 59
New I/O 65
Regular Expressions 75
Chapter 2: XML 87
Introducing XML 88
Parsing an XML Document 93
Validating XML Documents 105
Locating Information with XPath 129
Using Namespaces 136
Streaming Parsers 138
<