About Question enthuware.oce-ejbd.v6.2.433 :
Moderator: admin
-
- Posts: 21
- Joined: Fri Apr 11, 2014 8:57 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.433 :
the timers obtained in getTimers are only of current client or of all applications?
-
- Site Admin
- Posts: 10045
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.433 :
It returns the Timers associated with the bean. Please see this: http://docs.oracle.com/javaee/6/api/jav ... #getTimers()
If you like our products and services, please help us by posting your review here.
-
- Posts: 21
- Joined: Fri Apr 11, 2014 8:57 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.433 :
but, if the bean is stateless, the timer "of bean" is only that client, of this unique call or the all clients? Considering that stateless bean not maintain state between calls, the container not ensure the same bean not serve multiples clients.
-
- Site Admin
- Posts: 10045
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.433 :
Timers are for a bean not for a client. So it will return all the timers. BTW, only a stateless or a singleton bean can use timers.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 37 guests