Most Helpful Customer Reviews
8 of 8 people found the following review helpful:
4.0 out of 5 stars
Get your POJO workin', December 2, 2006
This review is from: POJOs in Action: Developing Enterprise Applications with Lightweight Frameworks (Paperback)
This book covers the use of several lightweight frameworks for developing enterprise applications. If you have no clue at all about the issues involved in enterprise Java, I would not advise reading this yet. Despite being C#-based, Applying Domain-Driven Design and Patterns by Jimmy Nilsson would provide the gentle introduction required. On the other hand, if you've had previous experience with server side programming, and want to be brought up to speed quickly on how POJO-based frameworks can be used to replace EJB 2.x style development, this is right up your alley. If you've got used to computer books belying their dimensions with disappointingly little information, you'll be pleasantly surprised with PiA - it's packed with good content.
What's nice about this book is that it goes beyond the basics of the likes of Spring that most people have read several times already (e.g. explaining what dependency injection is) and actually shows how it obviates the need to run in an EJB container and do JNDI look ups. You don't just get to read about, e.g. lazy and eager loading, the author shows you how to use Hibernate and JDO to implement those strategies. That said, this book is not a replacement for documentation or specialised references, so it doesn't get too bogged down. Particularly helpful is that the author provides pros and cons for each of the different approaches he advocates, which helps put them into perspective.
The focus of the book is on using Object Relational Mapping tools, either Hibernate or JDO, in combination with Spring's dependency injection and AOP-based interceptors for transactions. There is also converage of the more procedural-based iBATIS, and using EJB3, although the author does not seem to be a big fan of the latter, despite it being an improvement on EJB2. Many of the persistence-related patterns in Martin Fowler's Patterns of Enterprise Application Architecture are covered here, including the concurrency patterns like pessimistic and optimistic locking. The author shows how to implement these patterns with the frameworks, often showing multiple ways of doing things. He's not afraid to highlight where one framework is lacking compared to another, which is refreshing.
As you can perhaps tell, the coverage is predominantly devoted to the persistence layer - there's not much here on the presentation layer, although there is some material on using servlets. If you're looking for lots of detail on how to hook your domain model up to, say, Struts, or one of the many other web frameworks, you won't find much here.
My only quibble with the book is that although the author pushes increased testability as a important benefit of freeing oneself from EJB containers (a good thing) and uses JUnit tests to illustrate how to develop a POJO-based application (another good thing), the tests use mock objects heavily. I hesitate to call that a bad thing, as clearly there's a whole bunch of people who are much cleverer than I using them productively, but here there's so much set up and setting of expectations, that the actual test is hard to spot, and the intention difficult to fathom. Your mileage may of course vary.
If you're neither an enterprise dummy nor expect, I wholeheartedly recommend this excellent book.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
9 of 10 people found the following review helpful:
5.0 out of 5 stars
He Writes with an air of Experience, March 21, 2006
This review is from: POJOs in Action: Developing Enterprise Applications with Lightweight Frameworks (Paperback)
It seems that the Java community has been so fast in developing new tools to assist in system development that it's hard to keep track. In fact, it almost seems that you could spend virtually all your working time on just reading the big thick manuals that each new development seems to require. And then when you want some guidence on which took you should use on any particular project you are faced with an almost religious ferver as to this one vs. that one.
This book is a practical guide to using the new lightweight frameworks with POJO's (Plain Old Java Objects). It gives you an overview of Hibernate, JDO and Spring. More important, is that it defines the features of each with relation to the others. That in, for this kind of thing use this one, and for that kind of thing, use that one.
It's clear that Mr. Richardson has used these programs to develop real applications and he shares his knowledge well.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
8 of 9 people found the following review helpful:
5.0 out of 5 stars
POJOs, the Revolution, February 15, 2006
This review is from: POJOs in Action: Developing Enterprise Applications with Lightweight Frameworks (Paperback)
I interviewed a candidate about four months ago who was recommended as an effective programmer and problem-solver. Unfortunately, although this appeared to be true, the candidate had not kept up-to-date with the movement to "lighter," more testable designs, and hadn't read a Java book since Alur's Core J2EE Patterns. The candidate wasn't hired, but because of his apparent interest in learning about the technologies we were using (Spring, Hibernate), I later mailed him a copy of Rod Johnson's Expert One-on-One J2EE Development without EJB.
If the same thing happened today, I would unreservedly send POJOs In Action.
Chris Richardson tackles a very difficult task, surveying an entire movement rather than just a single framework or standard. In my opinion he succeeds wonderfully. Because of the experience and sound judgment that informs his analysis, the result is a trustworthy guide to what is still fairly wild territory. There are without doubt omissions in his coverage, and experienced readers will notice them. I don't consider these complaints significant, because in my opinion they misunderstand the intended audience of this book.
I'm not sure exactly how this book will find its way to its correct audience (working software developers who DON'T know Spring, Hibernate, and/or Domain-Driven Design), but really I hope it does. Chris' text is engaging, confident, well-reasoned, and compelling. Hopefully it will help a whole cadre of developers come up to speed quickly.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
|