Skip to main content
This revision made May 16, 2013 21:19, by ScottKurz

WARNING: THIS PAGE HAS LAGGED BEHIND THE RELEASE AND IS NOT CURRENTLY UP TO DATE.

We will update at the time we mark a "1.0" version for integration into Glassfish 4. In the meantime, please ask on the public mailing list for the latest details




Spec

Reference Implementation (RI)


The RI is packaged into distinct SE, EE distributions. The SE package is available as a zip download, while the EE distribution is available via Maven.

The only difference between the two versions is a pair of config files. The Java code is identical, though some classes, such as the function integrating with JTA via JNDI, will not be active "out of the box" on an SE platform.

These config files are

  • META-INF/services/batch-config.properties
  • META-INF/services/batch-services.properties

So this nets out to the fact that a given version of the SE RI zip should correspond to a specific set of EE RI artifacts in Maven, except with different values within the batch-config.properties and batch-services.properties files configuring the JSR 352 RI for SE and EE, respectively.

See change history for details

SE RI


SE RI

SE RI.

EE RI

JAR Description
API This includes the JSR 352 specification-defined API.
Runtime This is the core implementation of the batch container.
RI SPI This layer allows programmatic config, and plugin to the Glassfish (or theoretically another) environment as "host"

SE TCK

Binary

Documentation


The TCK Reference Guide is a PDF in the TCK zip at path: doc/jsr352-tck-reference-guide

Maven:


Note the project was not developed primarily as an open-source project using Maven but rather part way through we decided to export via Maven. This explains the lack of conformance to typical Maven conventions and also the use of aggregation via the 'maven-shade-plugin'.

RI/TCK Source


  • HTTP browse
  • Git Checkout URL: git://java.net/jbatch~jsr-352-git-repository
  • Recommended Git version: 459973afa736613630666e76e1f40bdec9f23e01


RI/TCK tracking


Expected results


 [testng] ===============================================
 [testng] JSR352 TCK SE
 [testng] Total tests run: 155, Failures: 0, Skips: 0
 [testng] ===============================================
Difference compared to previous revision
[testng] =============================================== [testng] JSR352 TCK SE [testng] Total tests run: 155, Failures: 0, Skips: 0 [testng] =============================================== = RI Change History The fact that OSGi manifest changes are tagged as EE-only reflects the fact we haven't spent time using OSGi with the SE distribution. == 2013-05-17 * '''Internal build id''' - 0422d * '''Maven version''' - 1.0-b28 {|- border="2" ! Editions affected ! Description |- | '''EE''' | Adjust OSGi bundle names, numbers to align with Glassfish Maven<->OSGi artifact name mapping norms |- | '''EE''' | Update API OSGi manifest to include CDI imports |- | '''Both''' | Add package-level Javadoc info for API packages. |- | '''Both''' | Log JSL validation errors w/ logger.warning msg - [http://java.net/jira/browse/GLASSFISH-20418 GLASSFISH-20418] |- | '''Both''' | Wasn't calling listeners on partitioned threads [http://java.net/jira/browse/GLASSFISH-20440 GLASSFISH-20440] |- | '''Both''' | Remove extra chunk exception wrapper. |- | '''Both''' | Perform rollback after catching Throwable and do so in finally clause. |- | '''Both''' | Readers and writers are closed in chunk tran instead of new tran in rollback/exception cases |} == 2013-04-22 * '''Internal build id''' - 0422d * '''Maven version''' - 1.0-b28 This was the first delivery marked "Final Release".
 
 
Close
loading
Please Confirm
Close