This sample makes use of the batch-1.0 and batchManagement-1.0 features of the WebSphere Liberty Profile. It uses the batchManager command-line utility to conveniently wrapper the REST-based remote dispatch and management interface.
It involves a three-step job, which generates some random data, performs a calculation on it (writing the result into the database), and then verifies the result.
The first time through you should start at the above link and step through in-order.
Once you are more familiar, here are some key shortcuts to the Wiki doc:
- Building and running with Maven
- Using Eclipse and WebSphere Development Tools (WDT)
- Using WDT and Maven at the same time
- Run the sample manually from the command line
- Take a deeper look at the sample application
- A nice set of documents describing Java Batch in WebSphere at various levels of detail (WP102544)
- Other WebSphere Liberty Batch links
- As noted in the maven integration page, this sample uses the Liberty maven plugin
- Uses ExpectIt for testing the batchManager command-line output
© Copyright IBM Corporation 2015, 2018.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.