🚀 Master the language of AI with our brand new course: "Prompt Engineering for Everyone" Learn more

Offered By: IBM

Building a multi-module enterprise Java application with Maven and Open Liberty

You will learn how to build an application with multiple modules with Maven and Open Liberty.

Continue reading

Guided Project

Open Liberty

129 Enrolled
4.3
(23 Reviews)

At a Glance

You will learn how to build an application with multiple modules with Maven and Open Liberty.

A Jakarta Platform, Enterprise Edition (Jakarta EE) application consists of modules that work together as one entity. An enterprise archive (EAR) is a wrapper for a Jakarta EE application, which consists of web archive (WAR) and Java archive (JAR) files. To deploy or distribute the Jakarta EE application into new environments, all the modules and resources must first be packaged into an EAR file.
In this guide, you will learn how to:
  • establish a dependency between a web module and a Java library module,
  • use Maven to package the WAR file and the JAR file into an EAR file so that you can run and test the application on Open Liberty, and
  • use Liberty Maven plug-in to develop a multi-module application in development mode without having to prebuild the JAR and WAR files. In development mode, your changes are automatically picked up by the running server.
You will build a unit converter application that converts heights from centimeters into feet and inches. The application will request the user to enter a height value in centimeters. Then, the application processes the input by using functions that are found in the JAR file to return the height value in imperial units.

Estimated Effort

1 Hour

Level

Beginner

Skills You Will Learn

Java, Maven, Open Liberty

Language

English

Course Code

GPXX0J71EN

Tell Your Friends!

Saved this page to your clipboard!

Sign up to our newsletter

Stay connected with the latest industry news and knowledge!