Deploying J2EE Web Services to OC4J

You can deploy a J2EE web service based on a Java class, an EJB or a PL/SQL package to Oracle Application Server or Oracle Application Server Containers for J2EE (OC4J) with a single mouse click.

When you used the Create Web Services wizard or the Create PL/SQL Web Services Wizard to generate the files for your J2EE web service, you specified a connection to the OC4J instance on which the service is to be deployed, and the wizard automatically created all the files that you need, including a Web Archive (WAR) deployment profile named WebServices.deploy. The WebServices.deploy file is created at project level.

To deploy a J2EE web service:

To examine the contents of a web services deployment profile:

  1. In the navigator, double-click WebServices.deploy to open the WAR Deployment Profile Settings dialog.
  2. Choose the File Groups| WEB-INF/classes | Filters node to display a listing of the .java and .wsdl files for the web service.

For more information about creating a J2EE web service, refer to Developing J2EE Web Services.

 

Copyright © 1997, 2004, Oracle. All rights reserved.