This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have a question about deploying web applications in remote managed servers.Lets say for example I have two web applications-app A and app B.app A is a security based application that is required by app B for login/authentication purposes.Now lets say that app A is deployed on one remote managed server and app B on another remote managed server with both remote managed servers having the same port.Having said that app B needs app A for its functions,will this set up work?
1. If you are trying SSO, then you need to have both managed servers within same domain connected to same Authentication Security Provider.
2. You should have same JSESSION Cookie ID for both applications
3. You should have a Web Server / Load Balancer in front of the managed servers so the FQDN (Fully Qualified Domain Name) URL is same.