J2EE Patterns

From sheep
Jump to navigation Jump to search

Top level enterprise blueprints http://java.sun.com/blueprints/enterprise/index.html

Catalogue of patters http://java.sun.com/blueprints/patterns/catalog.html

Intercepting Filter

Problem

  • Interpret and manipulate request before/after processing
  • Actions/Control based on input
  • Transformations

Examples:

  • Compression/Encryption/Encoding
  • Validating session/browser type/URL access

Solution:

  • Standard filter strategy
  • Pluggable filter
  • Filter manager - combines chain of filters - delegates control