Adding Java EE 7 Batch Addon to JBoss Forge ? – Part 4 (Tech Tip #30)

This is the fourth part (part 1part 2, part 3) of a multi-part video series where Lincoln Baxter (@lincolnthree) and I are interactively building a Forge addon to add Java EE 7 Batch functionality.

Part 1 showed how to get started with creating an addon, add relevant POM dependencies, build and install the addon using Forge shell, add a new command batch-new-jobxml, and add --reader--processor--writer parameters to the newly added command.

Part 2 showed how to identify classes for each CLI parameter that already honor the contract required by the Batch specification.

Part 3 showed how parameters can be made required, created templates for reader, processor, and writer, validated the specified parameters.

This part shows:

  • Fixed the issues from part 3 and generates new JobXML when reader, processor, and writer are specified
  • Added a new test to test the command
  • How Forge can be used in debug mode to debug add ons

Enjoy!

As always, the evolving source code is available at github.com/javaee-samples/forge-addons. The test code debugging will continue in the next episode.

Be Sociable, Share!
  • Tweet

One thought on “Adding Java EE 7 Batch Addon to JBoss Forge ? – Part 4 (Tech Tip #30)

  1. This is the right blog for anyone who hopes to understand
    this topic. You understand a whole lot its almost
    tough to argue with you (not that I really will need to…HaHa).
    You certainly put a new spin on a subject which has been discussed for decades.
    Wonderful stuff, just excellent!

    my site :: private charter flights cost

Leave a Reply

Your email address will not be published. Required fields are marked *