| JavaRanch A solid, valuable and easy-to-read work.
The standard platform for enterprise application development has been EJB but the difficulties of working with it caused it to become unpopular. They also gave rise to lightweight technologies such as Hibernate, Spring, JDO, iBATIS and others, all of which allow the developer to work directly with the simpler POJOs. Now EJB version 3 solves the problems that gave EJB 2 a black eye-it too works with POJOs. POJOs in Action describes the new, easier ways to develop enterprise Java applications. It describes how to make key design decisions when developing business logic using POJOs, including how to organize and encapsulate the business logic, access the database, manage transactions, and handle database concurrency. This book is a new-generation Java applications guide: it enables readers to successfully build lightweight applications that are easier to develop, test, and maintain.
Writing this book has been an “interesting” experience, to put it mildly. It has occupied all of my spare time for so long that I’ve worn out my desk chair and occasionally I’m surprised that I have three children instead of two. (When did that happen?) Along the way I’ve learned a lot. I’ve been challenged to think hard about what works and what doesn’t. I hope that in this book you will find simpler and faster ways to develop your enterprise Java applications.
POJOs in Action is a practical guide to using POJOs and lightweight frameworks to develop the back-end logic of enterprise Java applications. These technologies are important because they dramatically simplify how you build an application’s business and persistence tiers. This book covers key lightweight frameworks: Spring, JDO, Hibernate, and iBATIS. It also covers EJB 3, which embraces POJOs and some of the characteristics of lightweight frameworks.
In this book you will learn how to apply test-driven development and object design to enterprise Java applications. It illustrates how to develop with POJOs and lightweight frameworks using realistic use cases from a single example application that is used throughout the book. It even implements the same use case using multiple approaches so that you can see the essential differences between them.
A key message of POJOs in Action is that every technology has both benefits and drawbacks. This book will teach you when to use—and when not to use—each of the frameworks. For example, although the emphasis is on the Spring framework and POJOs, this book also describes when it makes sense to use EJBs. It explains when to use an object-oriented design and an object/relational mapping (ORM) framework and when to use a procedural design and SQL directly. This sets POJOs in Action apart from many other books that blindly advocate the use of their favorite framework. |