Configuration of sharing Http Session
Weblogic-Application.xml
<?xml version = ‘1.0’ encoding = ‘windows-1252’?>
<application xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd” version=”5″ xmlns=”http://java.sun.com/xml/ns/javaee”>
<display-name>application2</display-name>
<module>
<ejb>ejb1.jar</ejb>
</module>
<module>
<web>
<web-uri>session1test_ViewController_webapp.war</web-uri>
<context-root>session1test-ViewController-context-root</context-root>
</web>
</module>
<module>
<web>
<web-uri>session4_ViewController_webapp.war</web-uri>
<context-root>session4-ViewController-context-root</context-root>
</web>
</module>
</application>
Persistent User Session Management
– Pros: Fast & Not many changes in RIS-I
– Cons: Possible failure case in failover.
2.Database:
– Pros: Safe on many failover.
– Cons : Will be slower than memory