Today’s lightweight Java frameworks liberate you from traditional EJBs, allowing you to work with “Plain Old Java Objects.” Even Sun’s official EJB 3.0 buys into the new paradigm. Ultimately, it’s an easier way to work, but very different. POJOs in Action is your start-to-finish guide to making it happen.
Chris Richardson begins by reviewing the key differences between POJO design and “old-style” EJB 2 design. You’ll walk through a sample application, reviewing key design issues and trade-offs (and considering your technology choices, too). Richardson systematically introduces one well-proven approach to POJO design, in which business logic is implemented through an object-oriented domain model, then presents other valid design alternatives. There’s also a full section on database issues, ranging from search screens to database concurrency.
Whether you plan to use Spring, Hibernate, JDO, iBATIS, or EJB 3.0 itself, this book’s just what the doctor ordered. Bill Camarda, from the March 2006 Read Only