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--
Contents
- Introduction
- Welcome to EJB: an introduction
- EJB Architecture: architectural overview
- Exposing Yourself: the client view
- Being a Session Bean: session bean lifecycle
- Entities are Persistent: entity bean intro
- Being an Entity Bean: bean/entity synchronization
- When Beans Relate: entity bean relationships
- Getting the Message: message-driven beans
- The Atomic Age: EJB transactions
- When Beans Go Bad: exceptions in EJB
- Protect Your Secrets: security in EJB
- The Joy of Deployment: a bean's environment A
- Appendix A: Final Mock Exam