• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to mark application as distributed in web.xml ?

 
Vivek Kr Singh
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From JavaDoc of javax.http.ServletContext
In the case of a web application marked "distributed" in its deployment descriptor, there will be one context instance for each virtual machine. In this situation, the context cannot be used as a location to share global information (because the information won't be truly global). Use an external resource like a database instead.

How to mark application as distributed in web.xml ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!