RE: Re: obtaining objects from 3rd party containers

From: Larry Cable <>
Date: Mon, 16 Jul 2007 07:51:46 -0700

FYI I am trying to get an IoC JSR 'spun up' for EE6/SE 7 ... watch this space, pls keep this within the EG
for now.
- Larry


From: Dhanji R. Prasanna []
Sent: Mon 7/16/2007 4:20 AM
Subject: Re: obtaining objects from 3rd party containers

On 7/16/07, Heiko Braun <> wrote:

        IMO this lies beyond the scope of this specification.
        Any JSR-311 implementation can always add functionality like
        this, but it's highly target container / framework depended.
        I.e. an 311 implementation may add capabilities to deal with spring
                private PersonDao dao; //injected by spring

I think perhaps I didn't make my case clear--I was *not* suggesting that we support spring or any external container. I was suggesting that we don't define our *own* container that would just be a minuscule subset of existing containers that are more likely to be used in many environments. Instead I suggest we provide an API for obtaining instances which can have a simple out-of-the-box impl for say the object-per-request scope.

As for the DI model in general for the EE platform, I intend to work with members of 299, 314, 315 and 316 to standardize on IoC and interop across the board in the EE platform.

Put another way, IMO an IoC container is out of the scope of this JSR.


Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.