Creating a Deployment Profile for BC4J Web Clients
In JDeveloper, when you create a Business Components for Java (BC4J) web client
such as a BC4J JSP, BC4J UIX JSP, or BC4J Struts JSP, JDeveloper automatically
generates a Web Archive (WAR) deployment profile for it. A J2EE WAR typically
consists of JSP pages, servlet class files, HTML pages, and other resources
that the application might require (such as data files, images, and sound files)
and the business logic. Typically, a web client accesses the BC4J application
in a J2EE web module configuration. The web client can also include data tags,
data web beans, XSQL, tag libraries, and UIX tags to access the business components.
Once the WAR deployment profile is created and properly configured, you deploy
it to the target application server. The JDeveloper deployment profile wizards
create all the necessary code to deploy business components as a WAR to the
embedded OC4J server or target
server.
To create a deployment profile for BC4J web clients:
- To create a databound web client, you must first create a project that contains
a business components application module and view objects. See Creating
a New Business Component Project.
- In the Navigator, select the
<projectname>.jpr in which you
want to create the BC4J web client.
- From the New Gallery, you can create a BC4J web client.
Choose File | New
to open the New Gallery.
- In the Categories tree, expand Web
Tier. The available BC4J web clients you can create include: JSP
for Business Components, JSP Struts for Business
Components, JSP UIX for Business Components,
and uiXML for Business Components.
- Click one of these categories.
- In the Items list, double-click the item you
want to create for the selected category.
- Click OK.
- The associated BC4J web client wizard appears. Complete the wizard as appropriate.
Upon completion, the newly created
<webapp>.deploy deployment profile
and its corresponding web.xml
deployment descriptor icons appear
in the Navigator below the specified project.
- To deploy the J2EE WAR profile, see Deploying BC4J Web Applications.
- (Optional) If you want to edit either the
<webapp>.deploy profile or the
web.xml deployment descriptor settings, right-click
its icon and choose Settings.
Notes:
- If you are deploying to standalone OC4J or Oracle Application Server and require
a customized platform-specific deployment descriptor, see Creating orion-web.xml.