• 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

rrequest execution question

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
we have a servlet,which acts as a controller,and forward request to action depending on action name(command pattern).
action class we instantiate at the start of the server,and store in hashmap.
My question is if multiple reuest comes to same action at the same time what will happen?
it will go on queue and request executed one by one or it will execute parallaly.
Thanks in advance.
 
Ranch Hand
Posts: 159
Eclipse IDE C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It will execute in paralel.
I thought you should lock on your session context I think if you don't want this (I read this somewhere but I forgot exactely how it works)

But isn't this a question for the JSP forum ?
There you'll find people who can answer your question much better then I can.
 
reply
    Bookmark Topic Watch Topic
  • New Topic