Installing and Using WebSphere 8.5 Liberty Profile in RAD 9.0

Liberty profile speeds up server startup time and improves development productivity. In this article, we will discuss how to install and use WebSphere Application Server 8.5 Liberty profile from Rational Application Developer 9.0.

Installing Liberty Profile

When installing RAD 9.0, you need to make sure that the Liberty Profile tools are installed. If not, you can always launch IBM Installation Manager and add it at a later time.

image

Now, we will create a new server in RAD using Liberty Profile. We will download the necessary runtime code in the process.

Launch RAD 9.0, if it is not running already.

In the Servers view, right click and select New > Server.

image

Choose Liberty Profile as the server type. Click Next.

image

Click download or install link.

image

Choose to download Liberty Profile as shown above. Click Next.

image

Next to the Liberty Profile item, click the Add button.

image

Accept the license and click Next.

Create an empty folder where the runtime will be installed. In our case, I created C:\Users\wasadmin\Documents\WAS_Liberty_Profile.

image

Using the Browse button select the empty folder you had created earlier.

Click Finish.

image

If all goes well, you will see the success message as shown above. Click OK to dismiss it.

image

Click Next.

image

Click Finish. This will create the server.

image

Verify that in the newly created server is showing up in the Servers view.

image

Start the server. It should start within seconds.

Deploying an Application

To be able to deploy an application to the Liberty Profile server, it must be created with Liberty Profile as the target server runtime. Caveat: Normally, RAD lets you change the targeted server runtime at any time after a project is created. However, Liberty Profile can only be set when a project is created.

From the menubar, select File > New > Web Project.

image

Enter a name for the web project, such as HelloWeb. Click Next.

image

Carefully set the Target Runtime to Liberty Profile. Optionally, choose to add the web project to a EAR project.

Click Finish.

To deploy the app to the Liberty Profile server, simply right click the server in the Servers view and select Add and Remove.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s