Enterprise Bean Samples

Enterprise beans are Java classes written to the Enterprise JavaBean architecture. These EJB samples are a good place to start learning about enterprise beans. They demonstrate basic coding techniques and were all created with simplicity in mind.

Hello: very simple stateless session bean

Increment: very simple persistent entity bean

Account: persistent entity bean that models banking accounts

Transfer: stateless session bean that models the transfer of funds between banking accounts

 


Deploying enterprise beans:

Before you can run any of the sample enterprise beans, you must first deploy them. Deployment identifies the beans to the WebSphere EJB server and establishes the connections needed to implement them.

You can configure and deploy the sample enterprise beans using the WebSphere Administrative Console.


For more information:

For detailed information on how to create, compile, and deploy your own enterprise beans, refer to the WebSphere Application Server's enterprise bean documentation.

And, for a quick step-by-step guide on how to compile the sample source files and create ready to deploy enterprise bean jar files, refer to Compile the Enterprise Bean Samples.