Using threads in a WebSphere application
 Technote (FAQ)
 
Problem
Is it okay to use threads in a Websphere® application?
 
Solution
In most cases the answer is no.

The EJB specification disallows it for all EJBs. It is discouraged in Web modules by the J2EE specification.

However, WebSphere may allow the thread to be created. It will not have a J2EE context associated with it. A likely problem is the inability to do JNDI lookups. Other functions, such as security, that need this context will not work.

WebSphere Application Server Enterprise Edition Version 5 and WebSphere Application Server Version 6 both enable using separate threads through the Asynchronous Beans function.

 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1113508
IBM Group: Software Group
Modified date: Mar 31, 2006