Alex George wrote:So my concern is the jsp that I submit to the servlet to invoke the method will take a long time to get the response and eventually will time out (Is that okay. Do I have to be concerned about this?).
Alex George wrote:I need to post the request to the existing servlet to set price for each customer. So you think it is better to write a java program that form a url for each user and submit the request for each user. And call this small java program in command line.
Alex George wrote:I think what you are saying is that instead of writing a servlet at my end, I should write a regular java program and form a url object and submit this to the existing jsp/servlet in production for each user within a loop. This way I can specify some parameters in the method that form the url to pick up customers from 1 to 5000 in one call and 5000 to 10000 in another call and so on and get it done faster.