Step 2: Generate JSP for the Phonebook MFS J2C Service

Simple JSP files can be generated to embed the previously generated J2C Java™ bean.

Procedure

  1. From the IBM® Rational® Application Developer for WebSphere® Software, select File > New > Other. The Select a wizard page opens.
    The Select a Wizard page
  2. Select the Web page, Web service, or EJB from J2C Java Bean item, and click Next. The J2C Java Bean Selection page opens.
  3. Select Browse and enter "p" - the field auto-fills to select the PhoneBookImpl.java and click OK to return to the J2C Java Bean Selection window.
  4. Click Next. The Deployment Information page opens.
    The Deployment Information page
  5. Select Simple JSP and click Next. The Simple JSP Creation page opens.
  6. Click New.
  7. Enter MFSPhoneBookWeb in the Project Name field, and click Finish.
  8. Accept the defaults and click Finish. The Simple JSP Creation page opens.
  9. Name the JSP folder jsp and click Finish. The MFSPhoneBookWeb web project is created in the Project Explorer view.

Feedback