Step 2: Assemble the application

Use the application assembly tool to package the sample application for WebSphere Application Server. Application assembly is the process of creating an enterprise archive (EAR) file that contains all of the files related to an application.

  1. Prepare the message-driven beans sample application
    Locate the message-driven beans sample application files and copy them into your own directory.

  2. Compile the source code files
    Compile the source code files into .class files.

  3. Package the Web application files
    Package the servlet and .class files into a JAR file. The application assembly tool requires a JAR file for input when creating a application client.

  4. Assemble the EJB module
    Use the application assembly tool to create an EJB module.

  5. Assemble the application client
    Use the application assembly tool to create an application client.

  6. Assemble the application
    Assemble your JAR files into an EAR file, which is used to deploy the application to your WebSphere Application Server instance.

  7. Configure the application client
    Use the Application Client Resource Configuration Tool to configure the application client and add the WebSphere TopicConnectionFactory needed to run your application.

Continue Next: Prepare the message-driven beans sample application