>From my understanding, enterprise beans should NOT create/manage thread. The
EJB container is responsible for managing system-related functionality such
as security, threading, resource pooling, and so on.

http://java.sun.com/blueprints/qanda/ejb_tier/restrictions.html#threads

So, seems to be dangerous to do that !

Regards,
Jean-Louis



is_maximum wrote:
> 
> I have a problem when I want to lookup my session beans. 
> I have declared @EJB on the session bean in which a POJO class will be
> created using reflection and will be executed in a separate thread. 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-in-looking-up-local-interfaces-and-reflection-tp22413263p22554840.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to