jsr345-experts@ejb-spec.java.net

[jsr345-experts] Non-reentrant instances and getBusinessObject

From: Carlo de Wolf <cdewolf_at_redhat.com>
Date: Fri, 30 Sep 2011 16:43:52 +0200

In light of EJB 3.2 Draft 2011-05-05 4.10.13 Non-reentrant is the
following allowed in a session bean:

1. public String aMethod() { return
ctx.getBusinessObject(MyLocalView.class).doSomething(); } ?

2. public String bMethod() { return
ctx.getBusinessObject(MyRemoteView.class).doSomething(); } ?

Carlo