I think what you want to do is use the Application Assembly Toolkit (AAT), now known as WAS Assembly Toolkit. You will assemble and EAR project, an EJB project, and a web project. The web and EJB projects will be children of the EAR project. Then you install the EAR on your server using the admin console. The "wizard" that installs your app has a checkbox "deploy EJBs". Check that, and it will generate the stubs and ties for you. I think in the toolkit you can also generate stubs and ties before you build the EAR, in which case you won't need to redeploy when you actually install the EAR.
If you use WSAD, just run "generate deploy and RMIC code" and then build your EAR file. Then you can just install it on the server.
Main Topics
Browse All Topics





by: damonfPosted on 2005-03-04 at 09:40:26ID: 13460804
EAR project:
>META-INF
>application.xml
EJB project:
>ejbModule
>META-INF
>ejbJar.xml
>MANIFEST.MF
>com
>youcompany
>...
web project:
>WebContent
>any files and folders you want
>META-INF
>MANIFEST.MF
>WEB-INF
>web.xml
>any tlds
>lib
>any jars
>classes
>your packages