JSP files are used to generate web pages that use the generated
J2C Java™ bean. You use a wizard
to generate the JSP files or web service for your project.
About this task
If you have been following these steps sequentially, your
project is displayed in the Project Explorer pane.
Procedure
- From the IBM® Rational® Application Developer
for WebSphere® Software menu
bar, select . The Select
a wizard page opens.
- Expand the J2C folder and select
the Web Page, Web Service, or EJB from J2C Java Bean wizard
and click Next. The J2C
Java bean selection page opens.
- Click Browse and select your project. The Find J2C Java Bean page opens.
- In the Select entries field, as
you start to enter the name of the J2C Java bean
you created, the Matching items pane finds
the J2C Java bean with the same
name.
- Click OK and then click Next. The Deployment Information page opens.
- Click one of the following choices and click Next:
| Option |
Description |
| Faces JSP |
The Faces JSP resource type simplifies building user interfaces.
This option uses component libraries and allows drag and drop composition
of web pages. |
| Simple JSP |
The simple JSP resource type generates JSP files that do not
require a sophisticated user interface. |
| Web Service |
The web service resource type generates a web service. |
- Click New to create a new web project
or web service, or Browse to select an existing
web project name. Specify the name for the folder to place the generated
JSP files.
- Click Next and then click Finish.