Head First EJB: Passing the Sun Certified Business Component Developer Exam FROM OUR EDITORS
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.