A thin client insurance system being written using Struts and regular Java classes has a component where Batch processing needs to be done. The processing should be user initiated, prefereably using the thin client app.
As of now we are thinking of the following solution. The user updates batch preferences in a table. There is a Java program being run using a cron job that polls the table. If the user has set the status of a particular job to be started, the java program then does the needful and updates a flag in the same table indicating success/failure of the job.
Any comments/suggestions are welcome. Is there a better way to do this?
-
Batch Processing in a J2EE Environment (2 messages)
- Posted by: Sohail Sikora
- Posted on: December 17 2002 09:34 EST
Threaded Messages (2)
- Batch Processing in a J2EE Environment by Dmitriy Kopylenko on December 17 2002 13:48 EST
- Batch Processing in a J2EE Environment by Sohail Sikora on January 22 2003 15:08 EST
-
Batch Processing in a J2EE Environment[ Go to top ]
- Posted by: Dmitriy Kopylenko
- Posted on: December 17 2002 13:48 EST
- in response to Sohail Sikora
How about looking at the asynchronous messaging option using JMS.
D. -
Batch Processing in a J2EE Environment[ Go to top ]
- Posted by: Sohail Sikora
- Posted on: January 22 2003 15:08 EST
- in response to Dmitriy Kopylenko
Thanks for the post. JMS or any messaging was suggested and ruled out as the client will not be interested in acquiring new products. Also the module has been put on hold for now.