Results 1 to 4 of 4

Thread: Use Cases Supported in 1.0.0-Final

  1. #1

    Default Use Cases Supported in 1.0.0-Final

    Referring to the official Spring Batch website, nicely presented use cases are defined.
    http://static.springframework.org/sp...ses/index.html

    May I know which of them can be realized using the features in 1.0.0-Final?

    I am particularly interested in the following two use cases. If 1.0.0-Final supports these use cases, any samples can be provided to illustrate how to implement them?

    * Massively Parallel Batch Processing
    * Scheduled Processing

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    The scheduling use case as described is supported, to the extent that it ever will be (Spring Batch needs something external to trigger a JobLauncher, like a shell script). The 'massively parallel' use case is possible to implement with 1.0, but isn't directly supported out of the box yet. (Actually there is more than one way to approach it. The easiest is to flush to some durable middleware on a chunk boundary.) I have some proof of concept code that I will be publishing shortly. I chose to implement it with Spring Integration, which makes it much easier, but any kind of durable middleware could be adapted to the same pattern natively as well.

  3. #3

    Default

    In the Massively Parallel Batch Processing use case, it mentioned a class org.springframework.core.batch.support.provider.Pa rtioningInterceptor . But I cannot find this in 1.0.0-Final api. May I know if it is achieved by another ways?

    Besides, I found that the use cases documentation at: http://static.springframework.org/sp...ses/index.html are very useful. But it seems contains some out-of-date details, which are still referring to mx versions things like ItemProvider. Could you help to fix the use case documentation to avoid the confusion?

  4. #4
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    Thanks for pointing out that the inaccuracy. I've created an issue for tracking:

    http://jira.springframework.org/browse/BATCH-584

    Regarding the partitioning, the parallel sample job should serve as a good example.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •