[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

deploy ear file in embeded oc4j server in jdeveloper;

Posted on 2004-11-01
3
Medium Priority
?
991 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part III
While there are many new features for iOS 11, these are the five that can improve your digital lifestyle.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

649 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