+612 9045 4394
Hardcore Java : OREILLY - Robert Simmons

Hardcore Java



Published: 21st March 2004
Ships: 7 to 10 business days
7 to 10 business days
RRP $79.99

eBook View Product

Published: 9th February 2009
Format: ePUB

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.

"Hardcore Java will help even the most advanced developers move beyond their own limited understanding about Java into truly advanced applications of the language. That transformation of a developer from an intermediate-level programmer to a true guru is the goal of this book which distills years of experience into a cincise but generous compendium of java guru expertise. It reveals the difficult and rarely understood secrets of the language that true master programmers need to know." Industrial Networking and Open Control, June

Prefacep. ix
Java in Reviewp. 1
Core Conceptsp. 1
Syntax Issuesp. 6
Access Issuesp. 32
Common Mistakesp. 38
The Final Storyp. 43
Final Constantsp. 43
Final Variablesp. 49
Final Parametersp. 53
Final Collectionsp. 56
Instance-Scoped Variablesp. 60
Final Classesp. 63
Final Methodsp. 65
Conditional Compilationp. 66
Using final as a Coding Standardp. 73
Immutable Typesp. 74
Fundamentalsp. 74
Immutable Problemsp. 80
Immutable or Notp. 83
Collectionsp. 84
Collection Conceptsp. 84
Implementationsp. 88
Choosing a Collection Typep. 102
Iterating Collectionsp. 103
Collection Gotchasp. 105
Exceptional Codep. 112
Two Types of Exceptionsp. 112
When to Use Exceptionsp. 119
Finally for Closurep. 122
Exceptional Trapsp. 124
Nested Classesp. 131
Inner Classesp. 131
Limited-Scope Inner Classesp. 136
Static Nested Classesp. 146
Double Nested Classesp. 147
Nested Classes in Interfaces?p. 149
Nested Interfacesp. 149
Nested Class Rulesp. 150
All About Constantsp. 152
Substitution Constantsp. 152
Bit Fieldsp. 159
Option Constantsp. 164
Constant Objectsp. 168
Constant Encapsulationp. 179
Data Modelingp. 183
The Requirements Documentp. 184
Natural Language Modelingp. 186
Aspects of Well-Designed Data Modelsp. 192
Reusable Data Constraintsp. 201
Persistencep. 212
Practical Reflectionp. 217
The Basicsp. 218
Reflection and Greater Reflectionp. 222
Applying Reflection to MutableObjectp. 227
Performance of Reflectionp. 233
Reflection + JUnit = Stable Codep. 235
Proxiesp. 240
What Is a Proxy?p. 240
Two Kinds of Proxiesp. 246
Proxy Gotchasp. 256
References in Four Flavorsp. 257
The Problemp. 257
Java Reference Conceptsp. 260
The Java Reference Classesp. 267
Practical Applicationsp. 270
A Weak Listenerp. 275
When to Use Referencesp. 276
Tiger: JDK 1.5p. 278
New Language Featuresp. 278
Genericsp. 293
Other Improvements in Tigerp. 315
Indexp. 317
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9780596005689
ISBN-10: 0596005687
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 325
Published: 21st March 2004
Publisher: O'Reilly Media, Inc, USA
Country of Publication: US
Dimensions (cm): 23.3 x 18.1  x 2.54
Weight (kg): 0.55