Over a million developers have joined DZone.

A Realistic JBatch Example

· Java Zone

Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies

While very basic introductory examples are invaluable in explaining a new API, they can fail to do a rich API justice - especially from the perspective of more experienced developers. For some of us, looking at a slightly more involved, realistic example can shed far better light on the practical value proposition for a technology. A very well written recent blog post on the AMIS technology blog does exactly that for the JBatch API standardized in Java EE 7. The author uses JBatch features such as the Job Specification XML, chunked processing, parameter passing, batchlets, job/step listeners, the job context and integration with Java EE in a non-trivial fashion to create an online download manager. I would say if you are interested in JBatch, the blog entry is almost a must read and perhaps one of the best ones written on JBatch so far.

At JavaOne 2013 IBM Distinguished Engineer Brian Martin presented a very useful session on JBatch titled "Three Key Concepts for Understanding JSR 352: Batch Applications for the Java Platform". Stay tuned to Parleys.com for video of the session to be published. The well-written official specification is also a great place to learn more about JBatch.

Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM.  Brought to you in partnership with CA Technologies.

Topics:

Published at DZone with permission of Reza Rahman, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}