Hardcore Java: Secrets of the Java Masters

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.
1100341035
Hardcore Java: Secrets of the Java Masters

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.
31.99 In Stock
Hardcore Java: Secrets of the Java Masters

Hardcore Java: Secrets of the Java Masters

by Jr Robert Simmons
Hardcore Java: Secrets of the Java Masters

Hardcore Java: Secrets of the Java Masters

by Jr Robert Simmons

eBook

$31.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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.

Product Details

ISBN-13: 9780596552442
Publisher: O'Reilly Media, Incorporated
Publication date: 03/11/2004
Sold by: Barnes & Noble
Format: eBook
Pages: 348
File size: 2 MB

About the Author

Robert Simmons, Jr. started programming when floppy disks were really floppy and 64 kilobytes of RAM was considered state of the art. From his early days of programming BASIC and Logo on an Apple IIe, he advanced through Pascal and C to arrive in the object oriented realm of C++. When Java first came out, he knew that the infant language would become a serious player amongst corporations; Robert learned
Java and began using it as his primary language for programming in
1997. Although Robert is American, he lives and works as a Senior
Software Architect in Germany.

Table of Contents

Prefaceix
1.Java in Review1
Core Concepts1
Syntax Issues6
Access Issues32
Common Mistakes38
2.The Final Story43
Final Constants43
Final Variables49
Final Parameters53
Final Collections56
Instance-Scoped Variables60
Final Classes63
Final Methods65
Conditional Compilation66
Using final as a Coding Standard73
3.Immutable Types74
Fundamentals74
Immutable Problems80
Immutable or Not83
4.Collections84
Collection Concepts84
Implementations88
Choosing a Collection Type102
Iterating Collections103
Collection Gotchas105
5.Exceptional Code112
Two Types of Exceptions112
When to Use Exceptions119
Finally for Closure122
Exceptional Traps124
6.Nested Classes131
Inner Classes131
Limited-Scope Inner Classes136
Static Nested Classes146
Double Nested Classes147
Nested Classes in Interfaces?149
Nested Interfaces149
Nested Class Rules150
7.All About Constants152
Substitution Constants152
Bit Fields159
Option Constants164
Constant Objects168
Constant Encapsulation179
8.Data Modeling183
The Requirements Document184
Natural Language Modeling186
Aspects of Well-Designed Data Models192
Reusable Data Constraints201
Persistence212
9.Practical Reflection217
The Basics218
Reflection and Greater Reflection222
Applying Reflection to MutableObject227
Performance of Reflection233
Reflection + JUnit = Stable Code235
10.Proxies240
What Is a Proxy?240
Two Kinds of Proxies246
Proxy Gotchas256
11.References in Four Flavors257
The Problem257
Java Reference Concepts260
The Java Reference Classes267
Practical Applications270
A Weak Listener275
When to Use References276
12.Tiger: JDK 1.5278
New Language Features278
Generics293
Other Improvements in Tiger315
Index317
From the B&N Reads Blog

Customer Reviews