Chapter 9. JDO and Enterprise JavaBeans


"You can tell a lot about a fellow's character by his way of eating jelly beans."

Ronald Reagan

This chapter attempts to give you a better understanding of Enterprise JavaBeans (EJB) in the context of JDO. The goal is not to simply show how to code EJB and JDO together, but to also talk about the why and when, which should allow you to ultimately decide whether the combination of these two powerful Java APIs makes sense.

More or less complete code examples are shown to clarify the points discussed. Brief summaries of EJB concepts are presented; however, a certain familiarity by the reader with the basic EJB architecture is assumed. This chapter is not intended to be a comprehensive tutorial on EJBs; several good ones already exist, such as the J2EE tutorial from Sun, which is available at http://java.sun.com/j2ee/tutorial.

The example code does not show home and remote interfaces or deployment descriptors. Instead, it focuses on relevant code snippets from within the bean implementation classes themselves .



Core Java Data Objects
Core Java Data Objects
ISBN: 0131407317
EAN: 2147483647
Year: 2003
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net