This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm porting an iPlanet project to Websphere. The project has an EJB and a servlet. So I created an EJB project in WSAD and ported both EJB code and servlet in it. However, I can't export a WAR file out of EJB project. I can only export an EJB JAR file. How can I make a WAR file out of an EJB project in WSAD? Thanks, Jenny
You need to create an EJB project for your EJB, a WAR project for your servlet, then create an EAR project and associate the EJB and WAR projects in the EAR project. You then deploy the EAR project. Dave
David, do you mean WAR project or Web project. (I think it's called a web project in the pulldown.) Jenny, I don't think you can put an EJB in a WAR (web application archive) file. You can put in an EAR (enterprise application archive) file for deployment. A WAR file is for JSPs and Servlets. An EAR file is for EJBs, ... WSAD includes a WAR file along with the EJB jars inside the EAR. EAR -WAR -EJB jar one -EJB jar two