[ 
http://jira.jboss.com/jira/browse/JBAS-1443?page=comments#action_12315321 ]
     
Scott M Stark commented on JBAS-1443:
-------------------------------------

This should simply require adding a jboss.xml setting that set a 
allowConcurrentCalls to true when enabled and to update the 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor invoke method to only 
impose the concurrency check if requested:

   if ( allowConcurrentCalls == false && isCallAllowed(mi) == false )
   {
      // Concurent calls are not allowed
      throw new EJBException("Application Error: no concurrent " +
            "calls on stateful beans");
   }
   else
   {
      ctx.lock();
   }


> Add a flag to allow concurrent calls on stateful session beans
> --------------------------------------------------------------
>
>          Key: JBAS-1443
>          URL: http://jira.jboss.com/jira/browse/JBAS-1443
>      Project: JBoss Application Server
>         Type: Feature Request
>   Components: EJBs
>     Versions: JBossAS-4.0.1 Final,  JBossAS-3.2.7 Final
>     Reporter: Scott M Stark
>     Priority: Minor

>
>
> Weblogic has an allow-concurrent-calls proprietary tag for stateful session 
> beans. The allow-concurrent-calls specifies whether a stateful session bean 
> instance will allow concurrent method calls. The value of this element may be 
> either "True" or "False". The default value is "False". When a stateful 
> session bean instance is currently in a method call and another (concurrent) 
> method call arrives on the server, the EJB specification requires that the 
> server throw a RemoteException. By default, allow-concurrent-calls is false, 
> and the EJB container will follow the EJB specification. When this value is 
> set to true, the EJB container will block the concurrent method call and 
> allow it to proceed when the previous call has completed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to