Musings in real time

Tags - Categories : All | Art | Books | Family | Hacks | Java | JavaRanch | Linux | Philosophy

I just got to read an advance copy of Beginning POJOs: From Novice to Professional, the new book by Brian Sam-Bodden. My review follows.

Missourians -- residents of the "Show Me State" -- are sure to appreciate this unusual book on lightweight Java development with "Plain Old Java Objects." In a fast-paced 10 chapters, Brian Sam-Bodden builds a single complete application, all the way through. Believe it or else, he starts with a detailed design, then talks about fundamental tools like Eclipse and Ant, and before you know it he's implemented the persistence and business tiers. Screenshots and detailed instructions will help you get your environment installed and set up in no time.

The first five chapters of the book are astonishingly linear as the application is developed to this point, with each technology choice presented as a fait accompli. In this day of political correctness and cultural relativism, many authors bend over backwards to consider all the alternatives to every decision they make, and I felt that Sam-Bodden's approach was incredibly refreshing. Eclipse, Ant, Hibernate, EJB3 on JBoss. Take it or leave it.

I was therefore almost disappointed when, in Chapters 6 and 7, he considers several different alternative implementations of the business and presentation tiers. Still, showing how to use Tapestry and especially Spring offsets the raised eyebrows some of you might have on hearing that a book on POJOs was advocating using EJBs -- even though the radically reworked EJB3 specification does indeed let you use Plain Old Java Objects to implement the business layer.

From this point, the book gets more conventional, with the traditional tacked-on chapter about testing that nevertheless asks you to do testing as an integral part of development.

Although some of the technology choices and development approaches may stretch your personal definition of the term "lightweight," this is still the best book on end-to-end development of modern enterprise applications that I've seen. If you have a hint of the Missourian in you, and you'd like someone to show you how things are done, this book was written with you in mind.


Ernest, Hi, this is Brian, the author. I wanted to address your comment about chapters 6 and 7. Chapter 6, is about the Spring Framework and I was compelled to include it in the book since most of my day to day development is now Spring based (or EJB3 based) (...not that the publisher wasn't pushing for it ;-). Chapter 7, Tapestry is not an alternate choice but was and is my #1 choice of web application framework in Java. I did cover SpringMVC lightly in Chapter 6 (which might have led you to believe that chapter 7 was just another way to do things, chapter positions got rearrange many times during editing) but I wanted to make clear that in this book the main web framework covered is Tapestry. I also understand your feelings about the "typical" testing chapter but it was a vehicle to introduce TestNG (which I think is a testing framework worth looking at), DbUnit (which has been covered before) and EasyMock (for which I cover the latest, annotation based version). Thanks for the fair and balanced review.


Add a comment

Title
Body
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
Math Quiz 3 + 10 = (Helps stop blog spam)
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

TrackBack to http://radio.javaranch.com/ejfried/addTrackBack.action?entry=1143227582145