# Introducing Layrry: A Launcher and API for Modularized Java Applications

DevFeed: [Introducing Layrry: A Launcher and API for Modularized Java Applications](<https://devfeed.tech/articles/introducing-layrry-a-launcher-and-api-for-modularized-java-applications-18837.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/introducing-layrry-runner-and-api-for-modularized-java-applications/>)

Published: 2020-03-29T19:31:00Z

Content type: tutorial

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [App](<https://devfeed.tech/topics/app.md>), [log4j](<https://devfeed.tech/topics/log4j.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [java](<https://devfeed.tech/tags/java.md>), [log4j](<https://devfeed.tech/tags/log4j.md>), [modular](<https://devfeed.tech/tags/modular.md>), [module](<https://devfeed.tech/tags/module.md>), [modules](<https://devfeed.tech/tags/modules.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

This article introduces Layrry, an open-source launcher and Java API for executing modularized Java applications. It explains how Layrry assembles dependencies from Maven coordinates and uses module layers to support scenarios such as running different versions of a module in separate layers.

## Source excerpt

Table of Contents Why Layrry? An Example Module Layers to the Rescue The Layrry Launcher Using the Layrry API Next Steps One of the biggest changes in recent Java versions has been the introduction of the module system in Java 9. It allows to organize Java applications and their dependencies in strongly encapsulated modules, utilizing explicit and well-defined module APIs and relationships. In this post I'm going to introduce the Layrry open-source project, a launcher and Java API for executing modularized Java applications. Layrry helps Java developers to assemble modularized applications from dependencies using their Maven coordinates and execute them using module layers. Layers go beyond the capabilities of the "flat" module path specified via the --module-path parameter of the java command, e.g. allowing to use multiple versions of one module within one and the same application.