quality@glassfish.java.net

Re: Order of injection for EJB's

From: Richard Kolb <rjdkolb_at_gmail.com>
Date: Tue, 19 Jan 2010 10:47:23 +0200

Hi Wouter

2010/1/19 Wouter van Reeven <wouter_at_van.reeven.nl>

>
> 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 for seeing that.
Yes , sorry it i also stateless

More accurately to my application is using the following :
@Stateless
@TransactionAttribute(TransactionAttributeType.MANDATORY)

regards
Richard.