- Shopping Bag ( 0 items )
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 ...
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
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
Posted June 22, 2004
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.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.