Skip to main content


developerWorks  >  Open source | Java technology | WebSphere  >

The Apache Geronimo machine shop sampler, Part 4: EJBs: Session beans and message-driven beans

developerWorks

Level: Intermediate

Dale de los Reyes (dreyes4@hotmail.com), Freelance Writer, Freelance

18 Apr 2006

Register now or sign in using your IBM ID and password.

So far in this four-part tutorial series you've created and deployed the machine shop sampler application using servlets, JavaServer Pages (JSPs), J2EE declarative security, and J2EE Connector Architecture (JCA). Then you enhanced it by replacing the JCA Resource Adapter with Java Database Connectivity (JDBC) and adding a Web service to communicate with the database module. In Part 3, you got familiar with the differences between the two types of entity beans, bean-managed persistence (BMP) and container-managed persistence (CMP) while creating a simple console that lets users customize the horsepower of their vehicles. You'll wrap up this series by learning about Enterprise JavaBeans (EJBs) -- specifically session beans and message-driven beans (MDBs) -- and using them to add a console to the application that lets mechanics order automotive parts.

Objectives

By the end of this tutorial you'll understand EJBs -- session beans and MDBs -- and you'll know how to use them to enhance an example application by adding a console that lets mechanics order automotive parts. Collectively, this series should help shorten your learning curve on future Geronimo projects.

Prerequisites

You need Java 2 Platform, Standard Edition (J2SE) 1.4.2_10 SDK for Microsoft® Windows®, Apache Geronimo 1.0 with Tomcat, Apache Ant 1.6.5, Apache Axis 1.3, and Apache Derby 10.1.1.0 and ActiveMQ 3.2.1, which both come bundled with Geronimo 1.0, to run the code samples in this tutorial.


Duration

Under 2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed

Discuss


More in this series:
The Apache Geronimo machine shop sampler