The Assayer: Enterprise JavaBeans, 3rd Edition Workbooks The Assayer - book reviews and discussion for the free-information renaissance
home    help    links    log in    log out    add or review a book    contact
Browse by    subject    author    title    reviewer

Enterprise JavaBeans, 3rd Edition Workbooks

AuthorsKyle Brown, Greg Nyberg Entered2002-12-17 03:31:22 by objectwiz
Editedit data record FreedomCopyrighted, doesn't cost money to read, but otherwise not free (disclaimer)
SubjectQ.A - Mathematics. Computer science (programming languages)
This link was reported to be OK by user norbert on 2004-04-29 06:17:58
You can't update this URL or report it OK or broken because you aren't logged in.
ReviewYou can't add a review of this book right now because you're not logged in.
Enterprise JavaBeans, 3rd Edition Workbooks - WebLogic and WebSphere
by objectwiz on 2002-12-17 03:35:41, review #229
better than 90%
better than 80%
Enterprise JavaBeans(TM) (EJB3rd) has arguably become the de facto standard for those wishing to explore the often complex world of one of the Java 2 Enterprise Edition's (J2EE) more complex components. Richard Monson-Haefal has done a good job with that book trying to cover not only the basic APIs that make up J2EE but also to introduce some of the design decisions that go towards the creation of an architecture involving EJB. (For more information on this aspect, I have found Building Java Enterprise Applications - also from O'reilly - to be a good read though you may have trouble downloading a full set of examples).

J2EE is designed to be "portable" as much as Java is portable. In this sense, the comprehensive examples in EJB3rd should be enough for all of us to take to our chosen application server and get up and running. In reality, the J2EE application servers have some way to go before they can be truly portable and many have subtle differences that, while conforming to the specification, require some rework of the EJBs. In particular, platform-specific deployment descriptors are (usually) required and these differ with each application server.

To address this problem, O'reilly have published several companion books for EJB3rd. The workbooks provide the examples for the following application servers:

- WebLogic Server 6.1 Workbook and Examples (Covers EJB 2.0)

- WebSphere 4.0 AEs Workbook and Examples (Covers EJB 1.1)

- JBoss 3.0 Workbook and Examples (Beta)

- J2EE 1.3 SDK Workbook and Examples (Covers EJB 2.0)

I have taken a detailed look at the two workbooks that cover the market leading application servers (in no particular order), WebLogic and WebSphere.

The general format of the books in similar and very welcome for the new user who wants to learn EJB (and an application server) by trying the EJB3rd examples. Assuming only that you have a machine capable of running the application servers, each book walks you through a step by step install of the evaluation versions of the software (N.B. the evaluation versions last for 30 days). In the case of WebSphere where a separate database is required, the workbook walks through the installation and setup of the free DB2 personal edition.

Note ====

DB2 Download URL doesn't work ... replace:

with a trip to:

and follow the "Download" link.

Even although the installation instructions were aimed at Microsoft Windows(TM) users, I managed to follow along with them on my Linux box without any problems to end up with two application servers that were configured adequately for my example-running needs.

When the details of the application server specific examples and their deployment is gone into, the workbooks (obviously) become more different. They are also different in size with the WebSphere workbook coming in at 147 pages and the WebLogin workbook coming in at 233 pages (with equal prices). This is, at least in part, a reflection of the application servers. WebSphere is very GUI driven and so there is no requirement to work through its deployment descriptor format whereas WebLogic applications can be deployed entirely from a JAR file and so has its own deployment descriptor format. Both books walk through each application's installation process thoroughly though they progressively give a little less information as a growing familiarity is assumed.

There is little flannel is these workbooks and every page is given over to useful information. If you are someone who has never written EJBs before, I would certainly recommend that you use which ever workbook you prefer in conjunction with EJB3rd, although you may consider this to be a rather expensive option. I have found though that there is another, perhaps better, use for the books. If you are already familiar with EJB, these books can provide an excellent tutorial on how to configure complex EJB-based applications on your application server of choice from start to finish in a clear and concise manor. For the EJB programmer who wishes to add a new application server to his/her repetoire, these workbooks are a good way of getting to grips with how different application server provide the same functionality and provide an opportunity to help you get to grips with there respective administrative interfaces.

In conclusion then, I would recommend the use of these books for either the beginner - in conjunction with EJB3rd - or for the accomplished user who wishes to get up to speed quickly with a new application server. If you are worried about the price .. fear not! These two workbooks are freely available on the web in PDF form!! What are you waiting for :-)

PDF, code and other workbook listings are available at:

This review has been revised. Earlier versions (viewing not yet implemented): -1
You cannot revise or reply to this post because you are not logged in.

The contents of this web page, except the parts contributed by members of The Assayer, are copyright (c) 2000 by Benjamin Crowell, and are copyleft licensed under the Open Publication License 1.0, without options A or B.