EJB 3 in Action
Second edition of this book is now available

Debu Panda, Reza Rahman, Derek Lane

April 2007 | 712 pages | B&W
ISBN: 9781933988344

$44.99 pBook + eBook (includes PDF, ePub, and Kindle)
$35.99 eBook only (includes PDF, ePub, and Kindle)
Browse all our mobile format eBooks.


 Look Inside Resources Downloads


EJB 2 is widely used but it comes at a cost—procedural, redundant code. EJB 3 is a different animal. By adopting a POJO programming model and Java 5 annotations, it dramatically simplifies enterprise development. A cool new feature, its Java Persistence API, creates a standard for object-relational mapping. You can use it for any Java application, whether inside or outside the EJB container. With EJB 3 you will create true object-oriented applications that are easy to write, maintain and extend.

EJB 3 in Action is a fast-paced tutorial for both novice and experienced Java developers. It will help you learn EJB 3 and the JPA quickly and easily. This comprehensive, entirely new EJB 3 book starts with a tour of the EJB 3 landscape. It then moves quickly into core topics like building business logic with session and message-driven beans. You'll find four full chapters on the JPA along with practical code samples, design patterns, performance tuning tips, and best practices for building and deploying scalable applications.


“There are enough examples to keep you busy trying it yourself on your favorite container, as well as the downloadable application which is used throughout the book. There are also chapters about interoperability with EJB2, about using EJB3 with the Spring framework, well enough to satisfy the most curious and avid developers. All in all, the authors have made a fantastic job keeping the reader focused and entertained.”
 —Christophe Verre, JavaRanch Book Review Team

“The authors managed to accomplish a rare feat, producing a volume that is detailed and comprehensive enough for those just joining the ranks of enterprise Java developers, while containing a sufficient amount of advanced material to keep the interest of those of us with two major EJB specifications behind us. It provides a rock-solid foundation to EJB. If you are planning on using EJB3 or even migrating your existing EJB 2 applications, I would highly recommend this book. 5 Stars.”

One Minute Review of EJB 3 in Action from javalobby.org

Written with wide audience in mind
Accessible to the EJB newbies
Informative for those with prior EJB experience
Not just recitation of EJB specification - a lot of practical advice
Light, humorous, accessible style of writing
All the concepts are illustrated with examples

“If you are planning on using EJB3 or even migrating your existing EJB 2 applications, I would highly recommend this book.”

“... this technical book is surprisingly entertaining.”
 —King Y. Wang, Oracle Canada

“... well written, easy, and fun.”
 —Patrick Dennis, Management Dynamics Inc.

“... this is the [EJB] book to read. Don't miss its practical advice!”
 —Jeanne Boyarsky JavaRanch.com

“Great book—covers everything relating to EJB 3.0.”
 —Awais Bajwa, Expert Group Member JSR 243 Java Data Objects

What's Inside

About the Authors

Debu Panda is a Lead Product Manager of the Oracle Application Server development team, where he drives development of the Java EE container. He has more than 15 years of experience in the IT industry and has published numerous articles on enterprise Java technologies in several magazines and has presented at many conferences. His J2EE-focused weblog can be found at debupanda.com.

Reza Rahman is an architect with Tripod Technologies, an IT solutions company focusing on Java EE in the Baltimore-NYC corridor. Reza has been working with Java as a language and Java EE as a platform since their inception in the mid-nineties. He has worked with both Enterprise Java Beans and open source tools like Spring and Hibernate, developing enterprise systems in the software, consulting, financial, Telecommunications, and manufacturing industries.

Derek Lane is the CTO of Semantra, Inc. He has worn various hats in his career including mentor, coach, architect, manager, developer, trainer, methodologist, and resident open source zealot. Lane is a contributor to projects of various shape and size as author, presenter, and technical reviewer. Lane is the founder of both the Oklahoma City Java User Group (OKCJUG) and the Dallas/Fort Worth, Texas MicroJava User Group; and has been active as a member, presenter, and mentor for over a decade at various technology user groups across the Midwest and Southern U.S.