Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

Head First EJB: Passing the Sun Certified Business Component Developer Exam

Head First EJB: Passing the Sun Certified Business Component Developer Exam

4.0 2
by Kathy Sierra, Bert Bates

See All Formats & Editions

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


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, javaranch.com"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

Editorial Reviews

The Barnes & Noble Review
You will have more fun learning Enterprise JavaBeans programming with Head First EJB than you will anywhere else. And, because you’re having fun, what you learn will stick. Can’t hurt, right? Especially if you’re studying for Sun’s Certified Business Component Developer Exam.

This book is a wild ride: new ideas, new connections, attitude all over the place. Text that’s actually funny (not the “alleged” funny you’ve seen in computer books before). And all these goodies weren’t bolted on at the end to enliven a deadly narrative. They’re here to make the ideas come alive. It works.

Here are Kathy Sierra and Bert Bates introducing two types of session beans: “If you’re lucky, you’re a stateless bean. Because the life of a stateful bean is tied to the whims of a heartless client. Stateful beans are created at the client’s insistence, and live and die only to serve that one client. But ahhhh, the life of a stateless bean is fabulous! Pools, those little umbrella drinks, and no boredom, since you get to meet so many different clients.” Think you’ll ever forget the difference?

Or how about the great ’40s and ’50s photos throughout, captioned to speak for the beans themselves? “...and then I said, ‘You want a piece of me? Go ahead -- take your best shot buddy!’ He didn’t know he was messing with an entity bean. So he threw an exception, then he crashed the server, but I’m still here! I won’t go down that easy, no siree. As long as I’m in the database, I’ll just keep coming back, so do your worst!” Ever hear a more riveting explanation of persistence?

The authors figure that people learn best when they’re fully engaged. When they’re being tickled. (And the latest research in cognitive science, neurobiology, and educational psychology backs them up.)

So they keep you rolling on the floor laughing, as they walk you through every EJB fundamental -- and every exam objective on Sun’s exam. You’ll find chapters on EJB architecture; the client view of beans; entity bean relationships; transactions, exceptions, security, deployment, and more. All with the same wit, the same vivid analogies.

Why do you need message-driven beans? Imagine: “You have to ask someone to do a very important job. You have no idea how long it’s going to take them. You have to wait right where you are until they finish. You can’t do anything else while you’re waiting.” Get the drift?

There’s a treat on every spread. Our favorite: a full-page argument between beans at the Tikibean Lounge. (If you’ve never watched bean-managed and container-managed transaction beans trade Shakespearean-class insults, you’re in for a treat.)

Throughout Head First EJB, you’ll also find answers to the so-called “dumb questions” other books don’t bother answering. (Why don’t stateful session beans have a pool? Why not just go straight to the database from a session bean?)

There’s only thing the authors play straight: the sample questions at the end of each chapter, and the complete sample exam at the back of the book. Even while you’re studying, though, this book breaks convention. For example, each chapter lists the relevant exam objectives and then tells you what they really mean. In English.

Head First EJB is a pleasure to learn from, and it was an absolute joy to review. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.

Product Details

O'Reilly Media, Incorporated
Publication date:
Head First Series
Product dimensions:
8.00(w) x 9.25(h) x 1.52(d)

Meet 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, javaranch.com. 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.

Customer Reviews

Average Review:

Post to your social network


Most Helpful Customer Reviews

See all customer reviews

Head First EJB: Passing the Sun Certified Business Component Developer Exam 4 out of 5 based on 0 ratings. 2 reviews.
Guest More than 1 year ago
Head First has an outstanding way of making things simple for its readers through diagrams and dialouges. They know how deep to go into a topic. However, I am eagerly waiting on an updated version of the book that would cover EJB 3.0 SUN exam. SUN has phased out EJB 2.0. I believe updated version of Head First for EJB 3.0 exam is on the way.
Guest More than 1 year ago
Sierra and Bates are making quite a splash with these books. They wrote an earlier book (Head First Java) where they used a very informal cartoon-heavy teaching method. Now they have produced this book on Enterprise Java Beans. I have been reading about EJBs since they first came out, but I never knew there was anything funny about them. Just ignorant, I guess! Certainly their graphic narratives help illuminate what some might consider a bone-dry subject. But their lengthy explanations with diagrams may be more instructive for you than the standard EJB texts. The thing is, EJB usage is inherently more abstract than just learning java, where, for example, GUI coding gives you immediate visual feedback. With EJBs, and transactions and hooking up to a database [etc], there are usually no visuals (apart from the command line). So a diagrammatic pedagogy is correspondingly more valuable for understanding, because these diagrams may well be your ONLY visuals. Maybe you are new to EJBs and have a standard text. But for you, its explanations are too cursory? And it did not have any exercises? If so, try temporarily scaling back and using this book. It may put you on a firmer conceptual footing, and then you can return to a more 'mainstream' book.