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.
Browse the code to see what it does, or build and run it yourself:
- Building and running with Maven
- Using Eclipse and WebSphere Development Tools (WDT)
- Downloading WAS Liberty
- Run the sample manually from the command line
- Take a deeper look at the sample application
- [Organizing the project to support WDT publish and deploy within Maven build] (/docs/Using-Maven-With-WDT-Published-App.md)
- 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.
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.