jQuery in Action, 2nd edition*
The moose likes Web Services and the fly likes How to increase number of parellel ajax hits from same user!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to increase number of parellel ajax hits from same user!! " Watch "How to increase number of parellel ajax hits from same user!! " New topic
Author

How to increase number of parellel ajax hits from same user!!

paritosh pandey
Greenhorn

Joined: Jan 08, 2008
Posts: 10
Hi,
I am working on a struts based web application.I have deployed my application in jboss4.2.3 and sending multiple ajax request from my jsp(without waiting for response) page.Now the problem is that my ajax requests are executing in sequence .I want them to get executed simultaneously.Is there some kind of configuration setting I need to do in my jboss server. These rquest are internally invoking web service methods.[color=green][/color]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
That does not sound right. Are you completely sure that your JavaScript generates multiple requests "simultaneously"?

You could use FireFox LiveHttPheaders to see the exact sequence of event.

Bill
paritosh pandey
Greenhorn

Joined: Jan 08, 2008
Posts: 10
Actually the I am sending sequential ajax request to my server.Now the issue is that some of the requests are reaching to my action very late.So my guess is that some kind of object/thread pool is maintained at some level which waits for the previous requests to get executed.This behaviour is making my usr experiece very slow
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
So it sounds like you really have a JavaScript problem, not a web service problem. You should pursue the question of how to do simultaneous requests in the JavaScript forum.

Bill
 
Consider Paul's rocket mass heater.
 
subject: How to increase number of parellel ajax hits from same user!!
 
Similar Threads
security sandbox error while accessing applet from client machine.
Data truncation: Truncated incorrect DOUBLE value:
Web services implementation
jsf ajax calls are not working in internetexplorer 9
web services with JSP as front end.