This article demonstrates common features used by new workload deployer to build and deploy simple end-to-end cloud applications.
Ibm®rational®application Developer can help Java developers quickly develop and deploy Java, Java Enterprise Edition (Java EE), Open Services Gateway Initiative (OSGi), Service Component Architecture (SCA), portals, and WEB applications. It provides powerful tools to support commonly used application servers, and includes the latest Ibm®websphere®application server development usage versions. In addition, the Rational creator Developer supports the use of industry-standard databases such as ibm®db2® and source control systems such as Ibm®rational team concert™ to achieve development.
IBM Workload Deployer is a successor to the WebSphere Cloudburst appliance and also supports the deployment of virtual application patterns and increases performance, load balancing, and extension policy options. It uses predefined middleware patterns to simplify configuration in the cloud environment.
In addition to the specific workload deployer tools in the Rational creator Developer, you can define and develop Web, Java EE, and OSGI application components for virtual application patterns, and manage the creation, deployment, and removal of cloud application artifacts directly from the development environment.
What can developers get from this literature
This article demonstrates a common feature in the new workload deployer for building, deploying, and running simple end-to-end cloud applications on workload deployer. You will learn how to create a workload deployer definition, build and capture cloud applications, associate Java EE content with applications, and deploy to workload deployer. This article will explain how to use Deployer to ration a database.
The main reasons why your organization can benefit from migrating to workload Deployer in enterprise application development are as follows:
Help to save costs for organizations that allocate WebSphere Creator server and DB2 images to the entire workload deployer on multiple dedicated WebSphere and DB2 servers
Fast and self-service provisioning when private services are unavailable
Access reusable application patterns to simplify build and deploy
Standardized management and access to images and virtual systems
For
Before you start the example in this article, you need the following configuration:
IBM Rational creator Developer for WebSphere software,8.0.3 or later, and the workstation installs the following features:
IBM Workload Deployer Development tools
Java EE and WEB services development tools
WebSphere Creator Server Version 7.0 development tool
Tools for developing applications without installing local servers
IBM workload Deployer v3.0.0.0 or above, define at least one cloud group
Set up a workspace
Start Rational Creator Developer, create a new workspace, and keep the Java EE view open. We started by creating a simple project to save the cloud application and import an application sample for deployment.
To create a new project:
Start the New Project Wizard (right-click Enterprise Explorer View and select New > Project).
Select General > Project and click Next.
Name the project cloudapplication and click Finish.
Optionally enable the validation builder because the default setting for normal projects is off. Then right-click the Cloudapplication project, select Properties, and select these options:
Select Enable Project specific setting.
Select Add Validation Builder to project.
Click OK.
Import and prepare the Enterprise JavaBean (EJB) application so that you can deploy to workload Deployer:
Download the Surveyejbear.zip file (see the Download section of this article).
Start the Import Wizard (right-click the Enterprise Explorer View and select Import > Import).
Select General > Existing Projects into Workspace and click Next.
Select the Select Archive file's radio button to browse for and locate surveyejbear.zip files.
Select all items and click Finish.
Please note:
Workload Deployer does not automatically generate EJB deployment code.
Generate deployment code for the EJB project (right-click the SURVEYEJB in the Enterprise Explorer view and choose Java EE > Prepare for Deployment).
The workspace and sample application should now be set up correctly.
Figure 1. Workspace Project after initial setup