Deploy your packaged application to the JBoss Application Server through an application server connection. A packaged application will contain a deployment profile that names the files to be deployed, describes their organization, and specifies the target server.
The target JBoss server must be installed locally or mapped to a network drive.
To deploy to the JBoss Application Server:
If the project uses ADF Business Components, configure the server for ADF Business Components deployment.
If your application is an EJB application,
add a jboss.xml
deployment descriptor file if you want to
support JBoss-specific configuration options for the EJBs. For more
information on this file, see
www.jboss.org
.
If your project is a Business Components UIX JSP project, add required Cabo resources to it.
Select the deployment profile in the Navigator, right-click, and choose an option:
Choose Deploy to | < application server connection> to package the application as an archive file and deploy it via the selected application server connection.
For a business components JSP application, choose
Deploy to EAR file from the context menu to deploy it as a EAR
file. You must deploy this application to an EAR file and not a
WAR file, as JBoss will not add the EJB references under the
java:comp/env/ JNDI namespace for a WAR file. Copy this file to the
<JBoss_install>/deploy
directory.
Notes:
Create a library in JDeveloper for the JBoss client side libraries to test an EJB deployed inside JBoss. The client side libraries from JBoss are located in the client directory under the JBoss directory, and are used to test an EJB deployed within JBoss. See Including Libraries in a Project.
You may now invoke a business components JSP application in your web browser by entering a application URL similar to the following:
http://localhost:8080/<context root>
where <context root>
is the J2EE context
root for your project containing the Business Components JSP
application. For example, Workspace1-Project1-context-root/
.
Working with the JBoss Application Server
Configuring JBoss for ADF Business Components Deployment
Creating an Oracle Data Source in JBossr
Creating a JBoss Test Client for an EJB Session Bean
Copyright © 1997, 2004, Oracle. All rights reserved.