12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Session management with JSS<br />

If an interruption occurs between the Apache <strong>web</strong> <strong>server</strong> (Machine 1) which is passing<br />

a client request to the first <strong>web</strong> container instance (Machine 2), then the second <strong>web</strong><br />

container instance (Machine 3) can continue processing the client request by retrieving<br />

the session information from the JSS (Machine 4). The items in the Shopping Cart are<br />

retained and the client request continues to be processed.<br />

Figure 6.1<br />

JSS Management with a Centralized JSS and Two Web Containers<br />

In the “JSS Management with Two Web Containers and a Centralized Backend<br />

Datastore” diagram, are the following four virtual machines:<br />

■<br />

■<br />

■<br />

The first machine hosts the Apache <strong>web</strong> <strong>server</strong>,<br />

the two other machines contain an instance of the <strong>Borland</strong> <strong>web</strong> container as well as<br />

each hosting the JSS,<br />

and the fourth machine hosts the relational database (JDataStore or a JDBC<br />

datasource).<br />

If an interruption occurs between the Apache <strong>web</strong> <strong>server</strong> (Machine 1) which is passing<br />

a client request to the first <strong>web</strong> container instance (Machine 2), then the second <strong>web</strong><br />

container instance (Machine 3) can continue processing the client request by retrieving<br />

the session information from the JSS (Machine 4). The items in the Shopping Cart are<br />

retained and the client request continues to be processed.<br />

58 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!