This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Download / Upload file aynchronously Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Download / Upload file aynchronously" Watch "Download / Upload file aynchronously" New topic
Author

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 .
-satish
Paul Sturrock
Bartender

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Download / Upload file aynchronously
 
Similar Threads
Doubt in EJB Stubs
DLL - JAVA
Finding the modified date time of a file
finalize() method
java.net.UnknownHostException on Solaris