Getting Started with Enterprise JavaBeans™
-
Download gsejbExamples.jar for the complete source code and classes used in the tutorial.
-
Download the Java 2 Platform, Standard Edition (J2SE).
-
Download the Java 2 Platform, Enterprise Edition (J2EE) SDK and Specification. The 1.3.1 FCS Release Software and Documentation is used in the tutorial; later versions should work as well.
-
Read the J2EE 1.3.1 Installation Instructions to ensure that your J2EE Reference Implementation is properly set up.
-
Download the Enterprise JavaBeans Specifications.
-
Get Sun's J2EE Reference Implementation tutorial, The J2EE Tutorial, for additional Enterprise JavaBean technology and J2EE examples.
-
Designing Enterprise Applications with the J2EE Platform (Addison-Wesley, 2002) by the J2EE Enterprise Team (also available online) provides a high level view with proven principles for architecting and developing J2EE applications.
-
As J2EE technology has matured, a number of best practices have been documented as design patterns. The Core J2EE Pattern Catalog presents a subset of these patterns to help guide the design process.
-
To learn about the elements that make up EJB deployment descriptors, the bible is the XML DTD for the EJB 2.0 deployment descriptor.
-
For a good explanation of the rationale for the JNDI environment naming context (ENC), see Best Practice: Use java:comp to Locate EJBs and Increase Application Portability.
-
Looking for considerations and tips for real world applications? Take a look at EJB performance tips.
-
For guidelines on using EJB technology, see Brett McLaughlin's developerWorks column, EJB best practices.
-
For information on using JDBC, with complete examples, see the author's JDBC 2.0 Fundamentals Short Course.
-
For introductory information about transactions, the Java Transaction Service (JTS), and the Java Transaction API (JTA), see Brian Goetz's "Understanding JTS" series:
"An introduction to transactions", "The magic behind the scenes", and
"Balancing safety and performance".
-
For a good start with Java Message Service programming, see Willy Farrell's tutorial, "Introducing the Java Message Service".
-
Sun also has a JMS tutorial, Java Message Service API Tutorial and Reference: Messaging for the J2EE Platform (Addison-Wesley, 2002), written by members of the J2EE Team, including the author of the JMS specification. An online version is available.
-
Nicholas Whitehead's article "Implementing vendor-independent JMS solutions" discusses some real world JMS issues and their resolution.
-
For an introduction to remote, distributed objects using RMI, CORBA, and ORBs, see "RMI-IIOP in the enterprise" by IBM staffer Damian Hagge.
-
Read about Java RMI over IIOP to learn more about programming distributed applications.
-
Java architect Srikanth Shenoy discusses EJB error resolution issues in "Best practices in EJB exception handling".
-
If you're interested in a quick cover of EJB Query Language, see Learning EJB QL by Jeelani Shaik.
-
Enterprise JavaBeans (O'Reilly & Associates, 2001) by Richard Monson-Haefel, now in its third edition, is one of the best known introductory EJB books.
-
Mastering Enterprise JavaBeans (Wiley, 2001) by Ed Roman et al. is another good resource for EJB programming.
-
Building Scalable and High-Performance Java Web Applications Using J2EE Technology (Addison-Wesley, 2001) by Greg Barish broadly discusses many J2EE areas. While on an initial reading, the book's suggestions appear to be mostly common sense, the cumulative result is impressive.
-
J2EE 1.4 and the EJB 2.1 specification begin to focus on Web services. To learn more about Web services, The Java Web Services Tutorial (Addison-Wesley, 2002) by Eric Armstrong, Stephanie Bodoff et al. is a good place to start. This tutorial is also available online.
-
To get answers to your questions on any area of the Java language, visit the Java filter forum on developerWorks, moderated by the author, and the other forums available from the main developerWorks Java technology zone page.