This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If the app is distributed, there's one ServletContext per JVM!

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If an application is distributed ,i mean in a clustered environment where should be the data stored so that all parts of a web application can access that data??

"if the app is distributed, there's one ServletContext per JVM!"

 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you'll have to persist it to a database or file to do that...
 
Vinod K Singh
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Application servers have capability to replicated such data across all nodes in the cluster.
 
Ankitt Gupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think Ankit is right
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vinod K Singh wrote:Application servers have capability to replicated such data across all nodes in the cluster.


I also thought the same , but while on Google search i found that we can also use JMS (Topics) for siultaneous server updated which will be very Messy code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic