Search code examples
jsfazurejavabeans

does Windows azure website instances make my application run in different instances?


I am developing a website using Java Server Faces and i have Application scoped Managed beans where i keep some dynamic data related to the whole application and i am hosting it on windows azure.

i am hosting it using tomcat with azure websites. but the problem is that i want to know when i put my website to run in more than 1 instances will it ruin my application scope, i mean that will each instance have its own application scope?? which is not what i want. if so how can i solve it ??


Solution

  • In Azure Websites, when you run in more than one instance, each instance runs on a different VM (free tier is the exception, as everything runs in a single instance).

    I don't see how your application scope would span across multiple virtual machines.