Review Topics for Exam 3

Class Page Links

Tomcat

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 4

  1. Introduction
  2. Logging in Web Applications
    1. Logging with Log4j
    2. Configuring Log4j
    3. Retrieving the Logger
  3. Eliminating Hidden Fields
    1. Retrieving Data from the Session
  4. Specifying the Location of the JSPs
    1. JSPs in the Directory where the Controller is Mapped
    2. JSPs in a Different Visible Directory
    3. JSPs in a Hidden Directory
    4. JSPs in the Controller's Directory
    5. Where should the JSPs be Located?
  5. Controller Logic
    1. Java Annotations
    2. Executing the Correct Button Method
  6. Filling a Bean
  7. Application: Enhanced Controller
    1. JPSs: Enhanced Controller
    2. ControllerHelper: Enhanced Controller
    3. Controller: Enhanced Controller
  8. Summary
  9. Chapter Review

Chapter 5

  1. Required Validation
    1. Regular Expressions
    2. Hibernate Validation
    3. Implementing Required Validation
  2. Application: Required Validation
  3. POST Requests
    1. POST versus GET
  4. Application: POST Controller
    1. Controller: POST Controller
    2. ControllerHelper: POST Controller
    3. JSPs: Updating the JSPs with POST
  5. Summary
  6. Chapter Review
    1. Terms: 1-14
    2. Java: Skip Transient and GerneratedValue annotations
    3. New Java: 2
    4. Tags: 1, 2
    5. Questions: 1-9
    6. Tasks: 1, 4 (do not write to DB), 5 (do not write to DB)

Apache

For each of these directives, know the spelling, know what it does, know what its parameters are and what the parameters mean.

  1. ServerType
  2. ServerAdmin
  3. ServerRoot
  4. ServerName
  5. Listen
  6. ErrorLog
  7. PidFile
  8. Timeout
  9. KeepAlive
  10. KeepAliveTimeout
  11. MinSpareServers
  12. MaxSpareServers
  13. StartServers
  14. MaxClients
  15. MaxRequestsPerChild
  16. 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.

  1. httpd -d ~jbond007/cgs4825/serverRoot
  2. kill -HUP pid
  3. kill -TERM pid