The wizard allows you to create a JSP or a faces JSP, an EJB, or
a Web Service that wraps the functionality provided by a J2C Java™ bean.
You can create a JSP or a faces JSP, an EJB, or a Web Service to
deploy your J2C Java bean.
In order to create an artifact to deploy your J2C Java bean,
your workspace must already contain a J2C Java bean for you to deploy.
Note: For WebSphere® v.6:
If you want to configure resource references or JNDI aliases, then ensure
that your server is running before you launch this wizard.
To
create a a Web page, an EJB, or a Web Service to deploy your J2C Java bean,
complete the following steps:
- There are two ways for you to create a JSP, an EJB, or a Web Service
to deploy your J2C Java bean:
- If you selected Next in the Saving data
bean properties page, the Web Page, Web Service, or EJB from J2C
Java Bean wizard appears.
- If you selected Finish in the Saving
data bean properties page, or if you are adding a deployment artifact to an
existing J2C Java bean, you need to start the J2C wizard.
- To start the J2C wizard, from the menu bar, select File > New > Other > J2C.
- Select Web Page, Web Service, or EJB from J2C Java Bean and
click Next
- On the Deployment Information page, select Create a
Web page, Web Service, or EJB from the J2C bean
- If you want to change the RAR settings, select Configure
Resource Adapter Deployment.
Note: If you have created
a J2C Java bean
that only uses managed connection information, that is, if you used the JNDI
name for your connection, Configure Resource Adapter Deployment will
not be displayed. Since the J2C Java bean already uses the resource adapter
deployed on the server, there is no need to deploy resource adapter within
the EAR (since it will not be used anyway).
- Select the J2EE resource type you want to use for your J2C application
deployment method: