Getting started with the Application Pattern Type for Java

The Application Pattern Type for Java™ is a standardized application-centric pattern solution that is designed to enable the deployment and management of resources in a cloud environment. The Application Pattern Type for Java is delivered with Cloud Pak System Software , but you must first accept the license agreement.

Before you begin

  • Verify that your hardware and software meet the minimum requirements. For more information, see the Related reference section.
  • Review the restrictions and limitations. For more information, see the Related reference section.

About this task

You use the Pattern Builder to create a virtual application template, or you can use an existing virtual application template. You then use the template to build your virtual application pattern. When you select a template and start building, the Pattern Builder opens where you can customize your virtual application pattern with component parts and policies. You can save and clone virtual application patterns to build new customized patterns. When your pattern is complete, you can deploy it into the cloud as a virtual application instance.

The following steps describe how to create a virtual application pattern with the Application Pattern Type for Java, then deploy the virtual application pattern to your cloud environment. Use the related information links at the end of the topic for more detailed information about completing these steps by using the user interface. You can also do most of these tasks with the command-line interface or the REST API.

Procedure

  1. Create a virtual application template that uses the Application Pattern Type for Java.
    You can also work with an existing virtual application template.
  2. Create a virtual application pattern from the template.
    The use of patterns is optional; instead of creating a pattern, you can deploy a virtual application directly from a template, specifying any required settings at deployment time.
  3. If you are using a virtual application pattern, edit it to suit your requirements.
    Choose from several different virtual application parts, including Java applications, additional files, log monitoring, and network connections. The Application Pattern Type for Java provides the correct topology for the environment that you want these parts and artifacts to serve.
  4. Deploy the virtual application pattern.
    After deployment, the virtual application pattern becomes a virtual application instance.
  5. Monitor the Application Pattern Type for Java components in the virtual application instance.
  6. View virtual application instance logs.
  7. Troubleshoot the virtual application.