servlets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servlets [2008/10/08 15:31] – roumani | servlets [2008/10/08 19:36] (current) – roumani | ||
---|---|---|---|
Line 9: | Line 9: | ||
===== Outline ===== | ===== Outline ===== | ||
- | == The Architecture == | + | == Tomcat as a Framework == |
+ | * Infrastructural services (networking, | ||
+ | * Persistence and session management | ||
+ | * Events (context and session listeners) | ||
+ | * Filters | ||
+ | * Declarative security | ||
+ | |||
+ | == Architecture == | ||
* Tomcat = Coyote + Catalina + Jasper. It is a reference implementation of Sun's Servlet/JSP standards. | * Tomcat = Coyote + Catalina + Jasper. It is a reference implementation of Sun's Servlet/JSP standards. | ||
* All three are 100% Java and live off the same VM. They are one process in the eyes of the O/S. | * All three are 100% Java and live off the same VM. They are one process in the eyes of the O/S. | ||
Line 17: | Line 24: | ||
* Jasper turns JSP documents into servlets. Think of it as a JSP compiler. | * Jasper turns JSP documents into servlets. Think of it as a JSP compiler. | ||
* Coyote can also operate as a connector to an existing web server, such as Apache or IIS. In that case, the web server would handle traditional serving and, for servlet requests, would use the JK protocol (similar to HTTP but binary) to delegate to Catalina in process. | * Coyote can also operate as a connector to an existing web server, such as Apache or IIS. In that case, the web server would handle traditional serving and, for servlet requests, would use the JK protocol (similar to HTTP but binary) to delegate to Catalina in process. | ||
- | |||
- | == The Framework == | ||
- | * Infrastructural services | ||
- | * Data structures and session management | ||
- | * Database connectivity | ||
- | * Events and filtering | ||
- | * Declarative security | ||
== The MVC Design Pattern == | == The MVC Design Pattern == |
servlets.1223479886.txt.gz · Last modified: 2008/10/08 15:31 by roumani