Simple instructions to get you started with Liberty
csadtler 1000000C9U Visits (5498)
If you have heard about Liberty but haven't had a chance to take it for a test run, these instructions can get you started. Everything you need can be found at the WASdev web site, including links to prerequisites, Liberty code, and information on using Liberty.
The Liberty profile requires a Java™ Runtime Environment (JRE) to run in. The Liberty profile server runs on Java version 6 or above provided by any vendor. A full list of supported Java versions can be found in the WebSphere Application Server information center under Liberty profile: Runtime environment known restrictions.
Start by downloading and installing the WebSphere Application Server Developer Tools for Eclipse. You will need to install Eclipse first, then install the developer tools into Eclipse. The simplest way to perform the installations is to go to the WASdev download page, find the section for WebSphere Application Server Developer Tools for Eclipse, then select a Download button as shown below:
When you click the button, for example Download (for Eclipse Juno), you will see the following instructions for installation:
First, click the link to the Eclipse site and follow the instructions to download and unzip Eclipse. Run eclipse.exe to open the Eclipse workbench.
Then return to these download instructions and follow the instructions to install the developer tools. This is simply a matter of dragging and install button from the web page to your Eclipse toolbar (the bar at the top where the Welcome tab is located, and stepping through the installation wizard.
Next, install the Liberty profile runtime. In the Eclipse workbench, select File > New > Other > Server > Server and click Next. Select WebSphere Application Server V8.5 Liberty Profile from the available server list and click Next. Since the Liberty runtime environment has not been installed, click the Download or install link. Choose the option to download and install the new runtime, select IBM WebSphere Application Server V126.96.36.199 Liberty Profile from the list of download sites and click Next. Continue through the panels of the wizard to complete the installation of the Liberty runtime. After installation, the wizard returns to the New Server Runtime Environment page. Click Next to complete the process of creating the Liberty server.
When setup is complete, you will see the new server displayed in the Servers view of your workbench. You will also see a row of icons above the list of servers that can be used to stop and start each server.
You are now ready to develop your applications. The IBM Redbooks publication WebSphere Application Server Liberty Profile Guide for Developers contains a lot of useful information to help you during the development process. When you are ready to test your application, you can deploy your application directly from the workbench. Simply drag the application from the navigation view to the server in the Servers view: