Review Topics for Exam 2
Class Page Links
-
All the ones that have been marked like
this.
Tomcat
-
Web Application Structure
Chapter 1 and Chapter 2
There is basic information that you need to know from these chapters in order
to answer questions from subsequent chapters. The focus of the exam will
be on Apache and Chapters 3 and 4, but there will be things you need to know
from the first two chapters.
Chapter 3
-
Introduction
-
Java Bean
-
Creating a Data Bean
-
Using the Bean in a Web Application
-
Application: Data Bean
-
Controller: Data Bean
-
Accessing the Bean in the JSP
-
JSPs: Data Bean
-
Application: Default Validation
-
Java Bean: Default Validation
-
Controller: Default Validation
-
Member Variables in Servlets
-
Threads
-
The Problem with Member Variables
-
Local versus Member Variables
-
Reorganising the Controller
-
Creating the Helper Base
-
Creating the Controller Helper
-
JSPs: Reorganised Controller
-
Controller: Reorganised Controller
-
Application: Reorganised Controller
-
Model, View, Controller
-
Summary
-
Chapter Review
Chapter 4
-
Introduction
-
Logging in Web Applications
-
Logging with Log4j
-
Configuring Log4j
-
Retrieving the Logger
-
Eliminating Hidden Fields
-
Retrieving Data from the Session
-
Specifying the Location of the JSPs
-
JSPs in the Directory where the Controller is Mapped
-
JSPs in a Different Visible Directory
-
JSPs in a Hidden Directory
-
JSPs in the Controller's Directory
-
Where should the JSPs be Located?
-
Controller Logic
-
Java Annotations
-
Executing the Correct Button Method
-
Filling a Bean
-
Application: Enhanced Controller
-
JPSs: Enhanced Controller
-
ControllerHelper: Enhanced Controller
-
Controller: Enhanced Controller
-
Summary
-
Chapter Review
Apache
For each of these directives, know the spelling, know what it does, know
what its parameters are and what the parameters mean.
-
ServerType
-
ServerAdmin
-
ServerRoot
-
ServerName
-
Listen
-
ErrorLog
-
PidFile
-
Timeout
-
KeepAlive
-
KeepAliveTimeout
-
MinSpareServers
-
MaxSpareServers
-
StartServers
-
MaxClients
-
MaxRequestsPerChild
-
JkMount
Know the commands for starting the server, stopping the server and having
the server re-read its conf files. Know how to find the process ID of the
main daemon.
-
httpd -d ~jbond007/cgs4825/serverRoot
-
kill -HUP pid
-
kill -TERM pid