Originally posted by anagha patankar: Hello , Wondering in a clusetered environment how the application servers share across the network the HttpServletRequest and HttpServletSession object ?
I tried checking the application server implementation classes and wastnt able to find implementation classes making use of the serializable interface .
Regards , -anagha
In WebLogic there is in memory replication of session. You need to provide settings for that in weblogic.xml.
Say you have server1 & server2 in cluster. Now a session is created on server1. So server1 becomes primary for that session and session is replicated on server2, which is called secondary. When server1 goes down session automatically failsover to server2 which now becomes primary. Later if server1 is up again it will become secondary for that session.
Since all session data has to travel over network from primary to secondary so it has to be serializable.