If the thread of execution of your polling stateless session bean cannot yield 
to other threads before it finishes execution (others may help you here), one 
work-around could be to split your polling into discrete tasks which can be 
invoked in succession but with time intervals between them.

If your design allows this splitting of polling, then you could convert your 
session bean into a stateful one and invoke the relevant method more often. The 
session bean could then perform one of the discrete polling tasks at each 
invocation. The bean's state can then be used to decide which polling task to 
perform each time.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870328#3870328

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870328


-------------------------------------------------------
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-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to