IBM Application Pattern for Java
What is the IBM Application Pattern for Java?
The IBM Application Pattern for Java is a "Virtual Application Pattern" that's available as part of the IBM Cloud Offerings: IBM SmartCloud Application Services, IBM Workload Deployer, and the IBM PureApplication System.
It lets you easily move any existing Java application into a cloud-based environment and make it reusable as either a platform or a modifiable template
What's going to be in this blog?
This blog will provide information and guides for using the IBM Application Pattern for Java, along with new application templates. You can also use it to provide feedback to the development team, or request templates for applications your trying to deploy yourself!
Once you've used the IBM Application Pattern for Java to deploy a Web Application on Apache Tomcat or other middleware, the next task you might want to undertake is to load test your application. Given that you've deployed your web application remotely to the cloud, it may be that you don't have the network bandwidth to carry out load testing from your local machine to the remote deployment - therefore being able to get one bit of the cloud to load test another bit could be useful.
Another usage scenario for the IBM Application Pattern for Java is cloud-based load testing, whereby cloud-based engines are deployed for load-testing web (or other) applications. For this purpose, you can use the IBM Application Pattern for Java to deploy Apache JMeter and use its server load-testing engine capability.
Assuming you've downloaded and saved a JMeter archive from Apache, follow these steps (illustrated in Figure 7) to create a deployment of Apache JMeter 2.7 in server mode in the Virtual Application Builder:
Once the JMeter server application has been deployed, you can run a load test
from a client/desktop install of JMeter by launching the client with the
You can run a sample JMeter test plan (see bottom of entry) against a deployment of the "Sample Web application only" sample provided as part of the Web Application Pattern Type 2.0 pattern, using the following steps:
The following steps enable you to see if load is being driven against the "Sample Web application only" sample:
The main panel should then display a number of graphs that can be used to monitor the deployed web application. If the web application is receiving load from the JMeter server, then the Web Applications Request Count graph should show requests being serviced, as illustrated here:
Below is a download of a sample test plan for JMeter for use against the "Sample web application only" sample for the IBM Web Application Pattern:
Below is a template for Apache JMeter 2.7. In order to use this you will need to download apache-jmeter-2.7.tar.gz and upload it into the template:
There's a new article IBM developerWorks that provides and introduction to the IBM cloud offerings, and how to get started with the IBM Application Pattern for Java, starting with building a simple HelloWorld application and then moving on to creating deployments of Apache Tomcat and Apache JMeter.
The article also includes to video demos on YouTube:
There's an article on IBM developerWorks that provides step by step instructions for deploying the IBM® Support Assistant (ISA) v5 Beta using the IBM Application Pattern for Java:
"The Support Authority: Deploying IBM Support Assistant 5 Beta into an IBM cloud environment"
The new 5.0 version of ISA is a "server" application with a rich browser-based front end. Whilst this can still be run on a desktop using the browser locally, it has the added value of being able to be run on remote servers. This provides a number of key additional features, including:
The article shows how to build the an ISA v5 application and provides a template for download:
Along with what ISA v5 looks like when its deployed and running: