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
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.
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.