Reading List EJB 2.0 setup

Configuring this project takes approximately 5 minutes.
The following steps show you how to import, run, and explore the sample:
  1. Before you can run the sample, you must first import it into your workspace.
    1. Import the sample.
    2. In the Import Project dialog box, accept the defaults and click Finish.
  2. To run the program:
    1. Ensure there are no errors listed in the Problems view. From the Servers view, start the WebSphere Application Server instance. This sample will run on either IBM® WebSphere® Application Server v7.0, or IBM WebSphere Application Server v6.1 with the IBM WebSphere Application Server Version 6.1 Feature Pack for EJB 3.0.
    2. In the Enterprise Explorer view, select the ReadingListEJBEAR project, right-click, and select Properties. Click on Targetted Runtimes, select a runtime, and click OK.
    3. Expand the ReadingListEJB > Deployment Descriptor: ReadingListEJB > Session Beans directories. Right-click the ReadingList bean, and select Run As > Run on Server.
    4. In the Run ON Server wizard, select the previously started server instance and click Next.
    5. Once the Universal Test Client window opens, click on the JNDI Explorer link on the left. If a Universal Test Client window does not open, in the Servers view, right-click the server and select Run universal test client.
    6. Expand the ejb > ejbs directories, and click on ReadingListHome.
    7. ReadingListHome will appear under EJB Beans on the left of the screen. Click on the plus sign next to ReadingListHome to expand.
    8. A Create method will be listed under ReadingListHome. Click on it to bring it up in the Universal Test Client window on the right of the screen.
    9. Click Invoke, and then click Work with Object. ReadingList will appear under ReadingListHome. Expanding that menu will display the different methods that you can work with.
  3. To explore the sample:
    1. Expand the ReadingListEJB project.
    2. Expand the ejbModule directory, and the ejbs package.
    3. Double-click on ReadingListBean.java to view the code.

Feedback