EJB.THREAD
Avoid starting, stopping, or managing threads in any way
Description
This rule flags code that calls a thread method from an EJB class.
Starting, stopping, or managing threads usage restriction eliminates the possibility of conflicts with the EJB container's responsibility of managing locking, threading, and concurrency issues.
Reference
Sanjay Mahapatra, "Programming restrictions on EJB." JavaWorld, August 2000.
|