Improve company productivity with a Business Account.Sign Up

x
?
Solved

deploy ear file in embeded oc4j server in jdeveloper;

Posted on 2004-11-01
3
Medium Priority
?
1,004 Views
Last Modified: 2009-12-16
hi

i have two projects in the workspace one is EJB.jpr where ejb files reside another one is WEB.jpr where jsp and servlets reside;

i want to generate EJB.jar for EJB.jpr and WEB.war for WEB.jpr and finally creating ear file for (ejb.jar and web.war) ;

after creating ear file i want to deploy it in embedded oc4j server in JDeveloper;
0
Comment
Question by:chaitu chaitu
  • 2
3 Comments
 
LVL 13

Expert Comment

by:petmagdy
ID: 12470950
why u want to do so, the IDE automatically deploy to embeded when u run or debug inside JDeveloper?
0
 
LVL 20

Author Comment

by:chaitu chaitu
ID: 12471023
after creating ear file i want to deploy it ouside oc4j server;
0
 
LVL 13

Accepted Solution

by:
petmagdy earned 2000 total points
ID: 12471094
ahhhh ok, their is 2 ways:

1- the Advanced way using Ant (jakarta.apache.org), thats need writing xml script to build ur application
2- Use Jdeveloper as the following:

   a- select ur EJB project node (file--> new.. ) on the left tree select (General ---> deployment profiles) on the right select (ejb jar file) name it myEjb for example and a file is created called myEjb.deploy

  b- select ur Web project node (file--> new.. ) on the left tree select (General ---> deployment profiles) on the right select (War file) name it myweb for example  and a file is created called myWeb.deploy

   c- select ur Web Project node (file--> new.. ) on the left tree select (General ---> deployment profiles) on the right select (Ear file) and a file is created called MyApp.deploy

  d- A wizard will start, name the deployment profile for example (myApp)
     Then a dialog with tree on the left and pane on the right, select (general) on the tree it will show u ur application name and where will the ear file will be generated
     Then select (application Assembly) it will show u the 2 projects (Web and Ejb), under each will show u the 2 prevoius .deploy files select both

Now finally select ur file myApp.deploy, right menu deploy to Ear the ear will be generated at the specificed location as in (General)

Good luck


     
   
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article is about building a VRF-Aware site to site VPN tunnels in Cisco CSR1000V router with IOS XE. There are two VRF-Aware Policy Based IPsec VPN tunnels configured on CSR1000V router one with NAT and another without NAT.
What is Archiving? Archiving in Exchange Online (called In-Place Archiving) provides users with additional mailbox storage space.
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question