Is it possible to have threading in ejb?
Answer / Rajendra Singh Gwal
{"yes": "Yes, it is possible to use threads in EJB but with limitations.","details": "EJB containers manage the thread creation and pooling, and they are responsible for creating new threads when required or reusing existing ones. However, developers cannot create threads directly. The EJB specification does provide the SessionBean interface's setRollbackOnly() method which can be used to roll back the current transaction and terminate the running thread."}
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the components of ejb?
How to invoke ejb from java client?
What are the differences between ejb 3.0 and ejb 2.0?
What are the key features of the ejb technology?
What is Introspection ?
What is enterprise bean?
How does a container, manage access, from multiple transactions on an entity bean?
How does ejbs work?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
Why serialization is used?
What are different Methods and Classes written in a Session Bean
ejbCreate in Entity bean and create method in EJB home, have the same parameters?