Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Enterprise JavaBeans [Paperback]

Richard Monson-Haefel
4.0 out of 5 stars  See all reviews (30 customer reviews)

Available from these sellers.


Amazon Price New from Used from
Paperback CDN $47.50  
Paperback, Sept. 28 2001 --  
There is a newer edition of this item:
Enterprise JavaBeans 3.1 Enterprise JavaBeans 3.1
CDN$ 36.33
In Stock.
Join Amazon Student in Canada

Book Description

Sept. 28 2001 0596002262 978-0596002268 Third Edition

Enterprise JavaBeans was recently voted "Best Java Book" by the editors and readers of Java Developer's Journal. Readers of JavaPro named it the "Best Java Book for Experts." And Amazon.com included it in the Top Computer Books for 2000. Now the best only gets better! In the new 3rd edition, Enterprise JavaBeans has been completely revised and updated with a thorough introduction to the new 2.0 version of the EJB specification. Significantly different from the earlier version, the 2.0 specification introduces three dramatic improvements: A completely new version of container-managed persistence; local interfaces; and a totally new kind of bean called the "message driven bean."The new version of container-managed persistence (CMP) beans in 2.0 is more portable and robust than in the older 1.1 version. Most significant is the introduction of the relationship fields, which allow entity beans to declare relationships with each other as natural references. In order to make this huge leap in component relationships possible, EJB 2.0 had to redesign how entity beans are defined and interact. Our new 3rd edition examines this critical CMP model in detail.Local interfaces are thoroughly discussed as well. Local interfaces allow beans that are co-located to interact without the overhead of remote method calls. This improves the performance of beans considerably and complements the CMP relationship fields.Message driven beans are a new kind of enterprise bean based on asynchronous messaging and the Java Message service (JMS). Instead of responding to Java RMI calls, message driven beans process JMS messages sent by messaging clients. An entire chapter is devoted to message-driven beans and how to use them effectively.In addition, the 3rd edition contains an architecture overview, information on resource management and primary services, design strategies, and XML deployment descriptors.

Special Offers and Product Promotions

  • Join Amazon Student in Canada

Customers Who Bought This Item Also Bought

Product Details

Product Description

From Amazon

Thoroughly enhanced for the EJB 1.1 specification, Enterprise JavaBeans, 2nd Edition provides a great introduction to the world of server-side Java components. With plenty of material on EJB architecture and design, this new edition can serve as an authoritative resource for mastering today's bean standards.

Besides a general introduction to EJBs, the new edition of this book excels at highlighting the differences between the EJB 1.0 and 1.1 standards. Sample code is provided for both versions. For deployment, EJB 1.1 now relies on XML to define all bean resources and dependencies. For every sample bean, the author provides the XML, as well as the old-style Java code for EJB 1.0. There's also plenty of coverage of the new reliance on JNDI (the Java directory service) in EJB 1.1 and other late-breaking Sun standards, such as combining EJBs with servlets and JSPs for delivering dynamic Web content.

This text is organized as a tutorial to the major types of EJBs with full coverage of entity beans (for accessing databases) and session beans (for managing "conversations" with particular clients). The author covers all the bases here with numerous diagrams describing the life cycle of beans and how they cooperate with today's application servers. As in the first edition, sample beans for a cruise ship booking application let you see actual EJB code in action. Helpful appendices list all EJB APIs and other useful information (such as a list of current EJB vendors).

In all, the revised edition of Enterprise JavaBeans shows off the considerable strengths of the new EJB 1.1 standard. Suitable for any working Java programmer or IT manager, the clear presentation of the strategies and techniques for successful component design help make this book a smart choice for successful development with EJBs. --Richard Dragan

Topics covered: Overview of Enterprise JavaBeans (EJBs) v. 1.1 and 1.0, distributed objects, Component Transaction Monitors (CTMs), application servers and EJBs, resource management, EJB server setup, entity beans, session beans and workflow, the JNDI naming service, the life cycle of beans, container-managed and bean-managed persistence for entity beans, stateful and stateless session beans, deploying beans in JAR files (EJB 1.1 and 1.0 conventions), XML deployment descriptors, transaction basics (ACID properties and JTS), EJB security, design strategies and performance tips for EJBs, Java 2 Enterprise Edition (J2EE) and EJBs, servlets and JSPs used with EJBs, sample beans, state and sequence diagrams for EJBs, and EJB API reference. --This text refers to an alternate Paperback edition.


All in all this book is a definite asset to anyone wanting to master EJB. -- Mike London, Chain Management, Jan 2001

An excellent introduction to the subject of EB. -- Reuven M.Lerner, Linux Magazine, Jan 2001

Monson-Haefel has done an excellent job with this book. He provides clear and precise examples with an added bonus, each chapter and example builds upon itself. -- Columbia Java Users Group

WOW! Being just vaguely familiar with the EJB specification. I was looking for a good introduction with some decent examples. This book has provided both. -- Columbia Java Users Group

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

