Glassfish 4 will implement the Java EE 7 specification, which includes JSR-352: Batch Applications for the Java Platform. An implementation of this is currently available via the Glassfish nightly builds - the official release is fast approaching.
Here Jonathan Jones takes the first steps to understanding JSR-352 by creating a very simple Batch Job and a Servlet based interface to start, restart and view information on jobs. It may be a while before companies move to adopt JSR-352 but Java EE professionals can gain a head start by familiarising themselves with the specification and learning how to code long running batch jobs on the Java platform.
The full post is available at: http://www.planetjones.co.uk/blog/25-05-2013/introducing-jsr-352-java-batch-ee-7.html