Hardcore Java
Secrets of the Java Masters
Samenvatting
Java has quickly become one of the most important languages in programming, particularly for professional and enterprise-level projects. From its infancy as a language primarily used for web applets to its maturity through servlets, Enterprise JavaBeans, and database access, Java has become a complex and robust tool for today's developer.
'Hardcore Java' takes this language and breaks it apart, piece by piece, revealing the important secrets and tricks that will take you from a junior-level programmer to a seasoned and expert developer. You'll fly through the fundamentals and quickly find yourself learning about advanced memory management techniques, optimization and bytecode-level enhancements, and the techniques required to build lightning-fast GUIs. Throughout the book, you'll also master the art of writing and maintaining bulletproof and error-proof code, all while grasping the intricacies of the Java language.
Hardcore Java covers:
- Use of the final keyword to optimize and protect your Java classes.
- Complete and thorough coverage of all types of nested classes, including how to optimize anonymous and inner classes.
- Detailed discussion of immutable objects, including unique tips on when to use them (and when not to).
- Elimination of bugs through exception-handling management.
- In-depth studies of constants, including their impact on the Java memory model.
- The most thorough discussion of reflection in print, moving far beyond other books 'Hello World' coverage.
- Construction and use of dynamic proxies, in both Java Standard and Enterprise editions.
- Expansive coverage of weak references, including usage patterns and their role in garbage collection and memory management.
'Hardcore Java' is an invaluable addition to every programmer's library, and even the most advanced developers will find themselves moving beyond their own conceptions into truly advanced applications of the language. Thousands of lines of code, heavily commented and easily runnable, illustrate each concept in the book.
Specificaties
Inhoudsopgave
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
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht