users@glassfish.java.net

Re: Reentrant calls in SFSB

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Fri, 04 Nov 2011 15:36:28 -0700

Did you mark your bean as reentrant?

-marina

Pedro Kowalski wrote:
> Howdy!
>
> Just wonder - why the reentrant calls in SFSB are not supported in
> Glassfish? I'm using a 3.3.1 version and cannot execute the following
> code:
>
> ctx.getBusinessObject(MyService.class).myMethod();
>
> I've put more detailed example at StackOverflow:
> http://stackoverflow.com/questions/8002848/invoke-transactional-method-within-the-same-sfsb
>
> Is there any part of the EJB specification that states such calls
> should not be allowed?
>
> Thanks in advance,
> Pedro
>