Table of Contents Previous Section
WebObjects defines three classes that manage state in an application---WOApplication, WOSession, and WOComponent. (Note: In Java these classes are known as WebApplication, WebSession, and Component.) An application object handles state associated with the application as a whole, session objects handle state associated with a particular user session within the application, and component objects handle state associated with a particular page or component within a session:
Keep in mind as you read about these classes and about their participation in the request-response loop that the behaviors described are the default ones. Since these classes are public, you are free to change or augment their behaviors either by overriding their methods in scripts, by adding methods through categories, or by creating and using subclasses in their place.