dev@glassfish.java.net

Re: Where is the Java EE 6 EDR?

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Fri, 16 May 2008 13:59:12 -0400

On May 16, 2008, at 1:23 PM, Vince Kraemer wrote:

> i was reading through the EJB 3.1 spec and hit a question that seems
> unanswered..
>
> If I have ejbs in a .war file... it looks like those ejbs can be
> used by a different web app in the same ear...
>
> If you can have webapp2.war "use" the beans in webapp1.war then
> there may be situations when an application assembler want to use
> the beans in a web app that they do not want to expose...

Hi Vince,

There isn't any explicit per-bean hiding concept for EJB components
within an .ear. Any EJB components exposing a local (or no-
interface) view are visible to all other modules in the .ear.
That's independent of whether the EJB components are packaged in
a .war or an ejb-jar.

>
>
> How do they say that?
>
> Since this seems like an app assembly question... I figured that the
> EDR for JSR-316 would have the answer... but I cannot find it...
>
> thanks,
> vbk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>