16.07.2013 Views

JSR-000058 Java TM 2 Platform, Enterprise Edition 1.3 Specification

JSR-000058 Java TM 2 Platform, Enterprise Edition 1.3 Specification

JSR-000058 Java TM 2 Platform, Enterprise Edition 1.3 Specification

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.

3.3.11.2 Application Client<br />

Application clients (described in detail in Chapter 9) are client programs that<br />

may directly (i.e., without the help of a web browser and without traversing a<br />

web server) interact with enterprise beans. Of course, application clients may<br />

also access web resources.<br />

Application clients, like the other J2EE application component types, execute in<br />

a managed environment that is provided by an appropriate container.<br />

Application clients are expected to have access to a graphical display and input<br />

device and can expect to communicate with a human user.<br />

Application clients are used to authenticate the end user to the J2EE platform,<br />

for instance when accessing protected web resources or enterprise beans.<br />

3.3.1<strong>1.3</strong> Lazy Authentication<br />

There is a cost associated with authentication. For example, an authentication<br />

process may require exchanging multiple messages across the network.<br />

Therefore, it is desirable to perform authentication only when necessary (i.e.,<br />

lazy authentication). With lazy authentication, an end user is not required to<br />

authenticate until the user tries to access a protected resource.<br />

Lazy authentication can be used by first tier clients (applets, application clients)<br />

when they access protected resources that require authentication. When a user<br />

tries to access such a resource, the user can be asked to provide the needed<br />

authentication data. If a user is successfully authenticated, the user is allowed to<br />

access the resource.<br />

3-14 <strong>Java</strong> 2 <strong>Platform</strong> <strong>Enterprise</strong> <strong>Edition</strong>, v<strong>1.3</strong> Proposed Final Draft (Sun Microsystems, Inc.)

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

Saved successfully!

Ooh no, something went wrong!