D. Entity, mapping, service and repository

Git Link

  1. Git Project
  2. Spring Batch on GIT

In this section we create the services, database entity and repository.

Architecture



Package configuration
  • com.java.spring.service : For spring service
  • com.java.spring.repository : For repository, access to DB (DAO)
  • com.java.spring.repository.entity : for mapping POJO and DB Table.
  • com.java.spring.controller : REST Controller for the job
At this point you can access and start the Job on the URL : http://localhost:8080/launchjob

Comments