servletcontext/config params when having multiple servers

servletcontext/config params when having multiple servers

Postby javalatte » Thu Feb 07, 2013 4:14 am

What happens to the ServletContext, ServletConfig paramters when a web application is run from multiple servers(may be to handle high traffic requests)? Do they have multiple instances for multiple servers or what?
javalatte
 
Posts: 55
Joined: Tue Jan 29, 2013 2:31 pm

Re: servletcontext/config params when having multiple server

Postby Kishan » Thu Feb 07, 2013 5:31 am

Context parameters limited for application and config parameters are limited for that servlet. When you are running same application in multiple servers then application in every server will be having its own context/config parameters.

When you are deploying same application then all servers having same value in it.
Kishan
 
Posts: 191
Joined: Tue Jan 29, 2013 4:21 am


Return to Servlets

Who is online

Users browsing this forum: No registered users and 1 guest

cron