• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic