The Thread Manager and the message service

If you are using threads to implement a provider/consumer algorithm, or an asynchronous notification system, consider using the EAServer message service implementation described in the Java Message Service User’s Guide. The message service provides a ready-made infrastructure for solving these classes of problems.