The J2EE Activity service (JSR 95) defines the J2EE middleware framework on which extended Unit of Work (UOW) models can be constructed. An extended UOW model might simply provide a means for grouping a related set of tasks that have no transactional properties or it may provide services for a long-running business activity that consists of a number of short-duration ACID transactions.
The J2EE Activity service specification (http://jcp.org/aboutJava/communityprocess/final/jsr095/index.html) defines the interfaces and behavior of the Activity service such that vendors may implement high-level services (HLS) that use these interfaces to provide the desired extended transaction, or other unit of work, models.
OverviewThe primary purpose of the Activity service is to provide a means to integrate a wide variety of extended transaction services with the J2EE Application server in such a way that:
- the extended services can be managed by the application server without the application server needing to understand the details of each service.
- the extended services can be implemented to be portable from one application server to another. The portability of applications that use the extended services will be ensured by the provision of portable extended services.
The J2EE Activity service reference implementation (RI) provides source code for an implementation of the Activity service, implementing the interfaces of the javax.activity package described in the J2EE Activity Service specification.
The J2EE Activity service technology compatibility kit (TCK) includes a suite of tests that any implementation of the Activity service must pass in order to claim compatibility. The TCK includes a test harness which acts in the role of a HLS.
The RI and TCK downloads include documentation describing their contents, how to use the downloads and how to rebuild the RI and TCK code. Read the ‚Äúreadme‚ÄĚ file in the root directory of each download to learn how to get started with the RI and TCK and where to find the detailed documentation.
Get the specification and related material
The J2EE Activity service Reference Implementations (RI) and Technology Compatibility Kit (TCK) are available from:
- J2EE Activity service Reference Implementations (RI) – https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/jsr95/jsr95_ri.zip
- J2EE Activity service Technology Compatibility Kit (TCK) – https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/jsr95/jsr95_tck.zip
The specification and other information related to JSR 95 is available at the JSR-095 JCP and Specification Page.