After you add every necessary entities into the BTT Project you created
for your application, you can export the project to an EAR file and deploy
your application. To package a BTT project into an EAR file, do the following:
- From the Graphical Editor view of the Graphical Builder, make sure
you do not have any node selected and click anywhere outside of the Presentation
Logic box and the Business Logic box.
- From the menu that pops up, select Package
into one EAR.
- In the New Enterprise Application Project window
that appears, select all necessary projects and JAR files.
Note: Including multiple Services projects into one EAR might cause potential
problems when your EAR is deployed onto a WebSphere(R) Applcation Server.
- Enter the name of the EAR file and select the directory
where the EAR file will be generated. Click Finish.
Note: If you don't save the files, the Save Resources dialog
box pops up to remind you save the resources.
You can then find the generated EAR file in the directory you specified
in step
4.