Features include:
• Chunk based processing
• Declarative I/O
• Start/Restart/Skip capabilities
• Transaction management
• Scalability options including:
• Multithreaded steps
• Parallel steps
• Partitioning
• Remote chunking
• Web administration interface
Potential Use Cases
• ETL processing
• Multithreaded processing
• Master/Slave configurations
• Nightly batch processing
• Vulnerability Scanners?
Core
Infrastructure
Application
What is a Job?
What is a Step?
What is an Item?
ItemReader
ItemWriter
ItemProcessor
Step1
ItemReader
ItemWriter
ItemProcessor
Step2
ItemReader
ItemWriter
ItemProcessor
Step3
Job
Declarative Item Reader/Writers Included:
• XML
• JDBC
• JPA
• Flat Files
• Hibernate
• Spring Services
• JMS
• Custom
ItemReader
ItemWriter
ItemProcessor
Step1
ItemReader
ItemWriter
ItemProcessor
Step2
ItemReader
ItemWriter
ItemProcessor
Step2
ItemReader
ItemWriter
ItemProcessor
Step2
ItemReader
ItemWriter
ItemProcessor
Step3
MultiThreaded Step
ItemReader
ItemWriter
ItemProcessor
Step1
Parallel Steps
ItemReader
ItemWriter
ItemProcessor
Step2b
ItemReader
ItemWriter
ItemProcessor
Step3
ItemReader
ItemWriter
ItemProcessor
Step2a
ItemReader
ItemWriter
ItemProcessor
Step1
Remote Chunking
ItemReader
ItemWriter
ItemProcessor
Step2a
ItemReader
ItemWriter
ItemProcessor
Step3
ItemReader
ItemWriter
Step2
ItemReader
ItemWriter
ItemProcessor
Step2a
ItemReader
ItemWriter
ItemProcessor
Step2a
ItemReader
ItemWriter
ItemProcessor
Step1
Partitioning
ItemReader
ItemWriter
ItemProcessor
Slave2
ItemReader
ItemWriter
ItemProcessor
Step3
Master
ItemReader
ItemWriter
ItemProcessor
Slave1
ItemReader
ItemWriter
ItemProcessor
Slave3
What Spring Batch is not
• Lightweight….or heavyweight
• A silver bullet
• A scheduler
How does Spring Batch work?
Pray to demo gods now…
What’s next?
Images provided by:
Koyota
http://www.flickr.com/people/tanack/
Amy Barker
http://www.flickr.com/people/gadgetgirl70/
Carl A
http://www.flickr.com/people/lastbeats/
jp1958
http://www.flickr.com/people/jp1958/
judepics
http://www.flickr.com/people/judepics/
tanack
http://www.flickr.com/people/tanack/
ppl_ri_images
http://www.flickr.com/people/ppl_ri_images/
allthingsmichigan
http://www.flickr.com/people/allthingsmichigan/

testdocument test java programimng test.pptx

Editor's Notes

  • #3 Reusable components for the following Chunk based processing I/O – Declaritive Start/Restart/Skip capabilities Transaction management Scalability options including Multithreaded steps Parallel steps Partitioning Remote Chunking Web administration interface
  • #5 Application tier = custom code/business logic. Core tier = batch stuff (Job, Step, etc). Infrastructure = I/O, transactions etc.
  • #7 A Job is the definition of a process to be executed from start to finish without interruption.