dev@jsr311.java.net

Re: JSR311: Issue 18: XML Descriptor

From: Stefan Tilkov <stefan.tilkov_at_innoq.com>
Date: Mon, 30 Jun 2008 10:59:56 +0200

On Jun 26, 2008, at 7:04 PM, Marc Hadley wrote:

> https://jsr311.dev.java.net/issues/show_bug.cgi?id=18
>
> What are folks use cases and requirements (if any) for an XML
> descriptor in:
>
> (a) A non-EE environment
> (b) An EE environment
>
> Do folks think we need something like the EJB metadata-complete
> facility to make a runtime ignore all JAX-RS annotations ?
>

I would love to be able to specify the mapping from resources/verbs/
content types to classes/methods in a central location, as opposed to
spreading that knowledge all over the place. This excludes the mapping
of specific message or header parts to parameters, so I would not
suggest doing a complete XML alternative.

Stefan
--
Stefan Tilkov, http://www.innoq.com/blog/st/