deploy ear file in embeded oc4j server in jdeveloper;

Posted on 2004-11-01
Last Modified: 2009-12-16

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;
Question by:chaitu chaitu
    LVL 13

    Expert Comment

    why u want to do so, the IDE automatically deploy to embeded when u run or debug inside JDeveloper?
    LVL 20

    Author Comment

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

    Accepted Solution

    ahhhh ok, their is 2 ways:

    1- the Advanced way using Ant (, 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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 ( But the ability to create custom scanning profiles al…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    913 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now