Results 1 to 2 of 2

Thread: Where are the jobRepository bean and dataSource bean located in Template Project

  1. #1

    Default Where are the jobRepository bean and dataSource bean located in Template Project

    When the Simple Spring Batch Project is selected from the Template Projects,
    the launch.xml file contains 2 beans for dataSource and jobRepository. where are they defined?

    Thanks.

  2. #2
    Join Date
    Sep 2008
    Location
    Chicagoland, IL
    Posts
    351

    Default

    I'm assuming you're referring to the template project in STS. If that's the case, both of those beans are defined in the launch-context.xml file found in the /src/main/resources directory of your new project. They are each created using the module specific schemas related to them (jdbc for the dataSource and batch for the jobRepository).
    Michael Minella
    Spring Batch Lead
    Author - Pro Spring Batch
    http://www.michaelminella.com
    Twitter: @MichaelMinella

Posting Permissions

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