quality@glassfish.java.net

Re: Order of injection for EJB's

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Tue, 19 Jan 2010 09:40:06 +0100

Hi Richard,

On Tue, Jan 19, 2010 at 09:26:04AM +0100, To quality wrote:
> @Stateless
> public class AFacade {
> }
>
> public class BFacade {
> @EJB
> private AFacade aFacade;
> }

Just a quick question. What kind of class is BFacade? Is it a session
bean as well? Did you omit to mention an @Stateless annotation on the
class by accident or is it missing?


Thanks, Wouter

-- 
There is a theory which states that if ever anyone discovers exactly what the
Universe is for and why it is here, it will instantly disappear and be replaced
by something even more bizarre and inexplicable.
There is another theory which states that this has already happened.
[The Hitchhiker's Guide To The Galaxy]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven