Jump to: navigation, search

Gyrex/Concepts/Http Application Extensions

< Gyrex
Revision as of 06:07, 28 November 2013 by Gunnar.wagenknecht.org (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gyrex provides a concept for defining HTTP applications. This article discusses an approach for providing extensions to those applications in a generic way.


Goals

  • Allow to contribute static resources, JAX-RS resources, WebSockets, etc. to an already defined application.
  • Ability to add security/authentication filters to already defined applications.
  • Backwards compatibility with existing applications.


Design

  • Opt-in model
    • define #initializeExtensions method in Application class which must be called by participating applications


Open Questions