Hardcore Java is an advanced book that focuses on the little-touched but critical parts of the Java programming language that expert programmers use. We're not talking about trivial things; we're talking about difficult but extremely powerful and useful programming techniques like reflection, advanced data modeling, advanced GUI design, and advanced aspects of JDO, EJB and XML-based web clients. This unique book reveals the true wizardry behind the complex and often-mysterious Java environment. [Full Description]
Full Description
There is a huge difference between writing code that compiles and runs and writing code that is robust, extensible, maintainable, readable, and just plain elegant. And it's that difference that distinguishes a master Java developer from just a good developer. Becoming a master programmer takes hard work, patience and, usually, an expert who will take the time to teach you how to understand and use the most difficult concepts in the language.
But what if your goal is Java wizardry, and you don't have an available expert willing to take you under wing? Don't despair. You can rely on Hardcore Java to transform your Java skills from competent to sublime. Hardcore Java distills years of experience into a concise, but generous, compendium of java guru expertise. It reveals the difficult and rarely understood secrets of Java that true master programmers need to know.
Written for the working Java developer, Hardcore Java focuses on the set of APIs you must use to create standalone applications. This indispensable resource explores in detail the advanced, powerful aspects of application design and programming that will make every line of your code count.
Hardcore Java is an advanced book that focuses on the little-touched but critical parts of the Java programming language that expert programmers use. We're not talking about trivial things; we're talking about difficult but extremely powerful and useful programming techniques like reflection, advanced data modeling, advanced GUI design, and advanced aspects of JDO, EJB and XML-based web clients. This unique book reveals the true wizardry behind the complex and often-mysterious Java environment.
Related Books
Enterprise JavaBeans, 3rd Edition (O'Reilly)
Head First EJB (O'Reilly)
Head First Java (O'Reilly)
Java & XML, 2nd Edition (O'Reilly)
Java Data Objects (O'Reilly)
Java Enterprise Best Practices (O'Reilly)
Java Enterprise in a Nutshell, 2nd Edition (O'Reilly)
Java Swing, 2nd Edition (O'Reilly)
Preface
1. Java in Review
Core Concepts
Syntax Issues
Access Issues
Common Mistakes
2. The Final Story
Final Constants
Final Variables
Final Parameters
Final Collections
Instance-Scoped Variables
Final Classes
Final Methods
Conditional Compilation
Using final as a Coding Standard
3. Immutable Types
Fundamentals
Immutable Problems
Immutable or Not
4. Collections
Collection Concepts
Implementations
Choosing a Collection Type
Iterating Collections
Collection Gotchas
5. Exceptional Code
Two Types of Exceptions
When to Use Exceptions
Finally for Closure
Exceptional Traps
6. Nested Classes
Inner Classes
Limited-Scope Inner Classes
Static Nested Classes
Double Nested Classes
Nested Classes in Interfaces?
Nested Interfaces
Nested Class Rules
7. All About Constants
Substitution Constants
Bit Fields
Option Constants
Constant Objects
Constant Encapsulation
8. Data Modeling
The Requirements Document
Natural Language Modeling
Aspects of Well-Designed Data Models
Reusable Data Constraints
Persistence
9. Practical Reflection
The Basics
Reflection and Greater Reflection
Applying Reflection to MutableObject
Performance of Reflection
Reflection + JUnit = Stable Code
10. Proxies
What Is a Proxy?
Two Kinds of Proxies
Proxy Gotchas
11. References in Four Flavors
The Problem
Java Reference Concepts
The Java Reference Classes
Practical Applications
A Weak Listener
When to Use References
12. Tiger: JDK 1.5
New Language Features
Generics
Other Improvements in Tiger
Index