Java Cookbook, 2nd Edition
You have a choice: you can wade your way through lengthy Java tutorials and figure things out by trial and error, or you can pick up Java Cookbook, 2nd Edition and get to the heart of what you need to know when you need to know it.
With the completely revised and thoroughly updated Java Cookbook, 2nd Edition, Java developers like you will learn by example, try out new features, and use sample code to understand how new additions to the language and platform work–and how to put them to work for you.
This comprehensive collection of problems, solutions, and practical examples will satisfy Java developers at all levels of expertise. Whether you’re new to Java programming and need something to bridge the gap between theory-laden reference manuals and real-world programs or you’re a seasoned Java programmer looking for a new perspective or a different problem-solving context, this book will help you make the most of your Java knowledge.
Packed with hundreds of tried-and-true Java recipes covering all of the major APIs from the 1.4 version of Java, this book also offers significant first-look recipes for the most important features of the new 1.5 version, which is in beta release. You get practical solutions to everyday problems, and each is followed by a detailed, ultimately useful explanation of how and why the technology works.
Java Cookbook, 2nd Edition includes code segments covering many specialized APIs–like those for working with Struts, Ant and other new popular Open Source tools. It also includes expanded Mac OS X Panther coverage and serves as a great launching point for Java developers who want to get started in areas outside of their specialization.
In this major revision, you’ll find succinct pieces of code that can be easily incorporated into other programs. Focusing on what’s useful or tricky–or what’s useful and tricky–Java Cookbook, 2nd Edition is the most practical Java programming book on the market.
Table of Contents
Chapter 1. Getting Started: Compiling, Running, and Debugging
Chapter 2. Interacting with the Environment
Chapter 3. Strings and Things
Chapter 4. Pattern Matching with Regular Expressions
Chapter 5. Numbers
Chapter 6. Dates and Times
Chapter 7. Structuring Data with Java
Chapter 8. Data Structuring with Generics, foreach, and Enumerations (JDK 1.5)
Chapter 9. Object-Oriented Techniques
Chapter 10. Input and Output
Chapter 11. Directory and Filesystem Operations
Chapter 12. Programming External Devices: Serial and Parallel Ports
Chapter 13. Graphics and Sound
Chapter 14. Graphical User Interfaces
Chapter 15. Internationalization and Localization
Chapter 16. Network Clients
Chapter 17. Server-Side Java: Sockets
Chapter 18. Network Clients II: Applets and Web Clients
Chapter 19. Java and Electronic Mail
Chapter 20. Database Access
Chapter 21. XML
Chapter 22. Distributed Java: RMI
Chapter 23. Packages and Packaging
Chapter 24. Threaded Java
Chapter 25. Introspection, or “A Class Named Class”
Chapter 26. Using Java with Other Languages
- Paperback: 864 pages
- Publisher: O’Reilly Media; 2nd Edition (June 2004)
- Language: English
- ISBN-10: 0596007019
- ISBN-13: 978-0596007010