Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Download / Upload file aynchronously

 
pendse anagha
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I need to download / upload files in my application .
However the file sizes sometimes are huge and number of records easily run into millions .

This functionality has to be implemented from the web page
i.e. Cannot convert this into a batch job.

However - can someone throw some light / ideas if I think of
uploading the file into a tanle in Oracle as a CLOB
and then some back end process will pick the file up - parse it and do necessary inserts / updates ?

Could someone throw some light on what the best way to implement would be ?

Thanks in advance .
-satish
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could upload these files to a directory, and create a java.util.Timer which polls this directory periodically to find out if there are any new files to process.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic