Java Cookbook, 2nd Edition
- Length: 864 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2004-06-21
- ISBN-10: 0596007019
- ISBN-13: 9780596007010
- Sales Rank: #2115363 (See Top 100 Books)
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
Chpater 1. Getting Started: Compiling, Running, and Debugging
Chpater 2. Interacting with the Environment
Chpater 3. Strings and Things
Chpater 4. Pattern Matching with Regular Expressions
Chpater 5. Numbers
Chpater 6. Dates and Times
Chpater 7. Structuring Data with Java
Chpater 8. Data Structuring with Generics, foreach, and Enumerations (JDK 1.5)
Chpater 9. Object-Oriented Techniques
Chpater 10. Input and Output
Chpater 11. Directory and Filesystem Operations
Chpater 12. Programming External Devices: Serial and Parallel Ports
Chpater 13. Graphics and Sound
Chpater 14. Graphical User Interfaces
Chpater 15. Internationalization and Localization
Chpater 16. Network Clients
Chpater 17. Server-Side Java: Sockets
Chpater 18. Network Clients II: Applets and Web Clients
Chpater 19. Java and Electronic Mail
Chpater 20. Database Access
Chpater 21. XML
Chpater 22. Distributed Java: RMI
Chpater 23. Packages and Packaging
Chpater 24. Threaded Java
Chpater 25. Introspection, or “A Class Named Class”
Chpater 26. Using Java with Other Languages