By Kathy Sierra, Bert Bates
First Edition
October 2003
Pages: 734
Series: Head First
ISBN 10: 0-596-00571-7 |
ISBN 13: 9780596005719
![]()
![]()
![]()
![]()
(Average of 25 Customer Reviews)
With Head First EJB, you'll learn not just what the technology *is*, but more importantly, *why* it is, and what it is and isn't good for. You'll learn tricks and tips for EJB development, along with tricks and tips for passing this latest, very challenging Sun Certified Business Component Developer (SCBCD) exam. You'll learn how to think like a server. You'll learn how to think like a bean. And because this is a Head First book, you'll learn how to think about thinking... And nobody knows the certification like they do --they're co-developers of Sun's actual exam!
Full Description
- Component-based and role-based development
- The architecture of EJB, distributed programming with RMI
- Developing and Deploying an EJB application
- The Client View of a Session and Entity bean
- The Session Bean Lifecycle and Component Contract
- The Entity bean Lifecycle and Component Contract
- Container-managed Persistence (CMP)
- Container-managed Relationships (CMR)
- EJB-QL
- Transactions
- Security
- EJB Exceptions
- The Deployment Descriptor
- The Enterprise Bean Environment in JNDI
- Programming Restrictions and Portability
Register your book | Submit Errata | Examples | The 'Sharpen Your Pencil' Answers
Browse within this book
Cover | Table of Contents | Index | Sample Chapter
Book details
First Edition: October 2003
Series:
Head First
ISBN: 0-596-00571-7
Pages: 734
Average Customer Reviews: ![]()
![]()
![]()
![]()
(Based on 25 Reviews)
Featured customer reviews
EJB 2.0 Spec is Outdated!, April 15 2008
Gosh, outdated 5 years after it was released? Who'd have thought...
Even if the exam isn't current any longer there are still many applications using EJB2 and thus many people having to maintain those applications.
For them this is still an excellent book.
It's not perfect. IMO it's a bit too specific to the implementation of Sun's appserver, but given the original purpose of the authors that can't hardly be held against it.
EJB 2.0 Spec is Outdated!, February 23 2008
This is a handy get your feet wet book to the EJB world. There were numerous typos/errata instances, which made me wonder, at times, if they were in a rush to get this thing out. I wish they had a book that covered the EJB 3.0 spec released almost 2 years ago! The SCBCD people state the following: Please note that Sun will discontinue purchase of this exam effective February 29, 2008. They are referring to the exam regarding the EJB 2.0 specification. If I had it to do over again, purchasing this (http://www.oreilly.com/catalog/9781933988344/index.html) or this (http://www.oreilly.com/catalog/entjbeans5/index.html) seems like a better/safe choice, since 3.0 should be simple enough to learn without the Head First experience.
Overrated, September 11 2007
After having read about the Head First books on the internet, I felt that it would be most appropriate to buy Head First EJB and Head First Servlets & JSP since I wanted to learn some Java EE.
However, I ended up spending more time reading the different specifications (which was a good thing), in order to verify and clarify the things in the books.
The books are full of errors (take a look at the errata for this book, for instance) and though there are aspirations to thoroughly explain things, with many illustrations (which is good), I were left with the feeling wondering if the authors themselves had really understood what they were trying to teach.
With a solid reasoning and less errors, the style of the book wouldn't have bothered me. Now it seems like more effort was put into the aesthetics, rather than the contents. With this in mind, the style soon becomes tiring.
Another significant drawback is the fact that this book is not available in electronic form - quite old-fashioned and very annoying when wanting to do some reading while "on the road".
Excellent learning, July 30 2007
Made learning EJBs an interesting affair....who'd have thought that was possible :) I benefited hugely reading this book when I didn't know much about EJBs...and when you're reading this book (or any book from this series) ...you feel like the book can read your mind and explain anything that bothers you at the right time. I'll buy every book these guys write. Huge fan!! :))
Simple adventures, May 17 2007
This book is simply great and adventures, I have great time reading this book, I just have the concern that this book is based on EJB 2.0. I would like to request the Orielly to update this book as per the latest version.
j2ee RI? what to use in today's tools?, April 09 2007
Hi all,
I like the HEAD FIRST series.
HOwever, I am having a problem finding what RI is(I guess an J2EE app server, but I can't find it on the net to download).
Or even when I compile my 2 interfaces and AdviceBean class I get 8 errors, package javax.ejb does not exist, EJBObject, SessionBean, SessionContext....
What am I doing wrong here? I have tried installing earlier versions of SDK and J2EE versions but problems are still there.
ANy help would be appreciated.
Head First EJB, March 12 2007
Undoubtedly the best book published by Oreilly !!!
The way the book is written is simply unbelievable.
The concepts of EJB are fixed in your brain by those pics and comments.
Great Job !!! This book is at least 5 times as good as Richard Monson Haefel's book. Period.
Fantastic, February 04 2007
Head First is arguably the best of O'Reilly book series. With an easy, colloquial language and image-based examples and explanations, it makes simple to understand the almost understandable EJB 2.0. technology.
I own the EJB, Java and Design Patterns books and I'm very satisfied. The only "but" maybe would be the time they're taking to publish an EJB 3.0 edition.
waiting for an updated edition?, January 27 2007
Submitted by Anonymous Reader [Respond | View]
I love the "Head First"-series, but considering this book was published in 2003 and a lost has change since then (Java 5, EJB3), I'm anticipating an updated edition of this book. Any chance there will be one coming out any time soon?
can someone give me the RI 1.3 download url?, September 14 2006
Design Pattern, April 17 2006
It is just a wonder, It is just a miricle, Thank Orielly, Expect some more books on Java technology which follow the same pattren as this book, I despriatly need this way for learning UML.
Thanks once again
Amit
Need to upgrade this book, March 15 2006
main concern at the moment: It needs to be updated. Now Java 1.5 is up and nobody is using 1.3 anymore.
So this is my request to O'Reilly, please update this book.
can someone give me the RI 1.3 download url?, November 26 2005
Submitted by Anonymous Reader [Respond | View]
ok - i worked it out
can someone give me the RI 1.3 download url?, November 25 2005
Submitted by neil [Respond | View]
ok .. this book is getting on in years and needs a revised edition ... or ... perhaps ''m too old for this stuff and i'm losing my mind .. i say this because try as i might i cannot find the *** 1.3 *** reference implementation of the appserver on the sun site .. the autthors emphasis 1.3 ...
forget a head start , i encountered a few false starts ...:
yeah i thought i found it a few times only to be directed to ** 1.4 ** on the link ..
please help thanks
EJB, November 23 2005
Submitted by Anonymous Reader [Respond | View]
The book is really good and interesting to read
EJB, August 24 2005
I am a beginer in EJB and found this series really perfect for a beginer.
Where is the integration of EJB with Servlet and JSP !!!!!, February 23 2005
I was inspired by Head First Servlet and JSP book and bought this book, its a good one but again lacks real life exapmle and code and again i need to buy one EJB book for reference after i finish reading this book, one more thing which i was expecting in this book is to have a chapter on how to intergrate EJB with Servlet and Jsp stuff. Which is missing in this book.BUT any way its a good one for beginners like ME.
Best book in the market!, July 06 2004
Best book in the market for the SCBCD exam! Useful for beginners and experienced EJB developers. Congratulations to O'Reilly for providing such a stimulating reading experience. Looking forward to your forthcoming 'Head First' book on Design Patterns and UML.
Get a Grip.....This book is the genuine article for learning!, April 16 2004
I just purchased this book a couple of days ago and after reading the reviews, I am shocked. I know that not everyone will agree to this style of learning, but I feel that the authors present the material in such a way it makes it fun to learn. I also feel, not only do the authors know their Java material, but their knowledge on teaching techniques are progressive and cutting edge.
Are we afraid to step outside the norm? What is normal?...Anyways, sit down, get a sense of humor, and read the book from cover to cover. My "Advice Bean" to all the negative people is if you can't laugh at this subject matter in the way it is presented and you are most likely working in this field, then find another line of work.
Sincerely,
Scott D. Barrish
Head First EJB Review, March 25 2004
I simply like this book. some of the reviews here say that the book contains a lot of unnecessary pics and humor, well thats what the book claims to be, in the beginning I too felt that way, but for a complex (and boring) concept like EJB figures and humor are essential otherwise it would be another spec.
I didnt happen to read Head First Java, I am SCJP, I think Ill get HFJava still.
Head First EJB Review, March 09 2004
The book is presented in a child like manner, lots of silly pictures and irrelavant waffle. What you need is a good technical introduction to ejb after a basic no nonsense introuduction like the 'ejb in 21 days' book or some other.
DO NOT buy this book if you are hoping for a study guide! It is totally innapropriate as it is simply too full of distractions and needless 'humour??' And do not buy this book if you only intend buying the 1 book! If you do, you will need another.
Read through a chapter in a bookshop before you purchase, you will see what I mean. </P
Andles Jurgen
Head First EJB Review, March 08 2004
Are we allowed to write negative reviews here? Let's find out...
I am a big fan of the O'Reilly Definitive Guide series and did not hesitate to purchase the HeadFirst EJB book with little more than a glance. I am a beginner EJB user and looking to get my certification.
However, HeadFirst EJB presents its information with so much "noise" that I spend half my time separating the wheat from the chaff. Kathy and Bert clearly know their stuff. But the book is riddled with silly pictures, scrawls, and oblique textuals that I found it hard to determine what useful information was being presented. It feels more like "The Complete Idiot's Guide to EJB" than a proper study text.
A case in point is pages 8-9. Here, we see a series of 9 people in various garb with thought balloons. The purpose of the diagram is to show what is going on behind the scenes of an EJB transaction. Each person gets a label like "Client" or "Bean Pool". Their thought balloons say such things as "Uh, yeah, put the broker bean on the pone i need to make a trade NOW" and "Hey I went last time, so one of you can go now...". This particular presentation was confusing to me and offered no value over a traditional diagram.
It's one thing to offer some humor in a technical treatment, but there is such a thing as too much. And HeadFirst EJB goes too far.
The book is still useful - it offers mini-quizzes highlighting each chapter. And it walks you by the hand through the command-line and deploytool GUI. I will continue to use it to study for the exam.
But I wont buy another HeadFirst book.
Head First EJB Review, December 21 2003
When I read "Head First Java" by the same author I thought, it is
just impossible to write another book (that too on EJB) in that
lucid way. But now they have left us amazed by this even more lovable
book.
The Head First Books are now acting like something necessary (MUST) on
every topic. I wish I were a child, so that I could learn every thing
the HF way.
Wish Kathy and Bert, all the best for their future HF Projects.
Head First EJB Review, December 08 2003
The book's subtitle is "Passing the Sun Certified Business Component Developer Exam". Since I haven't taken the exam or prepped for it, I'm not qualified to speak on whether this book would really help you to pass the exam. What I can comment on is the style of the book and the breadth of its coverage. The book takes a dry subject and livens it up with "eye candy", which includes "handwritten" notes, puzzles, graphics, drawings, cartoons, and diagrams. Most of the time you are not reading text but pictures! This format holds your attention longer than narrative and aids in recall of what you've "read".
This book covers all the different types of beans used in EJB development. It also covers JNDI, remote vs. local, and home interfaces and objects. It even covers EJB-QL.
I recommend you make this book your first introduction to EJBs. Then move on to a more advanced book that will have a complete EJB application. The graphics in <u>Head First EJB</U> will help you "picture" what is going on from the client perspective, the server perspective, and within the container. Knowing this is crucial to understanding EJB development. The pictures in the architectural overview section are particularly worthy.
Another section that will give your EJB developer life an easy start is the section on a bean's environment. This section covers the deployment descriptor. Even if most of us use XDoclet to generate the DD, it is still nice to be able to read the DD and understand what it is telling us.
After you've programmed EJBs for a while, I recommend you return to this book for your study for the Business Component Developer certification. The book takes the "Sun speak" for the exam objectives and turns them into simple explanations so that you can understand what it is you really need to know. And each chapter ends with mock exam questions to help you test yourself. Plus the book has a 70 question final mock exam to take after you have read 636 pages.
This book claims not to be a reference book. But I certainly think you'd come back to this book again and again to look up a quick explanation of how something works. Much development is "trial by fire" and we use something (perhaps through a tool such as XDoclet) without really understanding its fundamentals. When you have time, you can read excerpts from this book to get the fundamentals.
Head First EJB Review, November 27 2003
Thanks to Kathy & Bert.
I passed the exam SCBCD with 94%. Really this "HF EJB" Rocks!
I completed reading this book in 10 days and revised it in 1 day
by just seeing pictures,Imp the Big letters,TV box comments,Bean cartoons,especially bullet points,UML diagrams,... Really this book helps for SCBCD exam..
Thanks,
Basavaraj Devershetty
-----------------------
Sun Certified Enterprise Architect For J2EE
Sun Certified Business Component Developer for J2EE 1.3
Sun Certified Web Component Developer for the J2EE Platform
Sun Certified Programmer for the Java 2 Platform 1.4
IBM WebSphere Application Server, Advanced Single Server Edition for Multiplatforms, V4.0
Head First EJB Review, November 24 2003
FINALLY - a Java book written the way I would'a wrote it if I were me.
Seriously though - this book absolutely blows away every other software book I've ever read (except for maybe Bruce Eckle's).
I'd like to comment on why I think this book is so effective. The visuals, interesting style and tone, the constant change of pace... all that is obvious. But the most unique thing about this book is the fact that the authors took the "learner's natural path of development" into account, and catered to it. For example, almost as soon as a question pops into your mind... they recognize and address it! Contrast this with the more typical approach, which is to first drown the reader in enterprise buzzwords and abstract concepts (so that you know how smart the author is... and how dumb you are!), then on page 500 get down to something a little bit practical (and don't explain it too much, just give some examples and claim the reader should be able to figure it out for himself). I never understood this kind of writing. Even if the reader has the capability to survive such an exercise... who has the time? And who wants to WASTE the time, when more efficient techniques could have been choosen.
Now back to Head First EJB. Each issue is reviewed several times (if it's complexity warrants), and each time the issue is addressed, it's from a different angle. This prompts the reader to actually think about the subject matter rather than just memorizing. Often I'm surprised at not understanding something that I really already understand, simply because it's presented from a different point of view the second time around. But this only deepens my understanding of the issue!
A good book is very difficult to write. Not only do you have to have a deep understanding of the technology, you also have to take a lot of time to make things unfold in a natural, "reader oriented" sequence. It's a lot of work. Most authors clearly aren't up to the challenge. Congratulations to the Head First EJB team for a first class job!
P.S. When is Head First J2EE architect coming out! And Head First Web Component Developer! And how can I make my VCR record a football game while I'm at work?
Head First EJB Review, November 14 2003
Astoundingly enjoyable book on this complex, involved body of knowledge.
As a Professor at Purdue University, specializing in advanced software development using Java-based technologies, I am always on the lookout for motivational background materials that provide comprehensive subject matter examination while at the same time does not put students to sleep. "Head First EJB" overwhelmingly fits the bill ! Books like this are extremely rare.
I have added this book as one of the required texts for future offerings of my advanced undergraduate "Enterprise Application Development" course
Kudos to the authors; Keep up the great work !
Head First EJB Review, November 03 2003
Really loved Head First Java. I couldn't wait for the next in the series to come out so I grabbed a copy as soon as I could. I'm sure it will help me learn Business Components as readily as Head First Java helped me learn Java but, on a less serious note, I'm disappointed there aren't any animals pictures in this one! Just a lot of people and the same retro pictures. For the third in the series, how 'bout some more hippo pictures......
Head First EJB Review, October 04 2003
As a Advance Placement Teacher for Java, I reviewd so many different books for java. The sad part about them, is that they dont make learning fun at all. This book does!!!My class enjoys the book so far, they have progressed farther then the other class using a different book!!! Good show
O'Reilly!!!
Media reviews
"Stop whatever is you are doing, run to your nearest Borders and buy this book. Don t bother [buying it online], as you'll have to wait a day or two even with express shipping. Trust me when I tell you that you want this book in your sweaty little palms NOW."
--Shiloh Morris, Nevada Java Users Group, June 2004
"[This was] the first time I've ever enjoyed reading a book on EJBs. I didn't think it was possible to be entertained by a book on EJBs, but this book did. (I think what won me over was the two page behind the EJB scenes graphics on pages 8 and 9. Any book that make me laugh about EJB is some kind of miracle.)"
--Burningbird.net, April 2004
http://weblog.burningbird.net/fires/anniversaryparty/extreme_oreilly.htm
"'HFE' is direct, to the point and drives the concept straight in to the brain. This book employs engaging common sense techniques to teach, which unfortunately is not so common. It marks the beginning of a new style of writing tech books, the way they were meant to be written. This book achieves what it claims to achieve, and clearly states what it does not achieve. Although casual, the content is coherent, precise, conspicuous, and lucid."
--Monal Daxini, Utah Java User Group, February 2004
http://www.ujug.org/rev-ejb.html
"Kathy and Bert strike again with their wacky ways. They'll approach a topic in just about any method they can think of to make you learn this stuff and they can think of a lot."
--Matthew Phillips, JavaRanch, December 2003
http://www.javaranch.com/bunkhouse/JavaBeans.jsp






