Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ActionServlet instances

 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I'm new to Struts development. I have a basic quest. Is there just one instance of the Struts ActionServlet that is shares across all requesting clients in ideal conditions?

I know one can have multiple controllers but that's nor recommended. SO in normal condition incase you are providing your own controller (by entending struts controller) how many instances are there in the JVM for that partucular controller servlet?

Thanks
Reema
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think, one instance per JVM or one instance per application if it is deployed on single server...

 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not read about this anywhere so that I take it for granted!
But I think it all makes sense to have only a single instance of the controller component per web app.

Anybody pls. correct me if I'm wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic