You cannot define by these parameters which should be the best, because you need to consider lot of other factors as well. But with the given information by you this is what my opinion would be: -
1. Using a servlet would be a request/response mechanism and you make user wait for response. As you are saying that this is a bulk data process, I am not sure if your end user wants to wait for response. 2. Using JMS would provide you a asynchronous mechanism of decoupling your transaction processing. So you should provide user a status id of the transaction where he can come back and browse for the status. Hope this helps you in making a better judgement. RS On Mon, 19 Dec 2005 Karthik wrote : >Hi Form > > Please somebody specify > > Which Option [ advantages /limitations ] is Better ? > > 1) Using a Servlet to created a seperate Thread for processing a Bulk DB >Task [ Off the limits of session time] > 2) Using JMS to handle the Bulk DB Task. > >with regards >Karthik > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >