Simple JSP files can be generated to embed the previously
generated J2C Java™ bean.
Procedure
- From the IBM® Rational® Application Developer for WebSphere® Software, select . The Select a wizard page
opens.
- Select the Web page, Web service, or EJB from
J2C Java Bean item, and click Next. The J2C Java Bean Selection page
opens.
- 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.
- Click Next. The Deployment
Information page opens.
- Select Simple JSP and click Next. The Simple JSP Creation page opens.
- Click New.
- Enter MFSPhoneBookWeb in the Project
Name field, and click Finish.
- Accept the defaults and click Finish. The Simple JSP Creation page opens.
- Name the JSP folder jsp and click Finish. The MFSPhoneBookWeb web project is created in the Project
Explorer view.