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.


Formats

Amazon Price New from Used from
Paperback CDN $47.16  
Paperback, Sept. 25 2001 --  
There is a newer edition of this item:
Enterprise JavaBeans 3.1 Enterprise JavaBeans 3.1
CDN$ 36.33
In Stock.

Book Description

Sept. 25 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.


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.

Review

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
1.0 out of 5 stars Horribly Writen, useless information May 28 2004
By A Customer
Format:Paperback
I buy discount software books whenever I can, and I picked this up for 8 or 9 bucks somewhere. Man, what a waste. I learned more about EJB from SUN's website and from reading on the internet. The examples were useless, and the chapters were disjointed.
Was this review helpful to you?
5.0 out of 5 stars great!!! March 23 2004
Format:Paperback
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 our existing thick client to a JBoss client/server.
I strongly recommend this book.
Was this review helpful to you?
3.0 out of 5 stars Not for beginners... Jan. 7 2004
Format:Paperback
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.
Conclusion
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?
2.0 out of 5 stars The bible of EJB??? Dec 29 2003
Format:Paperback
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 why it took so long. But had the author been the guide, they would still be lost in the wilderness. Simple concepts are wrapped in layers of repetitive explanations until they are barely recognizable. The fact that entity beans are stored in database and session ones are not is repeated at nauseam. Chapters are dedicated where a few sentences would be more beneficial. The author believes that if it is worth saying once it is worth saying twice (and thrice, etc.). One of the reviewers said that it is kind of "get in anywhere" book Yes, the concepts are redefined so many times that it takes less time to read on to find the next rephrasing of the definition that to bother with the index. On the plus side we learn that Anne Manes coined the phrase "Component Transaction Monitor", and where she works now.
Was this review helpful to you?
3.0 out of 5 stars waste of pages Oct. 1 2003
By A Customer
Format:Paperback
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. The author repeats the same ideas couple of times, except using differnt wordings. When my spare time is very limited, I would rather pay twice or three-times of the price if the author would cut off half of the length but still convey the same amount of info(which is not too difficult to do if readers' time was really put into consideration). Unfortunately this lengthiness(or selling by pages) seems to be a pretty popular pattern with most IT books nowadays anyway.
Was this review helpful to you?
5.0 out of 5 stars Has been a great help Sept. 19 2003
Format:Paperback
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. I admit this book cant be used solely as the only guide especially for newbie but it serve as a good complement with other guides.
Was this review helpful to you?
4.0 out of 5 stars Nice book hard to come by Aug. 4 2003
By N. Wang
Format:Paperback
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. That said, it still can be improved in two areas:
1. This book is very useful if you read it together with the companion wookbooks. The book I read was for weblogic, which, unfortunately, was kind of out dated. It took a while to get the first example up and running. After that, the rest is quite smooth.
2. The later part of the book, starting from chapter 12, seems to be done more in a rush. Even the writing style was kind of different from earlier chapters. Also there were quite some repetitions that probably could be omitted and replaced with more elaboration and examples of the topics.
Was this review helpful to you?
3.0 out of 5 stars upside-down May 27 2003
Format:Paperback
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?
Want to see more reviews on this item?
ARRAY(0xac04848c)

Look for similar items by category


Feedback