J2EEOnline J2EE

EJB Deployment   «Prev  Next»
Lesson 1

Deploying EJBs, J2EE Introduction

The first lessons in this module describe the initial steps in deploying an EJB in a container.
In these lessons you will create the XML deployment descriptor that describes the bean. Then you will package it in a jar file together with the interfaces and classes for the bean.

Deploying the beans

Once the beans are packaged, you will deploy them on the EJB platform. This process involves building the stubs, skeletons, and the Home and Remote objects, followed by the loading of the bean.

Working hands-on

During the exercises in this module you will download, install, and configure the J2EE reference implementation. Once that is complete, you will then deploy the Hello bean and execute the HelloClient program. The final lesson includes the first project exercise--you will write a Customer client that accesses a BankAccount bean that you deploy.
In the next lesson, you will review the principles of deployment and be introduced to the J2EE Reference Implementation.
Deployment descriptor: Information that describes both the structure of an Enterprise Java Bean, and the information required by it at runtime.

Jar file: A file created with the Java jar program which is similar to tar on the Unix platform.