Top Spring Batch Interview Questions

Frequently Asked Spring Batch Interview Questions

What is Spring Batch ?

Spring batch is a lightweight framework that is used to develop batch application.It is generally used in high volume batch job.

What is batch process ?

Batch process is a type of process in which a series of task are executed without user intervention.Tasks are executed automatically.

Where batch processing is used ?

It is generally used in enterprise application where large volume of data is used to perform.For example in enterprise application is tested on large data periodically.

Give few example of function that spring batch does ?

  • Logging
  • Restart task
  • Transaction management

Mention few features of spring batch ?

  • Scalable
  • Reliable
  • Flexible
  • Maintainable

What are the main component in spring batch ?

  • Application : It contains job
  • Core : It executes job
  • Batch Infrastructure : It contains reader , writer and services that is used by both application and core.

What is job ?

In spring batch job is batch job that contains set of step that are executed automatically without manual intervention.

What is step in job ?

In spring batch step is independent part of job that execute the part of job. Each step contains ItemReader, ItemWriter and ItemProcessor.

What is ItemReader ?

In spring batch ItemReader reads data into spring batch from a source.

What is ItemWriter ?

In spring batch ItemWriter writes data from spring batch to a destination.

What is ItemProcessor ?

In spring batch ItemProcessor is a processing class that processes data read in spring batch.For every record in spring batch processor is executed.It is an optional.Using ItemProcessor we can transform items before sending to ItemWriter.

What is JobLauncher ?

In spring batch JobLauncher is an interface that executes spring batch job with given parameters.

What is JobInstance ?

In spring batch JobInstance is an logical entity of job when job is running.




Visit Others Links

Interview Questions Top Elasticsearch Interview Question
Top Kubernetes Interview Question
Top HTTP Interview Question
Top PouchDB Interview Question
Top Pivotal Cloud Foundry (pcf) Interview Question
Top Apache Camel Interview Question
Top Docker Interview Question
Top Gradle Interview Question
Top Generics Interview Questions In Java
Java 9 Interview Questions
Top Maven Interview Question
Top RabbitMQ Interview Question
Top Spring Batch Interview Question
Top Spring Boot Interview Question
Top Tika Interview Question
Top Kotlin Interview Question
Top OpenShift Interview Question
Top Polymer Interview Question
Top WebGL Interview Question
Top Continuous Integration Interview Question
Top Spring Cloud Interview Question
Top JOGL Interview Question
Top JFreeChart Interview Question
Java MultiThreading Interview Question
Top Spring ROO Interview Question
Top Seaborn Interview Question
Top TestRail Interview Question
Top LolCode Interview Question
Top Spring Transaction Management Interview Question
Top DynamoDB Interview Question
Top PySpark Interview Question
Top SaltStack Interview Question
Top Spring AOP Interview Question
© 2019 PreparationForInterview.com