IBM Modernized Runtime Extension for Java (MoRE) is an extension of WebSphere® Application Server Network Deployment (ND) 9.0.5 that enables you to run and manage Liberty servers from the traditional WebSphere environment. With MoRE, Liberty servers can be configured, clustered, and administered using familiar tools like the administrative console and wsadmin scripting.
In this interactive, hands-on lab, you'll explore the cutting-edge capabilities of WebSphere Application Server and MoRE—tools designed to supercharge your modernization journey.
Through guided modules, you'll deploy modern Jakarta EE and Spring Framework applications to a Liberty server or cluster, using the WebSphere Administrative Console and/or automation with wsadmin scripts. Whether you're modernizing legacy systems or building cloud-native apps, this lab is your launchpad into the next generation of enterprise application management.
This section guides you through the initial setup of the lab environment. Perform all tasks from the student virtual machine.
The lab environment is preinstalled with the following packages:
-
WebSphere Application Server Network Deployment (ND), version 9.0.5.24, running on Java SE 8
- Modernized Runtime Extension for Java (MoRE), version 1.0.0.1
-
WebSphere Liberty, version 24.0.0.6, running on Java SE 17
In addition, the environment is preconfigured with the following profiles and server instances:
- A Deployment Manager (
dmgr
), which serves as the central controller for the WebSphere cell.
After the instllation, follow this steps to create a Managed Liberty Server demo
.
- Launch the WAS Admin Console by selecting it from your browser bookmarks or navigating to the https://localhost:9043/ibm/console URL.
- Go to Servers → Server Types → WebSphere Application Servers →New....
- In the
Application servers
panel,
- Click Next on Step 2 and 3.
- Click Finish on Step 4.
- Click Save on the displayed message.
The next step is to deploy applications to the created Managed Liberty server.
After you have completed the installation, it is time to deploy Jakarta EE 10 or Spring Framework 6.x apps to your Managed Liberty Servers. This downloads contains a couple of apps to help you get started.
The app modResort utilises Jakarta EE 10 technologies. Clicking the above link to the app to download this war to your local system.
-
Launch the WAS Admin Console by selecting it from your browser bookmarks or navigating to the https://localhost:9043/ibm/console URL.
-
Go to Applications → New Application → New Enterprise Application.
-
In the installation panel:
- Under Path to new application, select Local file system and choose the WAR file
modresorts-2.0.0.war
downloaded earlier. - Set Target Runtime Environment to
WebSphere Liberty
- Under Path to new application, select Local file system and choose the WAR file
-
Choose Fast Path and click Next.
-
Leave Step 1 unchanged and click Next.
-
On Step 2, map the application module:
-
Under Cluster and servers, select the server
demo
. -
Check the box next to
modresorts-2.0.0.war
and click Apply. -
Confirm that the server
demo
is listed under the Server column for themodresorts-2.0.0.war
module.
Click Next.
-
-
On Step 3, confirm that the Context Root is set to
/resorts
and click Next. -
On Step 4, review the installation summary and click Finish.
-
After the installation completes, click Review.
Select Synchronize changes with Nodes, and click Save. Click OK when synchronization is complete.
-
Start the Managed Liberty server
demo
, by following the following instructions.
- Go to Servers → Server Types → WebSphere Application Servers →
- Click on the checkbox next to
demo
and click onStart
button.Both the server and the app should be started.
- Try out the application
- On a terminal window, go the
demo
MLS and then displayconsole.log
e.g. (cat /opt/IBM/WASND/profiles/AppSrv01/managedLiberty/usr/servers/demo/logs/console.log). - Find the endpoint for the
ModResort
e.g.http://9.46.96.145:9081/resorts/
. The following should be displayed.
The app Spring Petclinic utilises Spring Framework 6.x and Jakarta EE 10 technologies.
You can use the same steps as documented above to install this application.
Follow this instruction to deploy applications to a Managed Liberty Server cluster.