Main Menu
Lecture 2
Lecture 3
Lecture 4
Lecture 5
Lecture 6
Lecture 7
 

 

 

State Management

HTTP is inherently stateless - it don't remember nothin

The web application has to must keep state information for each session

login information

shopping basket contents

which copy of this page goes to this user

where is the user upto

WO doesn't (but can) use cookies to manage state

WO provides objects to maintain state for the life of a particular client session or longer

Separation of Presentation (HTML), Logic (Java) and Data (SQL)

Simplifies design and maintenance

This modularity is inherent in WO

Components generate HTML with NO embeded scripts or Java