Tuesday, March 03, 2009

Free ebook download -- POJOs in Action Dec 2005 .pdf

Title: POJOs in Action Dec 2005
Author: Chris Richardson
Format: PDF
Publisher: Manning

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 busi-
ness 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 mul-
tiple 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 map-
ping (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.
  Enterprise  Java  frameworks  are  constantly  evolving.  While  I  was  writing  this
book, all of the frameworks I describe had several releases. EJB 3 appeared, albeit
in draft form. And between the time this book is printed and the time you read it,
some enterprise Java frameworks will have evolved further yet. But the good news
is that this book will remain relevant. POJOs and nonintrusive lightweight frame-
works are here to stay.
 Regardless of how the frameworks evolve, there are some key concepts that will
not  change.  First,  it’s  vital  that  you  objectively  evaluate  the  pros  and  cons  of  a
framework and not be swayed by clever marketing. Second, POJOs and nonintru-
sive frameworks are a good thing. You want to avoid coupling your business logic
to an infrastructure framework, especially if it slows down the edit-compile-debug
cycle. Third, testing is essential. If you don’t write tests, then you can’t be sure that
your application works. And you must be able to write tests, so designing for test-
ability  is  also  important.  Finally,  as  Albert  Einstein  said,  “Everything  should  be
made as simple as possible, but not simpler.”

Download the book: POJOs in Action Dec 2005 .pdf

Tags: ebook, java, pojo, action, pdf