jee
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| jee [2008/11/05 20:24] – created roumani | jee [2008/11/05 20:32] (current) – roumani | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| * Example: add a new validation; support a new protocol; log; compress; etc. | * Example: add a new validation; support a new protocol; log; compress; etc. | ||
| - | ===== Declarative Security | + | ===== Event Listeners |
| + | |||
| + | * Why: Monitor data structures globally and take actions | ||
| + | * What: Get notified when the context and/or the session is created or destroyed and when any attribute in it is changed, added, or removed. | ||
| + | * How: Write a listener that implements one of 4 interfaces and register it in web.xml. | ||
| + | * Example: detect and log certain session features; start a back-office order application based on committed baskets; track sessions in an admin webapp; etc. | ||
| - | * Why: Authentication and encryption without programming. | ||
| ===== To Do ===== | ===== To Do ===== | ||
| Line 25: | Line 30: | ||
| * See the // | * See the // | ||
| * See the // | * See the // | ||
| + | * See the // | ||
| + | * Use the Servlet-Spec file in the //Resource Directory// as a reference for these advanced features. | ||
| - | |||
| - | |||
| - | Look at the '' | ||
| - | * Look at '' | ||
| - | * Read Chapter 6 up to and excluding Section 6.7. | ||
| - | * Read Chapter 8, Section 8.6 and 8.7. | ||
jee.1225916651.txt.gz · Last modified: by roumani
