jsr345-experts@ejb-spec.java.net

[jsr345-experts] Re: AccessTimeout

From: Adam Bien <abien_at_adam-bien.com>
Date: Wed, 9 Nov 2011 06:58:33 +0100

I saw your request - I just wanted to ensure, that it will also work with @Stateless after the decoupling :-)
On 09.11.2011, at 01:33, Reza Rahman wrote:

> Adam,
>
> I already filed this in JIRA: http://java.net/jira/browse/EJB_SPEC-4.
>
> Cheers,
> Reza
>
>
> On 11/8/2011 4:50 PM, Adam Bien wrote:
>> HI *,
>>
>> @AccessTimeout works exclusively for @Singletons.
>> @Stateless Session Beans could run to similar problems e.g. you can call a blocking method and block the particular instance forever.
>> This situation could be resolved with transaction-timeout, but only in case you are invoking the method in the scope of a transaction.
>>
>> Any thoughts?
>>
>> adam
>>
>>
>>
>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 2012.0.1869 / Virus Database: 2092/4605 - Release Date: 11/08/11
>>
>>
>>
>

 workshops: workshops.adam-bien.com
 press: press.adam-bien.com
 weblog: blog.adam-bien.com
 twitter: twitter.com/AdamBien

 Author of:
 "Real World Java EE Night Hacks", "Real World Java EE Patterns--Rethinking Best Practices"