Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

  • Modify CacheInit (a ServletContextListener) to persist the caches on shutdown, and attempt to restore them on initialization
    • Storing serialized data into files
    • web.xml has a new parameter for directory location
  • Make Ticket as Serializable
  • Make the caches Serializable
    • Use custom serialization since their implementations use a WeakHashMap which is not serializable

Attached is CAS:a patch file of the differences in the code.  Note that this implementation was previously modified so that 'tolerance' (timeout) is a long instead of an int in the caches.

The CAS:CacheInit.java file has been updated to serialize to files instead of the the Java Preferences API.  Replace the patch file's CacheInit.java with the attached one.