Wednesday, August 17, 2005

JSR 237

Java SE has java.util.concurrent. But hey, how do you do it for Java EE without breaking Java EE specs? Behold, the answer is near at hand. JSR 237 aims to provide concurrent execution model on Java EE space. This means, all the longing for a multi-threaded enteprise application can now have a viable solution. Here's the excerpt from the JSR. Read on:

The Work Manager for Application Servers specification will contain an API that provides a simple, container-manageable programming model for concurrent execution of work. These work items execute out of a thread pool managed by a container. The Work Manager API provides a higher level of abstraction for concurrent programming than java.lang.Thread, which is inappropriate for use by applications hosted in managed environments such as EJB containers and Servlet containers.

This API can be used within any environment, but is specifically designed for the requirements of managed environments.

This specification does not require any changes to existing Java 2 Enterprise Edition (J2EE) APIs or deployment descriptor formats. Components can access the work service through a lookup in the local Java environment in JNDI, provided the container supports this API and the application has been properly configured.


Look Ma! My EJB multi-threads!

Support JSR 237!

richard@work

No comments: