[javaee-spec users] Re: [jsr366-experts] Re: Fwd: Re: One container to rule them all

From: arjan tijms <>
Date: Sat, 24 Jan 2015 01:48:00 +0100


On Sat, Jan 24, 2015 at 1:18 AM, Bill Shannon <> wrote:
> Once there's a module system in Java SE, what I'm expecting in Java EE is that we will define how to package an application composed of modules for deployment to a Java EE app server. And we'll define how to deploy "shared modules" for use for applications. We likely will also define the modules (names, version numbers, whatever) that the Java EE app server must appear to support, for use in dependency references from applications.

My hope is that this module system for applications will be a more
modern replacement for the existing EAR structure.

While I think the separate EJB module was originally largely just a
requirement side-effect since it was the only thing where EJB beans
could exist, we currently use it to have a certain amount of layering
in the application. Business code (not necessarily EJB beans) go into
the EJB module(s), while web artifacts go into the Web/WAR module(s).
If one extra layer is required we deploy multiple ears that logically
all belong to a single application to an AS.

I wonder if with modules in place the EAR structure would be largely

Kind regards,
Arjan Tijms