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: Hibernatea persistence framework that does its job with a minimal API and gets out of the way, and Springa 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 ideasoften unorthodoxto 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.
|Publisher:||O'Reilly Media, Incorporated|
|Product dimensions:||7.00(w) x 9.19(h) x 0.66(d)|
About the Author
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
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 trashheap 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 worksas a consultant through his company Relevance, LLC in addition to teaching for DevelopMentor.
Table of Contents
- Chapter 1: The Inevitable Bloat
- Chapter 2: Keep It Simple
- Chapter 3: Do One Thing, and Do It Well
- Chapter 4: Strive for Transparency
- Chapter 5: You Are What You Eat
- Chapter 6: Allow for Extension
- Chapter 7: Hibernate
- Chapter 8: Spring
- Chapter 9: Simple Spider
- Chapter 10: Extending jPetStore
- Chapter 11: Where Do We Go from Here?
- Chapter 12: Bibliography
Most Helpful Customer Reviews
Well, here is something different. This book talks frankly and it explicitly contradicts scads of other books on Java. The authors' basic message is that Java and other constructs and standards like XML, J2EE, EJB and Web Services, have grown too bulky. That often, these, or affiliated design patterns, can lead you into a cul-de-sac of complicated and slow code. I don't agree with everything they said, but much of their book may touch a chord in you. Most of their ire is devoted to EJB; especially entity beans, which they consider totally useless. For MDB and stateless session beans, they suggest these are best used when you typically have transactions across a distribute database. In general, the EJB code is too verbose. Conceptual clutter. And to avoid this, you may end up dependent on a developer framework that autogenerates some source code. Plus, most executables using EJBs end up being too slow. This complaint echoes what many others have complained about for years. On a related theme, the authors suggest Web Services are too heavy. Designed by committee and very complex. Before anyone has had extensive experience with a successful version. Not unlike how EJB and CORBA came about. In general, they recommend that you choose the simplest tools and frameworks you can find. Stay with these as long as you can. And take with caution the siren songs of vendors claiming better tools.