29.11.2014 Views

Remoting patterns

Remoting patterns

Remoting patterns

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.

Lifecycle Handling and Identification<br />

• Axis supports the following lifecycle <strong>patterns</strong> using a scope<br />

option chosen in the deployment descriptor<br />

• Per-Request Instance: Default, “request” scope<br />

• Static instance: “application” scope<br />

• Client-dependent instance: “session” scope,<br />

• Sessions are supported either by HTTP cookies or by -<br />

communication protocol independent - SOAP headers<br />

• Each session object has a timeout (which can be set to a certain<br />

amount of milliseconds). After the timeout expires, the session is<br />

invalidated. A method touch can be invoked on the session object,<br />

which re-news the lease.<br />

132<br />

Uwe Zdun, Markus Voelter, Michael Kircher - <strong>Remoting</strong> Patterns.

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

Saved successfully!

Ooh no, something went wrong!