Better, Faster, Lighter Java

Voorkant
"O'Reilly Media, Inc.", 28 mei 2004 - 266 pagina's

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.

Vanuit het boek

Inhoudsopgave

The Inevitable Bloat
1
Keep It Simple
17
Do One Thing and Do It Well
36
Strive for Transparency
61
You Are What You Eat
87
Allow for Extension
107
Hibernate
129
Spring
151
Simple Spider
177
Extending jPetStore
204
Where Do We Go from Here?
226
Bibliography
234
Index
237
Copyright

Overige edities - Alles bekijken

Veelvoorkomende woorden en zinsdelen

Populaire passages

Pagina 232 - Beck, Kent. Test-Driven Development. Reading, MA: Addison-Wesley, November 2002. • Bloch, Joshua. Effective Java Programming Language Guide. Reading, MA : AddisonWesley, June 2001. • Fowler, Martin, et al. Refactoring : Improving the Design of Existing Code. Reading, MA: Addison-Wesley, 1999. • Gamma, Richard Helm, Ralph Johnson, and John Vlissides (The Gang of Four). Design Patterns : Elements of Reusable Object-Oriented Software. Reading, MA : Addison-Wesley, 1994. • Hatcher, Erik, and...
Pagina 12 - String getName( ) { return name; public int getCount( ) { return count; public void clear( ) { count = 0; public void increment( ) { count += 1; That's it.
Pagina 214 - Set linksAlreadyFollowed = new HashSet(); HashSet linkPrefixesToFollow = new HashSet(); HashSet linkPrefixesToAvoid = new HashSet(); Every time a link is followed, it gets added to linksAlreadyFollowed.
Pagina 108 - ... attributes of the subject matter. Also, notice that cartography has disappeared as that peculiar object it seems now to be in geography — a mystical touchstone almost completely ignored methodologically by all schools of geographic thought — and emerges in a central position. V. SPATIAL PREDICTION Inventor's paradox. The more ambitious plan may have more chances of success.
Pagina 141 - A complete description of the entire configuration is beyond the scope of this book, but you can find out about each parameter in the excellent Hibernate documentation.
Pagina 162 - DataAccessException { return (Product) getSqlMapTemplate( ).executeOueryForObject("getProduct", productld); } O public List searchProductList(String keywords) throws DataAccessException { Object parameterObject = new ProductSearch(keywords); return getSqlMapTemplate( ).executeOueryForList("searchProductList", parameterObject); /* Inner Classes */ Example 8-6.

Bibliografische gegevens