CARVIEW |
Better, Faster, Lighter Java
- By
- Bruce A. Tate, Justin Gehtland
- Publisher:
- O'Reilly Media
- Released:
- May 2004
- Pages:
- 264
In Better, Faster, Lighter Java, authors Bruce Tate and Justin Gehtland argue that the old heavyweight architectures, such as WebLogic, JBoss, and WebSphere, are unwieldy, complicated, and contribute to slow and buggy application code. As an alternative, the authors present two "lightweight" open source architectures, Hibernate and Spring, that can help you create enterprise applications that are easier to maintain, write, and debug, and are ultimately much faster.
Sometimes the simplest answer is the best. Many Enterprise Java developers, accustomed to dealing with Java's spiraling complexity, have fallen into the habit of choosing overly complicated solutions to problems when simpler options are available. Building server applications with "heavyweight" Java-based architectures, such as WebLogic, JBoss, and WebSphere, can be costly and cumbersome. When you've reached the point where you spend more time writing code to support your chosen framework than to solve your actual problems, it's time to think in terms of simplicity.
In Better, Faster, Lighter Java, authors Bruce Tate and Justin Gehtland argue that the old heavyweight architectures are unwieldy, complicated, and contribute to slow and buggy application code. As an alternative means for building better applications, the authors present two "lightweight" open source architectures: Hibernate--a persistence framework that does its job with a minimal API and gets out of the way, and Spring--a container that's not invasive, heavy or complicated.
Hibernate and Spring are designed to be fairly simple to learn and use, and place reasonable demands on system resources. Better, Faster, Lighter Java shows you how they can help you create enterprise applications that are easier to maintain, write, and debug, and are ultimately much faster.
Written for intermediate to advanced Java developers, Better, Faster, Lighter Java, offers fresh ideas--often unorthodox--to help you rethink the way you work, and techniques and principles you'll use to build simpler applications. You'll learn to spend more time on what's important. When you're finished with this book, you'll find that your Java is better, faster, and lighter than ever before.
-
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
-
Bruce A. Tate
Bruce Tate is a kayaker, mountain biker, and father of two. In his spare time, he is an independent consultant in Austin, Texas. In 2001, he founded J2Life, LLC, a consulting firm that specializes in Java persistence frameworks and lightweight development methods. His customers have included FedEx, Great West Life, TheServerSide, and BEA. He speaks at conferences and Java user's groups around the nation. Before striking out on his own, Bruce spent thirteen years at IBM working on database technologies, object-oriented infrastructure and Java. He was recruited away from IBM to help start the client services practice in an Austin start up called Pervado Systems. He later served a brief stent as CTO of IronGrid, which built nimble Java performance tools. Bruce is the author of four books, including best-selling Bitter Java.
First rule of kayak: When in doubt, paddle like Hell
-
Justin Gehtland
Working as a professional programmer, instructor, speaker and pundit since 1992, Justin Gehtland has developed real-world applications using VB, COM, .NET, Java, Perl and a slew of obscure technologies since relegated to the trash heap of technical history. His focus has historically been on "connected" applications, which of course has led him down the COM+, ASP/ASP.NET and JSP roads.
Justin is the co-author of Effective Visual Basic (Addison Wesley, 2001) and Windows Forms Programming in Visual Basic .NET (Addison Wesley, 2003). He is currently the regular Agility columnist on The Server Side .NET, and works as a consultant through his company Relevance, LLC in addition to teaching for DevelopMentor.
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.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |