Deliver to your Kindle or other device

Enter a promotion code
or gift card

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Head First EJB [Print Replica] [Kindle Edition]

Bert Bates , Kathy Sierra
4.3 out of 5 stars  See all reviews (78 customer reviews)

Digital List Price: $35.99 What's this?
Print List Price: $44.95
Kindle Price: $25.02
You Save: $19.93 (44%)


Amazon Price New from Used from
Kindle Edition $19.99  
Kindle Edition, September 30, 2011 $25.02  
Paperback $26.34  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

What do Ford Financial, IBM, and Victoria's Secret have in common? Enterprise JavaBeans (EJB). As the industry standard for platform-independent reusable business components, EJB has just become Sun Microsystem's latest developer certification. Whether you want to be certifiable or just want to learn the technology inside and out, Head First EJB will get you there in the least painful way. And with the greatest understanding.

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.

Co-author Kathy Sierra was one of Sun's first employees to teach brave, early adopter customers how to use EJB. She has the scars. But besides dragging you deep into EJB technology, Kathy and Bert will see you through your certification exam, if you decide to go for it. And nobody knows the certification like they do - they're co-developers of Sun's actual exam!

As the second book in the Head First series, Head First EJB follows up the number one best-selling Java book in the US, Head First Java. Find out why reviewers are calling it a revolution in learning tough technical topics, and why Sun Chairman and CEO Scott McNealy says, "Java technology is everywhere...if you develop software and haven't learned Java, it's definitely time to dive in "Head First."

And with Head First book, you don't even have to feel guilty about having fun while you're learning; it's all part of the learning theory. If the latest research in cognitive science, education, and neurobiology suggested that boring, dry, and excruciatingly painful was the best way to learn, we'd have done it. Thankfully, it's been shown that your brain has a sense of style, a sense of humour, and a darn good sense of what it likes and dislikes.

In Head First EJB, you'll learn all about:

  • 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
The book includes over 200 mock exam questions that match the tone, style, difficulty, and topics on the real SCBCD exam. See why Kathy and Bert are responsible for thousands of successful exam-passers--

"The Sun certification exam was certainly no walk in the park, but Kathy's material allowed me to not only pass the exam, but Ace it!"--Mary Whetsel, Sr. Technology Specialist, Application Strategy and Integration, The St. Paul Companies

"Kathy Sierra and Bert Bates are two of the few people in the world who can make complicated things seem damn simple, and as if that isn't enough, they can make boring things seem interesting."--Paul Wheaton, The Trail Boss,

"Who better to write a Java study guide than Kathy Sierra, reigning queen of Java instruction? Kathy Sierra has done it again. Here is a study guide that almost guarantees you a certification!"--James Cubetta, Systems Engineer, SGI

Customers Who Bought This Item Also Bought

Editorial Reviews

About the Author

Kathy Sierra has been a master Java trainer for Sun Microsystems, teaching Sun's instructors how to teach the latest Java technologies. She is the founder of one of the largest java community websites in the world, She is also a key member of the development team for the Sun Certified programmer exam and has developed dozens of applications to demonstrate Java technology. Bert Bates is a 20-year software developer, a Java instructor, and a co-developer of Sun's upcoming EJB exam (Sun Certified Business Component Developer). His background features a long stint in artificial intelligence, with clients like the Weather Channel, A&E Network, Rockwell, and Timken.

Product Details

  • File Size: 51133 KB
  • Print Length: 734 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media (September 30, 2011)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • Text-to-Speech: Not enabled
  • X-Ray:
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #1,090,827 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

Customer Reviews

Most Helpful Customer Reviews
54 of 58 people found the following review helpful
5.0 out of 5 stars they did it again November 12, 2003
Format:Paperback|Verified Purchase
I passed my programmer's exam because i studied the other wonderful book produced by these two authors; sun's certified programmer book. It helps me to code better too. The certification definitely helps me to become a very competent java programmer.
Having passed the first exam, I started studying for my SCWCD exam. But then after working with Jakarta Struts for a while, I don't know whether it's worth while to take the SCWCD exam. I surely hate the JSP snippets, it makes JSP pages unmaintainable. So, I seriously do not know how SCWCD will help me to do my job better. Dilemma! Dilemma! We're not in college anymore; hence anything we learn should be worth the money, time, and effort.
That's my humble opinion.
Hence, i turn my attention to this book; I skimmed through it for the first couple of days and realize that this is the certification that I shoud pursue next; SCBCD instead of SCWCD. I look beyond the certification; the ability to program EJB to do a better job. Having intrinsic reasons to do something, for example learning the subject for the sake of the knowledge and implementation, is far better than having a piece of paper that says you are certified.
I started reading the book and i honestly just cannot put it down. So far, the items covered in this book make a lot of sense to me; in terms of how i can use them to write better codes and design better EJB. I am a visual learner. Thus, the graphics in this book really enhance and expedite my learning process. When I read them, I understand the concepts instantly! Plus, they're funny. It makes the learning process very fun! Make sure you have some notebook and draw/sketch the important concepts. They help understand some complex points presented.
Read more ›
Comment | 
Was this review helpful to you?
15 of 15 people found the following review helpful
5.0 out of 5 stars Great style August 27, 2005
The authors take a complex subject and make it understandable through an interesting set of didactics - they have different ways (like posing questions and giving answers in a conversational style; using metaphors, etc.) of presenting material to enhance understanding.

