This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to use a packaged war file inside a ear project.
Until now I had war projects which I could put into the EAR as a module dependency in the application.xml. This worked fine for running the application inside the local Websphere server.
Now I want to get rid of the war project and use a packaged war file instead. I put the war file at the root of the ear project but I can't find how to register it with the ear. I tried editing the source of application.xml but RAD gives me an error message saying he can't find the deployment descriptor. (I don't have the exact error message right now, I am writing from home still angry at a problem from work).
I have two questions: 1. Is it possible to work with a packaged war file inside an ear project? 2. If yes, where do I put the packaged war and how do I tell RAD where to look for it?
My understanding is that with RAD the only way to include a war file within an ear is to make it a web project. Just use the file-->import function to import the war file as a web project. Then you can associate it with the ear.