wood burning stoves 2.0*
The moose likes Websphere and the fly likes WAR in EAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "WAR in EAR " Watch "WAR in EAR " New topic
Author

WAR in EAR

Java LayMann
Greenhorn

Joined: Feb 26, 2004
Posts: 1
Hi Ther,
I am new to IBM WebSphere Studio 5.1
I am having problem in creating Web Module in EAR Project.
I have a 'SimpleEARProject', in the same i want to create 'SimpleWARProject' but i am not able to do so. When ever i am trying to create a new Web Module using FILE -> New -> Dynamic Web Project...
Its prompting a dialog Box to enter a project name for Dynamic Web Project.
and when i enter SimpleWARProject and click on next. In the J2EE Setting Page its not displaying the already existing SimpleEARProject in the drop down List of EAR Project.
Am i missing some thing...
Any help is highly appreciated.
LayMan
chandubcs
Ranch Hand

Joined: Jun 03, 2001
Posts: 47
You cannot create a Web Module in a EAR project, you need to create a Dynamic Web Project using Web Perspective and use that in EAR Project. When you deploy EAR project, all the Web projects associated for that EAR project will be deployed.
Mark Ju
Ranch Hand

Joined: May 20, 2003
Posts: 117
Alternatively, you can:
1.) Create a Dynamic Web Project by specifying a new, temporary EAR (eg, TempEAR).
2.) Delete TempEAR after it is created.
3.) Associate your new Dynamic Web Project with the pre-existing EAR.
Emilio Butrage´┐Żo
Greenhorn

Joined: Mar 05, 2004
Posts: 8
You can assign a Web project (WAR) to a new or any existing EAR when creating it, but a WAR must have an EAR, although not visa versa.
 
GeeCON Prague 2014
 
subject: WAR in EAR