File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Download / Upload file aynchronously Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Download / Upload file aynchronously" Watch "Download / Upload file aynchronously" New topic

Download / Upload file aynchronously

pendse anagha
Ranch Hand

Joined: Mar 09, 2005
Posts: 44
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 .
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

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.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Download / Upload file aynchronously
jQuery in Action, 3rd edition