This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a flower (🌹) or copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java (📚) this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Best way to convert an old batch program application in Java

 
pioneer
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

We have an existing batch program application running on Unix which basically database transactions like reading input data from files and write to the database. We also have a web application using JDK 1.5, EJB 3.0, JPA, Hibernate, JBoss, JSF, JBPM, SOA, ESB, Seam framework, Oracle 10g etc.
Wondering what would be the best Java related technology to adapt to convert our old unix batch programs?
Currently we are just converting all the business rules into separate Java standalone application which we would execute from Unix shell scripts which are run through a job scheduler.


Thanks

Tariq
 
pioneer
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We have an existing batch program application running on Unix which basically database transactions like reading input data from files and write to the database



It depends. How big are the files? How often does this need to execute? Are the data files different from file to file? How time sensitive is the information getting into the database? How manual of a process is it now?

Writing some shell scripts to kick of some java code isn't a bad idea. You could also consider doing it with Groovy and removing shell scripts from the requirements. You could also look into a feed engine if you need something more robust and configurable. For example OSFE but that might be overkill for your needs.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!