jsr342-experts@javaee-spec.java.net

[jsr342-experts] Re: Standardizing the bootstrap order

From: Jim Knutson <knutson_at_us.ibm.com>
Date: Fri, 6 Jan 2012 14:54:25 -0600

Adam Bien <abien_at_adam-bien.com> wrote on 11/11/2011 05:33:30 AM:
> it seems like in Java EE 6 the order in which the different
> containers (JPA, WebContainer, EJB, CDI) are starting is undefined.
> Is mostly "right", but still undefined.
>
> I think it should be standardized (also configurable?) in Java EE 7,

Sorry for the late reply, but I've been out on a long (needed) vacation.

Can you elaborate on why you think this is needed? From my perspective,
there are generally two phases:

1. Prep the app to receive inbound work.
2. Start delivering work

The only reason to have a container start order is if there's something
very funny about the Prep the app to receive inbound work phase that is
causing dependencies across containers and the containers are not smart
enough to sync up appropriately.

Thanks,
Jim Knutson
WebSphere Java EE Architect