Results 1 to 6 of 6

Thread: Batch processing in Java: billing online purchases

Threaded View

  1. #1
    Join Date
    Oct 2012

    Batch processing in Java: billing online purchases

    Hi everyone! I am writing my first serious batch processing application. The task is to create a bill from online purchases. The customer's purchase data are stored in a database. I have to create an XML file from this data every day and save it some where.

    So these are the steps that I think I should do:
    - Get the data for every unique customer from the database for the past day. If customer has more than one purchase at the batching time, sum all the purchases.
    - An XML file is created per each customer (The difficult part?)
    - Mark into the database those purchases that are processed/billed (so that next day they are not processed again)

    My questions are:

    Is that sequence of doing things right or are there other things to be considered?
    Are there any Java frameworks that I could use for this kind of batching purposes?
    Any hints or suggestions on building the structure of the XML elements?

    Thanks in advance
    Last edited by Atrisa Milani; 01-22-2014 at 09:57 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center