Product Details
EJB 3 in Action

EJB 3 in Action
By Debu Panda, Reza Rahman, Derek Lane

List Price: $44.99
Price: $29.69 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

51 new or used available from $25.68

Average customer review:

Product Description

EJB 3 is the most important innovation introduced in Java EE 5.0. EJB 3 promises to simplify enterprise development, abandoning the heavyweight EJB 2.x model in favor of a lightweight POJO framework. The API represents a lot of hard work, honest introspection, and a fresh perspective on EJB, all without sacrificing the mission of enabling business application developers to create robust, scalable, standards-based solutions.

In the tradition of Manning's In Action series, this book tackles the subject matter head-on, through numerous code samples, real-life scenarios, and illustrations. It is geared toward helping you learn EJB 3 quickly and easily. The authors make the subject matter approachable, covering the basics where needed as well as providing guidance, deep coverage, and best practices. The book highlights what EJB 3 has to offer without disregarding the contributions and strengths of seminal technologies like Spring, Hibernate or TopLink.

What's Inside

* Building Business Logic with POJO Session Beans and Message Driven Beans

* EJB 3 Dependency Injection and Interceptors

* Domain Modeling and Object-Relational Mapping with the EJB 3 Java Persistence API

* Effectively manipulating and retrieving entities, including using the Java Persistence Query Language

* Using EJB 3 from other tiers (such as the web or application client tier) and frameworks such as Spring

* Best practices, performance tuning, and design patterns

* Migrating from EJB 2.x and other POJO frameworks


Product Details

  • Amazon Sales Rank: #88333 in Books
  • Published on: 2007-04-01
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 677 pages

Features


Editorial Reviews

About the Author
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.


Customer Reviews

the ejb book - full of practical examples5
"EJB 3 in Action" manages to be an excellent read for both people new to EJB and people who have been using EJB 2.X. There are side notes throughout about significant changes from EJB 2.X. For larger topics that someone new to EJB 2.X might not know, the topic is covered in the appendix. The examples are interesting and well written, so it isn't boring reading about the purpose of a session bean if you already know it.

What really impressed me were the differences between this book and Sun's J2EE tutorial. The majority of examples used Java 5 syntax (for looping and the like.) This made the examples feel like EJB 3 examples rather than an old book robotically updated. Further, the authors explain when to use a deployment descriptor vs annotations. Sun sticks to the party line and barely mentions the deployment descriptor. The "EJB 3 in Action" approach is much more useful for gaining practical advice.

Best practices are described throughout. The authors don't assume you know Java 5 features and explain them as necessary. All the expected topics are covered. Additionally, there are chapters on Spring integration and migrating from EJB 2.X. The examples are app server agnostic, but they show you how to use one in the appendix. Finally, the appendixes provide an excellent reference for both the annotations and deployment descriptor.

Convincing introduction to EJB34
As many of you, I was and am very skeptical about EJBs. They have complicated the enterprise world and haven't really delivered on their promise. Now there is EJB3. When starting the book, I just had one question: Did they "fixed it". After reading this very convincing book, my tentative answer would be: Yes.

"EJB3 in Action" is an easy to read and easy to understand introduction to EJB3. The book doesn't require you to know too much other topics and starts from the beginning. It starts with giving an overview of everything and then from there moves into the different bean types. From there it'll just in the more advanced topics.

One of the things I really liked about the book is that it really tries to answer the questions which I think much of the readers have. Questions like: Why would I use EJB3, I just stopped using EJBs. Can I combine EJBs with spring and how? These are exactly the type of questions people will want answered.

I'm not a EJB expert at all. However, I found the book easy to read and enjoyable. I've learned a lot from the authors while reading the book. I'd recommend it for everyone who wants to know more about EJB3. Great job!

Everything you ever wanted to know about EJB35
Having struggled with the complexities and problems of EJB 1 and 2 (most java programmers I talked to doing large EJB projects, for example, stay clear from using entity beans), I was really drawn to the advantages of EJB3 as described in the first chapter of "EJB3 in Action". The book's next 2 chapters, in keeping true to the title of the book, provide a whirlwind tour that shows EJB3 in action. I soon became an evangelist for EJB3 recommending it to my work colleagues where we subsequently upgraded to WebLogic 10 with plans to upgrade our java projects from EJB2 to EJB3.

The book is well written and presents an in-depth and thorough discussion of the EJB3 architecture. Of special note is the fact that all java beans in EJB3 are written as POJO's and defined in terms of annotations. I only wish there were a few chapters on how to effectively leverage JUnit (vs. Cactus) to make unit testing easier.

A fair share of the book is devoted to lucidly describing the persistence API and corresponding concepts dealing with object relational mapping that have promised to address and minimize the complexities and performance issues that have discouraged many a java programmer from tackling the entity beans of EJB2/3.

The book also deals with practical issues such as packaging your EJB3 applications, performance tuning, upgrading from EJB2 to EJB3 and exposing EJBs as web services. There is even a chapter devoted to using EJB3 with the Spring framework.

There are plenty of source code examples in the book which you can download online, tailored for Sun's Glassfish application server, as well as those from Oracle and JBoss.

I recommend this book highly for anyone who is considering moving up to EJB3 and wanting a clear, concise and well written book on the topic.