Packaging your toolkit application into an EAR file

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:
  1. 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.
  2. From the menu that pops up, select Package into another EAR.
  3. In the EAR export wizard window that appears, select all necessary J2EE projects and utility JAR files.
  4. For WID version of BTT, you will be able to select SCA modules into the exported EAR file.
    Select SCA modules into the exported EAR file.
  5. Select the project name of the EAR which is being updated and select the directory where the EAR file will be generated. Then 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.

You can also start the packaging process by right-clicking the BTT project in the Package Explorer of Rational® Application Developer or WebSphere® Integration Developer, and then select BTT Packaging > Package into another EAR.

If you want to debug your toolkit application using Rational Application Developer or WebSphere Integration Developer, you need to import necessary ear or jar files from BTT installation directory into your workplace to create associated projects.