Show TOC

Background documentationUsing Threads Locate this document in the navigation structure

 

Portal applications cannot use Java server thread management directly, because it is available only for Java EE services. To implement threading functionality, we recommend using existing Java EE mechanisms, such as Message Driven Beans or EJB Timers.

In case an application must use a thread, you can use the java.lang.Thread API. However, we do not recommend using this API because this may result in unexpected behavior.

Note Note

A portal application must never pool the threads it uses because of the thread context information stored inside each request for processing threads.

End of the note.