-
Chapter 1 The Inevitable Bloat
-
Bloat Drivers
-
Options
-
Five Principles for Fighting the Bloat
-
Summary
-
-
Chapter 2 Keep It Simple
-
The Value of Simplicity
-
Process and Simplicity
-
Your Safety Net
-
Summary
-
-
Chapter 3 Do One Thing, and Do It Well
-
Understanding the Problem
-
Distilling the Problem
-
Layering Your Architecture
-
Refactoring to Reduce Coupling
-
Summary
-
-
Chapter 4 Strive for Transparency
-
Benefits of Transparency
-
Who's in Control?
-
Alternatives to Transparency
-
Reflection
-
Injecting Code
-
Generating Code
-
Advanced Topics
-
Summary
-
-
Chapter 5 You Are What You Eat
-
Golden Hammers
-
Understanding the Big Picture
-
Considering Technical Requirements
-
Summary
-
-
Chapter 6 Allow for Extension
-
The Basics of Extension
-
Tools for Extension
-
Plug-In Models
-
Who Is the Customer?
-
Summary
-
-
Chapter 7 Hibernate
-
The Lie
-
What Is Hibernate?
-
Using Your Persistent Model
-
Evaluating Hibernate
-
Summary
-
-
Chapter 8 Spring
-
What Is Spring?
-
Pet Store: A Counter-Example
-
The Domain Model
-
Adding Persistence
-
Presentation
-
Summary
-
-
Chapter 9 Simple Spider
-
What Is the Spider?
-
Examining the Requirements
-
Planning for Development
-
The Design
-
The Configuration Service
-
The Crawler/Indexer Service
-
The Search Service
-
The Console Interface
-
The Web Service Interface
-
Extending the Spider
-
-
Chapter 10 Extending jPetStore
-
A Brief Look at the Existing Search Feature
-
Replacing the Controller
-
The User Interface (JSP)
-
Setting Up the Indexer
-
Making Use of the Configuration Service
-
Adding Hibernate
-
Summary
-
-
Chapter 11 Where Do We Go from Here?
-
Technology
-
Process
-
Challenges
-
Conclusion
-
-
Chapter 12 Bibliography
-
Books
-
Referenced Internet Sources
-
Helpful Internet Sources
-
Other References
-
-
Colophon
- Title:
- Better, Faster, Lighter Java
- By:
- Bruce A. Tate, Justin Gehtland
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- May 2004
- Ebook Release:
- February 2009
- Pages:
- 264
- Print ISBN:
- 978-0-596-00676-1
- | ISBN 10:
- 0-596-00676-4
- Ebook ISBN:
- 978-0-596-10478-8
- | ISBN 10:
- 0-596-10478-2
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Better, Faster, Lighter Java is a hummingbird. There are over 300 hummingbird species, all found only in the New World. All these species are easily identifiable by their long, tubular bills and iridescent feathers. The iridescence is a refraction effect that can be seen only when light is shining on the feathers at certain angles. Hummingbirds range in size from the bee hummingbird, which, measuring 2 inches long and weighing less than an ounce, is the smallest of all birds, to the great hummingbird, which measures about 8.5 inches long.
Hummingbirds are so named because of the humming noise made by their rapidly moving wings. On average, hummingbirds flap their wings 50 times a second; some species can flap as many as 200 times per second. The wings are flexible at the shoulder and, unlike most birds, they are propelled on the upstroke as well as the downstroke. Because of this flexibility, hummingbirds can hover, fly right or left, backward, and upside down. Most hummingbirds have tiny feet that are used only for perching, never for walking. Hummingbirds will fly to travel even a few inches.
Hummingbirds expend a great deal of energy, and they need to feed every 10 minutes or so. They feed on nectar, for sugar, and small insects, for protein. Their long, tapered bills enable them to retrieve nectar from even the deepest flower. Pollen accumulates on the head and neck of hummingbirds while they gather nectar. They then transfer this pollen to other flowers and thus play an important role in plant reproduction.
Hummingbirds appear frequently in Native American legends and mythology, often as representatives of the sun. According to some folk beliefs, they can bring love. Since Europeans first spotted these beautiful, colorful little birds, they have often appeared in the art and literature of the Old World, as well. Colleen Gorman was the production editor and the copyeditor for Better, Faster, Lighter Java. Jane Ellin was the proofreader. Matt Hutchinson and Mary Anne Weeks Mayo provided quality control. Johnna VanHoose Dinse wrote the index.
Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary.
