Solved

Spring Batch application

Posted on 2013-11-08
1
375 Views
Last Modified: 2013-12-24
Hi,
I have a simple application thats i wrote.  This application is launched via Control-M so essentially its a job that runs on a scheduler...

I wrote it in java.  I would re-write it using spring batch.  I've never worked with spring batch before so i would just like to quickly break down what my current application does and see which components / parts of it i can convert using spring batch.

Process (very straight forward - 6 steps):
1 go to ftp
2 grab files
3 read lines in file
4 convert each line into some type of records
5 do some data manipulation with the records
6 create Json strings and send them further into the pipeline.

thats it.  this job is called at a certain time and runs daily.

Which part of this can i modify to use spring batch? - From what i've read, i can convert step 1, 2, 3.  Am i right or is spring batch more powerful and can do more?

Thanks,
0
Comment
Question by:Squadless
1 Comment
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 39636537
Yes, Spring Batch can probably do 1, 2, 3 out of the box, with no coding on your part, just configuration. But it is highly likely that it can do the rest, just that you need to code the important parts yourself, ie. the actual code to do the conversion of lines of the file and the data manipulation. What Spring Batch provides though is the framework around such things, so you don't have to worry about coding the scheduling, or the pipeline between stages, or the retry handling, etc, etc. You just have to code the pure business logic, and then pass that to Spring Batch for it to manage the job, and the steps in the job.

If you are after advice on how to use it for specifically for your situation, then you would need to provide a bit more detail about the steps that you have listed.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 20
Python Assistance 7 81
Checkbox and ListView in Android Layout 4 65
Chrome and Firefox Java 5 32
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question