Exercise 1.1: Importing the required resources and building the required projects

Enabling Web service capabilities

To enable the capabilities required for Web services development:

  1. On the Welcome page, check to see if Web services are enabled by looking for the Web services icon in the lower right-hand corner: web services icon. If the Welcome page has been closed, you can reopen it from the Help menu.
  2. If Web services are not enabled, select the icon in the lower right corner that looks like a person. This will generate a list of capabilities that you can select from.
  3. Select the Web services icon in the top left corner:
    Screen capture of the icons used to select capabilities
The tools used in Web services development are now enabled.

Importing the EAR file

To import the EAR file, follow these steps:

  1. From the File menu, click Import to open the Import wizard, then select EAR file and click Next.
  2. Enter the following file in the EAR File field. You can click Browse to locate and select the file:
    com.ibm.etools.webservice.buejb.tutorial.doc\resources\JMSEAR.ear. This plugin is located in the directory where you installed the Rational Developer product in the rad\eclipse\plugins folder.
  3. In the EAR Project field, type JMSEAR if it is not already prefilled. This is the Enterprise Application project which you will import the EAR file into. The project will be created when you complete the wizard.
  4. Ensure that the target server selected is WebSphere Application Server v6.0.
  5. Click Finish. The Enterprise Application project, JMSEAR and the EJB Module, JMSService are created.

In the J2EE perspective under the EJB Projects folder, notice JMSService. This project contains all the resources for EJB applications, including the enterprise bean, the remote interface, and EJB home. The JMSServiceRouter project has also been created. This is an EJB project that will contain the message router message-driven bean for the Web service.

Now you are ready to begin Exercise 1.2: Creating a server and server configuration for JMS.

Feedback
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.