The most complex part of the subject is entity beans whose methods are inconsistent with stateless session beans of the same name. I think after reading the book one needs to rethink even using entity beans for anything because of the overhead and complexity. I would really be concerned about performance so testing a vertical slice would be a necessity.

The real question at this time is whether you should learn and get involved with EJB 2 at all - since EJB 3 is destined to completely simplify the whole process - eliminate the home interface, ejb component objects, etc.

Using POJOs (Plain Old Java Objects) to accomplish the same task is the strategy of the new light, non-J2EE standards based frameworks such as Spring. It's anticipated that EJB 3 will be very Spring like - whether they hide all the EJB 2 details under the covers or re-architect the whole framework (and hopefully get Spring like performance). There is also the whole notion (and nightmare) of testing your bean using separate containers that one should consider before embarking on the EJB 2 path. All in all, I enjoyed the book's style, and if nothing else, it will help you appreciate the simplicity (hopefully) of EJB 3 when it becomes available.

If you need to support legacy EJB architectures, this is the book to use to learn EJB 2. If you are architecting a new solution, wait for EJB 3, or better yet, look into the light weight non-standards based frameworks like Spring.
Comment | 
Was this review helpful to you?
17 of 18 people found the following review helpful
5.0 out of 5 stars different, excellent December 22, 2003
At my first look at this book I thought it was a comic book, but then I realized it is actually a comic book, but also a good, sound introduction to EJB technology. Let's be honest.. how many of us are absolutely sick of dry, boring texts that try to sell you ejb technology and themselves as they were rocket science? Most computer related books nowadays are ridiculously formal and dry. Is this the way to attract the interest of students or new developers? I don't think so, and neither do the authors of this book. This text is both a good intro to EJB and an example of how to teach. So it will be useful for both the novice programmer and the expert one who is involved in teaching or mentoring. Be warned that this book is really "different" so if you are kinda stiff and find it disconcerting to have lots of images scattered along the text
and like to concentrate only on the "essential raw matter" this
might not be the book for you. A fine example of the fact that only really serious people are not afraid of being funny...
Comment | 
Was this review helpful to you?
11 of 11 people found the following review helpful
5.0 out of 5 stars An Engrossing Adventure in the Land of EJBs November 13, 2003
Head First EJB is nothing short of phenomenal in a sea of mostly dry, uninspired, exposés of this very-involved subject matter.
I teach all levels of Java including EJBs and advanced J2EE in a variety of advanced undergraduate software development courses to students at Purdue University. It is particularly challenging to motivate students to study and learn the intricacies of J2EE Architecture and Software Design, and its eventual deployment onto real-world Application Servers.
Head First EJB stands alone in its treatment and presentation of advanced EJB concepts. This book rocks!

I have always said that a bad teacher can take the most inherently interesting material and make it boring, but a great teacher can take the most inherently boring material and make it exciting.
I have added this book as one of the required texts for future offerings of my advanced undergraduate "Enterprise Application Development" course.
I congratulate the authors on this marvelous, highly-readable and enjoyable body of work.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Don't let the new 2013 date fool you (as I did).
I got excited upon seeing the April 2013 publication date. Unfortunately, this book is a repackaging of the 2003 book, and hence covers EJB 2.0 (very well, I'm sure). Read more
Published 7 months ago by Elissa Feit
3.0 out of 5 stars Hard to understand
Or maybe i am stupid.This book seems like to talk about the mechanism of EJB rather than how to use EJB in real application. Read more
Published 13 months ago by hua
1.0 out of 5 stars Outdated, Do not buy this version
This book is no longer relevant. It does not address EJB 3, it addresses EJB 2.0. The EJB specification has radically changed. Do not waste your time on this book. Read more
Published 15 months ago by Alan Steinke
5.0 out of 5 stars awesome
for this price you won't find better product than this. Worth every penny. So useful yet affordable. Go get it.
Published 17 months ago by D. Shah
5.0 out of 5 stars this is the future of book writing
Finally someone thought of this idea of writing tech books in a fun way. These books are perfect to get started into a new technology. Read more
Published on April 21, 2012 by Madhu Ramachandran
3.0 out of 5 stars This book is NOT for EJB3
I love Head First books so I was excited to see this one available when I started to learn EJB3. Unfortunately this book isn't about EJB3. Read more
Published on November 9, 2011 by B. P. Lyman
4.0 out of 5 stars Too much time to deliver
The product was delivered in good condition. But the time to deliver was 15 days. The product gets delivered 12 days after payment processing which is usually 2-3 days, effectively... Read more
Published on November 19, 2010 by Amazon Customer
5.0 out of 5 stars BEST! But not today, of course
Best! It does not cover EJB3, as it's outdated, but few years ago it was great! Not sure if there is 2nd or 3rd editions, probably they are more updated, but the one I read was... Read more
Published on March 7, 2009 by Alexey Prohorenko
2.0 out of 5 stars Disappointing -- confusing with lots of jargon
Had high hopes for the book, with cartoons and all. But they got into lots of agonizingly boring technical detail without putting it into a clear context. Read more
Published on July 3, 2008 by David B
5.0 out of 5 stars Valuable even if you want to use EJB 3.0
This book helped me to understand what is enterprise how they fit together how to create EJB 2.0 actually it let you have a strong understanding of J2EE concepst. Read more
Published on April 10, 2008 by H. RAGHEB
Search Customer Reviews
Search these reviews only

More About the Authors

Discover books, learn about writers, read author blogs, and more.

What Other Items Do Customers Buy After Viewing This Item?


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category