About Question enthuware.oce-ejbd.v6.2.433 :

Moderator: admin

Post Reply
evefuji
Posts: 21
Joined: Fri Apr 11, 2014 8:57 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.433 :

Post by evefuji »

the timers obtained in getTimers are only of current client or of all applications?

admin
Site Admin
Posts: 8791
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.433 :

Post by admin »

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.

evefuji
Posts: 21
Joined: Fri Apr 11, 2014 8:57 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.433 :

Post by evefuji »

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.

admin
Site Admin
Posts: 8791
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.433 :

Post by admin »

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest