Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
paritosh pandey
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic