Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

REST POJOs are a Java 5 way of writing POJOs that implement RESTful services. They are an extension of AnDI to add some RESTful annotations.

See JRA

The core features are

  • dependency inject HttpServletRequest and HttpServletResponse if required (which should be rare)
  • dependency inject URI values or HTTP parameters or session based properties
  • map methods to HTTP operations (GET, PUT, POST, DELETE)
  • map parameters and return values to contents of HTTP requests which use a marshalling layer to serialize as
    • JAXB 2
    • SDO
    • XStream
    • use an explicit API such as W3C DOM, dom4j etc.

...