or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

POJOs in Action: Developing Enterprise Applications with Lightweight Frameworks [Paperback]

Chris Richardson
4.4 out of 5 stars  See all reviews (31 customer reviews)

List Price: $44.95
Price: $34.53 & FREE Shipping. Details
You Save: $10.42 (23%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Wednesday, May 29? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

January 30, 2006 1932394583 978-1932394580 1

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.


Frequently Bought Together

POJOs in Action: Developing Enterprise Applications with Lightweight Frameworks + Java Persistence with Hibernate
Price for both: $72.99

Buy the selected items together
  • Java Persistence with Hibernate $38.46


Editorial Reviews

Review

A solid, valuable and easy-to-read work. -- JavaRanch

About the Author

Chris Richardson is a developer, architect and mentor with over 20 years of experience. He runs a consulting company that jumpstarts new development projects and helps teams that are frustrated with enterprise Java become more productive and successful. Chris has been a technical leader at a variety of companies including Insignia Solutions and BEA Systems. Chris holds a MA & BA in Computer Science from the University of Cambridge in England. He lives in Oakland, CA.

Product Details

  • Paperback: 456 pages
  • Publisher: Manning Publications; 1 edition (January 30, 2006)
  • Language: English
  • ISBN-10: 1932394583
  • ISBN-13: 978-1932394580
  • Product Dimensions: 7.4 x 1.2 x 9.3 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (31 customer reviews)
  • Amazon Best Sellers Rank: #484,450 in Books (See Top 100 in Books)

Customer Reviews

Once I started reading the book, it was hard for me to put it down. B. S. Meera  |  5 reviewers made a similar statement
I like the IN ACTION series from Manning. Berndt Hamboeck  |  4 reviewers made a similar statement
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
Format: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.
Comment | 
Was this review helpful to you?
10 of 11 people found the following review helpful
5.0 out of 5 stars POJOs, the Revolution February 15, 2006
Format: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.
Comment | 
Was this review helpful to you?
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
Format: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.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars useless book about pojos in context of spring, ejb, hibernate and jdo
the book lightly covers the use of pojo in spring, ejb, hibernate, and jdo. the coverage of each topic is like say 30-40%. Read more
Published 17 months ago by anonymous
5.0 out of 5 stars Learned "Back-End Web Programming" From This Book
This book is a rare find. It is completely practical, teaching you what you need to know to use Spring and Hibernate (or JDO). Read more
Published 22 months ago by doodaddy
5.0 out of 5 stars Great practical resource
Despite the fact that it was written a few years ago, it is no less valuable today in helping developers understand how to create an application architecture using the Domain Model... Read more
Published on December 28, 2009 by Rohit Paul
5.0 out of 5 stars Teach you what POJOs are and how to play with them
I'm a bit late with my rating for this book, to be precise 3 years too late. Nevertheless I leave 5 stars today for it. Read more
Published on April 15, 2009 by Darya Said-Akbari
5.0 out of 5 stars Good design starting point of lightweight J2EE projects
With simple descriptives words and plain-text explanations this book shows many simple but practical ways of designing and implementing j2ee solutions using POJOs with those great... Read more
Published on December 2, 2007 by Wallace Chan
5.0 out of 5 stars Perfect
Got the book alle the way up to ice-cold Norway in no time. The packing was a bit ripped up; probably due to ice-bear attack.
Published on April 15, 2007 by Henrik Solberg
5.0 out of 5 stars Excellent Book
I won't repeat what other reviewers already said.

The book is explains very good how to build enterprise apps using the pojo frameworks like spring, hibernate, jdo. Read more
Published on February 22, 2007 by Ionut L. Ochian
5.0 out of 5 stars Must have book
POJOs in Action describes how POJOs and lightweight frameworks such as Spring, Hibernate, JDO, iBatis make it easier and faster to develop testable and maintainable applications. Read more
Published on January 22, 2007 by B. S. Meera
4.0 out of 5 stars Good overview of Spring, EJB, Hibernate
Honestly I think this book is a little out of date, since the EJB 3.0 spec has come out. The author did go back and change some of the text to acknowledge that the EJB 3. Read more
Published on January 3, 2007 by Hugh Watkins
5.0 out of 5 stars it has 560 pages?
Computer books today can go beyond 500+ pages way too easily, it's hard to understand what these editors are doing:-), for me most books can be reduced to half without loss any... Read more
Published on December 12, 2006 by mingdong he
Search Customer Reviews
Only search this product's reviews




Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category