• Post Reply Bookmark Topic Watch Topic
  • New Topic

processing downloaded file offline  RSS feed

 
Sunil Pradhan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i got a problem.The situation is i have a servlet that listens to http post.in that listner i ll get a key and download a file from certain url.after getting the file i need to do a bulky processing.This approach made my servlet slower and it takes time to respond back..What i need is to process the file offline and send a response as soon as i downloaded the file..

please help me on this.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was a pretty long discussion about threading and long running processes last week.
http://www.coderanch.com/t/363072/Servlets/java/MVC-App-which-has-LongRunningProcess
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!