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?).
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
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.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
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.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
SCJP, SCWCD.
|Asking Good Questions|
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |