BUY THIS BOOK

Safari Books Online

What is this?

Looking to Reprint this content?

Enterprise JavaBeans, Fourth Edition

By Richard Monson-Haefel, Bill Burke, Sacha Labourey
Fourth Edition  June 2004 
Pages: 788
ISBN 10: 0-596-00530-X | ISBN 13: 9780596005306
starstarstarstarstar (Average of 2 Customer Reviews)

This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.

The latest edition is also available on Safari Books Online.

Book description

This authoritative guide includes everything that made previous editions of Enterprise JavaBeans the single must-have book for EJB developers: the author's solid grasp on the complexities of EJBs; hundreds of clear, practical examples; adept coverage the key concepts EJBs ; and diagrams to illustrate the concepts presented. The fourth edition also includes everything you need to get up to speed quickly on the changes in EJB version 2.1 as well as a JBoss implementation guide.
Full Description

The new 2.1 version of the Enterprise JavaBeans (EJB) spec extends its support for web services and the Java Web Services APIs, expands its asynchronous messaging support, adds XML Schema for deployment descriptors, and introduces a new Timer service, which allows for scheduling EJB jobs. The essential--and award winning--book on EJBs, Enterprise JavaBeans, has been completely revised and updated in this new fourth edition, to provide the real-world, nitty-gritty detail developers need to master EJB 2.1. Previous editions of this clear and engaging introduction to EJBs were voted the "Best Java Book" by the editors and readers of Java Developer's Journal, the "Best Java Book for Experts," by JavaPro editors, and one of the Top Computer Books by Amazon.com. The fourth edition lives up to--and surpasses--the excellent reputation earned by its predecessors. This authoritative and thorough guide includes everything that made previous editions the single must-have book for EJB developers: the authors solid grasp on the complexities of EJBs coupled with his succinct, easy-to-follow style; hundreds of clear, practical examples; adept coverage the key concepts EJBs ; and diagrams to illustrate the concepts presented. It also includes everything you need to get up to speed quickly on the changes wrought by EJB version 2.1, an architecture overview, information on resource management and primary services, design strategies, and XML deployment descriptors. In this edition, we're adding an EJB workbook for JBoss 4.0. The workbook shows how to deploy all of the examples on the JBoss 4.0 application server. It addresses an important problem with EJB: deploying the software on a server can be extremely difficult. JBoss is an open source project that has become the most widely used J2EE application server. Good technical authors may lay the facts before you, but great ones offer the distilled essence of their own experience and insight. Richard Monson-Haefel has provided just what Java developers need to know to harness the complexity of EJBs. What makes Monson-Haefel a master of technical authoring can be seen in his well-thought-out and logical progression of ideas, and in his examples practical, precise, usable examples, large enough to test key concepts but still small enough to be comprehensible taken apart and explained in the detail you need to deploy those principles in other situations. If you work with EJBs--or want to--this book will earn a favored spot on your bookshelf.

Browse within this book

Cover | Table of Contents | Colophon




Featured customer reviews

Write a Review


Some practical problems,  September 18 2005
Rating: StarStarStarStarStar
Submitted by Satish Talim   [Respond | View]

I am trying to run the Entity Bean of Chapter 4 in JBoss and mySQL. I have followed all the instructions given in the book. However instead of titandb-ds.xml I have mysql-ds.xml file. I have created and copied the file jbosscmp-jdbc.xml to the folder src\resources\META-INF This file has <datasource>java:/DefaultDS</datasource>

What changes do I need to do to the file Client_1.java, especially to the statement Object ref = jndiContext.lookup("CabinHomeRemote"); Any other changes?


A good EJB 2.0 and 2.1 book, plus a good JBoss 4 workbook,  May 06 2005
Rating: StarStarStarStarStar
Submitted by mregazzi   [Respond | View]

This book, now at the fourth edition, is very well organized. First of all there is a good introduction to the primary services featured by the J2EE / EJB architecture, so you don't need to have a backgroud about this, but, obviously for every book of this kind, you need a strong know-how in enterprise programming. You cannot start to program in Java just reading this book. The book was written across two release of the EJB specification: the 2.0 and the 2.1 (now we are waiting for the 3.0 with a lot of new characteristics, such as a lighter container) and the author is very efficient in readily signaling differences between the two releases. Moreover the author is always very accurate in details description. Probably, this kind of attention, put the author in the condition of being quite redundant, but I think is tipical of US books (I don't know if this could be a problem, just think the book could be lighter, reading sometimes going work by subway). There is an interesting chapter about design (just an introduction) and another chapter about alternatives, such as Hinernate, and it's a good idea because you always need alternatives and seems that the author is not only an EJB evangelist. Thare is not a bibliography and you need to follow also course, or just read a book, about J2EE/EJB best practices or patterns (I prefer best practices, even if less fashionable) I think that the better idea that this book point out is the embedding of a second book: it includes a workbook that introduce the reader to the JBoss Application Server and helps him in the deployment and execution of the example using JBoss. The workbook is written by two JBoss "masters": they are Bill Burke, (do you know JBoss AOP ?) and Sacha Labourey (what about clustering features in JBoss ?). The two books are simply synchronized.

Read all reviews


Media reviews "This O'Reilly book gives Enterprise JavaBeans (EJB) a new boost...This book is a great reference and instructional text on EJB. This new edition maintains its leadership as a concise discussion of this important area. The newly added JBoss Workbook is an encouraging trend...Recommended."
--Songmuh Jong, Kickstartnews.com, November 2004

Reviews From 3rd Edition:

"...an authoritative and thoughtful guide to EJB. His examples are clear and...very practical. His prose is informative and clear without being too simplistic for more experienced developers. The book excels by peeking beneath the covers and explaining some of the stranger 'features' of EJB while raising very valid concerns about the current inadequacies of EJB 2.0 [such as the almost useless EJB QL]. By raising such issues in a very well known book, hopefully EJB will take notice and be improved. All in all, this is the first book to look at when grokking EJB."
--GameJUG, Feb 2003

Read all reviews

See larger cover