EJB 3 in Action
by Debu Panda; Reza Rahman; Derek Lane
JBoss at Work: A Practical Guide, 1st Edition
by Tom Marrs; Scott Davis
Enterprise JavaBeans 3.0, 5th Edition
by Richard Monson-Haefel; Bill Burke
EJB 3 in Action
by Debu Panda; Reza Rahman; Derek Lane
Head First EJB™
by Kathy Sierra; Bert Bates
Enterprise JavaBeans, 3rd Edition
by Richard Monson-Haefel
Enterprise JavaBeans (versions 1.1 and 1.0) is an important technology for server-side application development in Java. It offers a component architecture for developing distributed, multitiered enterprise applications. This model allows you to build complex, mission-critical systems using simple snap-together pieces that model individual business objects and processes. Enterprise JavaBeans (EJB) greatly simplifies the process of development by automatically taking care of system issues like object persistence and transaction management. This book provides a thorough introduction to EJB 1.1 and 1.0 for the enterprise software developer. It shows you how to develop enterprise Beans to model your business objects and processes. One powerful advantage of the EJB architecture is that it allows you to partition work appropriately between different parts of the system: the database provides persistence, your Beans model various business entities and the interactions between them, and your client application provides a user interface, but incorporates minimal business logic. The end result is a highly flexible system built from components that can easily be reused, and that can be changed to suit your needs without upsetting other parts of the system. Enterprise JavaBeans, 2nd Edition teaches you how to take advantage of the flexibility and simplicity that this powerful new architecture provides. This book covers:
Enterprise JavaBeans 1.1 and 1.0
Developing entity Beans and session Beans
XML Deployment Descriptors
Using the client-side API to use enterprise Beans
Transaction Management
Design Strategies
Introduction to J2EE
Average Amazon.com® Rating: ![]()
![]()
![]()
![]()
Based on 140 Ratings
A very frustrating read... Big disappointment - 2009-06-05
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I didn't count'em, but there's like 50 mistakes in the example code
very unprofessional
apart from that, the book is ok
it's a shame though
because I paid good money for it and
I would expect someone to revise the code thoroughly before going to print
after all... it's a programming book!
If you buy this book, don't expect a masterpiece
----------------------------------------------------
In regards to the technical errors...
halfway through the book, it was disappointing
then they're annoying,
by the end of the book it was just sad
I'll give just one of many examples, just to illustrate:
"Only session beans and message-driven beans that define
a javax.ejb.TransactionManagementType of Bean
using the @javax.ejb.TransactionManager annotation
can manage their own transactions."
... later in that same page (388):
[...]
...you won't know which is which unless you go to the API!
Like I said, it's just disappointing, annoying and sad.
It was around chapter 17, when I started wondering:
"Where this guys drinking while they were reviewing the code?"
Mistakes in the last chapter were just plain insulting:
"Figure 21-7. Stateless version of ReservationManager"
is the stateful version! Jesus Christ!
Who edited this book!
Not even the index got away clean (p. 708):
"builing and deplying example programs, 538"
and this is O'Reilly
Good reference book .. Not for learning the basics - 2008-09-30
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I started reading this book with a basic understanding of EJB 3.0. But the book does not keep you interested in the topic. I found the reference manual more interesting. I use this as a reference book.
Everything EJB - 2008-08-29
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This book covers almost everything related to EJBs in their new reincarnation. Its author have rightfully chosen to scrap any information concerning EJB 2.1. This is the right path to take as the new 3.X standard is so radically different (read much more useful) from the earlier versions.
The book starts out with a fairly detailed introduction to JPA 1.0 persistence mappings, entity relations and inheritance. It then moves on to covering session beans, interceptors, JAX-WS/RPC, the JNDI ENC and JTA.
This is a massive amount of stuff and still the author manages to convey its primary use, pitfalls and corner cases in an engaging technical style. So from a topical point of view you get what you pay for (and then some). The book is however not without some problems. First of all it contains some annoying errors, like:
1) In the interceptor chapter, the author fails to inform you that EJB interceptors are only used on direct invocations. That is if you put a interceptor on EJB A and inject it into EJB B, then delegated method invocations on EJB A from B are not intercepted. This is annoying at best, and at worst it could be considered an enormous flaw in the EJB spec.
2) Some JPA information is just plain wrong (like the use of named parameters in native queries). Most of these errors can be traced back to the fact that the author uses Hibernate which indeed supports this non-standard functionality. While understandable, it does confuse you some when confronted with strange errors in other containers
Many other errors exists and this book badly needs a review from some of the other EJB/JPA spec members, preferably someone not involved with the JBoss container. Another and more grave problem is the fact that the book presents most technologies as separate entities, and thereby you fail to see the complete picture. I really miss a complete real life EJB applications including:
1) Security (propagation of client role to the server (i.e. getCallerPrincipal)).
2) Interceptors (for logging and security).
3) Use of EJBs from a web application.
4) Testing of EJBs (best practices for easy unit testing).
5) Packaging and compiling (these days you cannot write a JEE book without a complete Maven sample)
This might sound like allot of grief, but I still choose to give the book four stars from the simple fact that it is complete, contains allot of useful samples (like the .NET SOAP application client) and manages to make many hard topics easy to understand.
In general a well written and useful book with a heap of information, written in a pragmatic style without to much fluff.
overrated - 2009-11-30
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
bought this book based on the previous review only to be disappointed, this is far from a being a 5 star book or even 3, you will need to read and re-read the chapter to get the point because the author mseems to be rehearsing his knowledge to himself. lack of grahics, full of redundent text, you get the point ....
Great EJB3 Book! You will be greatly pleased with your purchase. - 2008-06-28
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This is a great introduction to EJBs in general, and now EJB3. (the JSR 220 standard) Just like EJBs are now easier to develop with version 3, so is it easy to read and study this book. I hold O'Reilly in a high regard, (doesn't mean I'm a fan boy though, they do have their share of bad apples) and their high standards show in the quality of writing in this book. You will be happy with your purchase.
Top Level Categories:
Internet/Online
Programming
Sub-Categories:
Internet/Online > Java Beans
Programming > Java
Java > JavaBeans
Some information on this page was provided using data from Amazon.com®. View at Amazon >