Most helpful customer reviews
3.0 out of 5 stars Not for beginners... Jan. 7 2004
This is a very well designed and written book covering EJB technology in a complete and in-depth manner. There's a quick intro to the subject, and then the rest of the book builds on that knowledge in tutorial fashion. You will build a cruise reservation system using beans, and in the process you'll learn a lot. It does assume that you have a solid foundation in Java skills before you dive in, so don't get this book unless you're already well on your way to learning Java. It's not for beginners.
Another very nice feature is the companion workbook that you can buy for this book. It translates many of the exercises into more specific instructions for running them on the Websphere platform. This is an extremely valuable addition to the learning process. All too often, a writer has to assume a certain platform or system to be able to cover the material. If you also use that same system, you're OK. If you're not using what the author had, then there can be a translation process that can be frustrating at times. Having a workbook focused on your specific platform will speed up the learning and avoid the hassles involved in debugging your errors.
If you're a Domino developer just getting into Java and J2EE technology, hold off on this book. While you may well get to this point in your career sometime in the future, it will be of little use to you right now. There isn't much that is applicable to the pure Domino world, and you'll need to be very well grounded in the Websphere world before this will start to gel for you.
I would recommend this book to a good Java developer needing to learn EJB technology for their jobs. It's very complete and comprehensive. If you're just trying to get started in Java, this book is still aways off for you. I was pretty well lost through most of it, so I need to come back to it in a year or so once I have some more experience.
Was this review helpful to you?
3.0 out of 5 stars upside-down May 27 2003
Ok, let me start by saying that the author of this book is indeed well prepared and able to go into detail in his explanations. If you are really interested in programming with EJB this is one of the books you should check, despite its many flaws.. The first three chapter make
a fully successful attempt to protect the mysteries of J2EE from
profane eyes by putting a deep sleep spell on the reader.
If you survive it you will probably find yourself wondering about the order in which the story is told...
First a hurried example involving a session bean collaborating with an entity bean, then one chapter on the client side (which of course you need to understand how the heck you could have tested the beans just developed), then entity beans get presented again but this time in more detail.. only you get to know first the CMP flavour (which is the more complicated) and the BMP flavour after, totally against what common sense would advice. Then you go into session beans, which , being simpler than entities should have been presented before..and how about a chapter 16 on deployment descriptors? They are the configuration files you need to deploy ANY EJB and you explain them at the end of the book? The impression is this author would be much better if he stopped thinking by compartments
and trying to make things appear much more difficult and deep than what they actually are. Also, the workbooks with the exercises for this text are a joke. You will be presented with
canned code and a few ant scripts to execute, compile, build
deploy and run the code. Very kewl but if you know what you are doing you can do it yourself and if you don't .. well clicking on a few batch files or executing ant scipts won't teach you much I can assure you..
Was this review helpful to you?
5.0 out of 5 stars A great way to get started Nov. 25 2002
If you want to learn about Enterprise JavaBeans, this book is a great place to start. The author begins by explaining the basic concepts around Enterprise JavaBeans such as distributed objects, business objects, components transaction monitors, and asynchronous messages. He does in such a way that developers from a variety of backgrounds can relate to the concepts (e.g. a mainframe programmer relating to CICS as transaction monitor).
The first three chapters builds on these fundamental concepts to create an understanding of the architecture and the attraction of Enterprise JavaBeans. The idea that you can develop these server-side components and expect them to work in any EJB-compliant Component Transaction Monitor is a great incentive to dig deeper. By chapter four, the author is creating components. They don't do much, but they are enhanced and new ones created throughout the rest of the book. The remainder of the book covers Container Managed Persistence, Bean Managed Persistence, Session Beans, Message-Driven Beans (new in EJB 2.0), Transactions, Design Strategies, Deployment Descriptors, and J2EE. Where the EJB 1.1 spec differs from EJB 2.0, the book shows explains how to manage each one.
This book expects the reader to have solid knowledge of Java and enterprise level development. The examples in the book are not always the full code listing. There are example workbooks that can be downloaded from the book website. While the applications are portable, the way that they are managed differs. I suggest that you have your preferred EJB server working before beginning the book and work along with the examples. Additionally, there are numerous diagrams to assist you in grasping the concepts. If you need to do EJBs, get this book.
Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
1.0 out of 5 stars Horribly Writen, useless information
I buy discount software books whenever I can, and I picked this up for 8 or 9 bucks somewhere. Man, what a waste. Read more
Published on May 27 2004
5.0 out of 5 stars great!!!
This book was my first exposure to EJB/J2EE and I have found it to be very helpfull. I have read it from cover to cover and I am about to use the knowledge I obtained to rewrite... Read more
Published on March 23 2004 by Barry Strain
2.0 out of 5 stars The bible of EJB???
In the Bible it says that it took Moses forty years to guide his followers from Egypt to Israel. Considering that the distance is a mere hundreds of kilometers, it makes you wonder... Read more
Published on Dec 29 2003 by Chris P.
3.0 out of 5 stars waste of pages
I just started to read this book from the very beginning as an intro book for EJB. The first chapter is like an overview of the component model architecture. Read more
Published on Oct. 1 2003
5.0 out of 5 stars Has been a great help
I have used this book for some time and I still have a good impression on the book. I refer it in my day to day work. Read more
Published on Sept. 19 2003 by "bobree"
4.0 out of 5 stars Nice book hard to come by
All in all, this book is very well written, especially if compared to other books in similar titles. Concepts are explained concisely and no extra irrelevant materials covered. Read more
Published on Aug. 4 2003 by Book Reader
4.0 out of 5 stars Very Good
The book is in good condition, time of delivered aceptable.
Published on May 22 2003 by MANUEL ESPINOZA
2.0 out of 5 stars not your first book on EJB
Ahi, ahi, forget about getting this book if you know nothing about EJB: it would be a big waste of time. Get it if you already know about EJB and you want to go over it again. Read more
Published on May 10 2003 by Max C.
4.0 out of 5 stars Not a good beginners choise
I bought this book to learn EJB for a class and it is a difficult book to read. The author has a good understanding of the topic but the style is fairly dry and does not have... Read more
Published on March 3 2003 by Amazon Customer
1.0 out of 5 stars Poorly written
Unlike other O'Reilly titles, found this one to be extremely poorly written - too verbose and yet imprecise! Read more
Published on Jan. 31 2003 by Prasad A. Chodavarapu
Search Customer Reviews
Only search this product's reviews

Look for similar items by category