Deploying BC4J Web Applications to WebLogic
Important: Before deploying your BC4J web application, ensure
that you've met all the requirements in BC4J
Setup and Deployment Prerequisites for more information.
To deploy a BC4J web application to WebLogic server instance:
- To deploy the client application project, right-click
<myappwar>.deploy
and choose Deploy to <application_server_connection>.
See "Deployment Options" below for more information.
Note: When creating a
deployment profile for BC4J web applications, if you chose to deploy the
business logic to the web module, the business component files are also added
to the web module. However, if you chose to deploy the business logic as an
EJB session bean, then the web module only contains the client application
files.
In both cases, the client application files including the WAR and EAR files
are included in the web module and deployed to the target WebLogic instance.
- You can access the web application in a browser by entering its application
URL. For example:
http://hostname:<portnumber>/<virtual path>/<sitename>/main.html
where virtual path
is the context root
you specified in the deployment profile.
Deployment Options
JDeveloper lets you deploy in the following locations:
- From the Navigator, select and right-click
<myappwar>.deploy.
- You can also choose from the following deployment options in the context
menu:
- Deploy to <Name_of_server_connection>:
the web module is packaged as a WAR. JDeveloper deploys the WAR file to
the selected WebLogic application server connection which you created
earlier.
- Deploy to WAR file: the web module
is packaged as a WAR file and saved to the local directory or mapped network
drive you specified in the deployment profile. Or, you can use the BEA
WebLogic Server Console to deploy this WAR file. See your WebLogic Server
documentation for more information.
- Deploy to EAR file: the web module
is packaged as an Enterprise Archive (EAR) file and saved to the local
directory or mapped network drive you specified in the deployment profile.
Or, you can use the BEA WebLogic Server Console to deploy this EAR file.
See your WebLogic Server documentation for more information.
Notes:
- If you require further assistance for any field on any page, click Help.
- Make sure that the Web deployment descriptor is located inside the Web Application
Archive (WAR) file as follows:
WEB-INF/web.xml
Related topics
- Developing Web Applications (J2EE
Web Modules)
- About J2EE Applications and How They
Are Packaged and Deployed
- About Business Components for Java
(BC4J) Deployment
- Editing Deployment Descriptors
- Understanding the n-Tiered
Business Components Architecture