Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Spring Batch application

Posted on 2013-11-08
1
Medium Priority
?
380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

636 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