An easy approach to extending Coherence*Web to enable session sharing.
Downloads Oracle Coherence & Oracle WebLogic.
permits a full session offload so Oracle WebLogic instances can be
focused on processing Oracle WebLogic requests; however, in some cases,
http sessions are large, and there is a trade-off between the benefits
of offloading the whole user session, and reducing the network usage by
offloading only the object that needs to be shared among the different
web applications. Coherence*Web and Oracle Coherence itself are built
with low-latency, non-blocking I/O as a prime function, but it still
takes time and bandwidth to transmit when working with large volumes of
data. In such situations, it would be useful to be able to select which
session attributes must be stored in the local storage of the Oracle
WebLogic instances, and which should be leveraged to an Oracle Coherence
The storage configuration in Coherence*Web can
be configured in a wide variety of ways. To balance between offloading
Oracle WebLogic instances and mitigating the performance lost by storing
the whole http session in an Oracle Coherence dedicated node, a subset
of session attributes can be stored in the Oracle Coherence external
cache via the use of a custom session distribution controller.
reason to offload some session attributes from Oracle WebLogic is to
share this set of attributes with web applications deployed in different
Oracle WebLogic clusters. A session distribution controller allows us
to add logic to deduce whether a session attribute must be stored in the
The following sample shows a session
distribution controller that stores session attributes whose name begins
with "shared_" in the distributed Coherence Layer, as well as any other
attribute in the local storage of the Oracle WebLogic managed instance
that handles the user request: Read the complete article here.
WebLogic Partner Community
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.
Blog Twitter LinkedIn Mix Forum Wiki