dev@jsr311.java.net

Re: JSR311: Issue 18: XML Descriptor

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 01 Jul 2008 08:56:43 +0200

On Jun 30, 2008, at 10:59 AM, Stefan Tilkov wrote:

> 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.
>

Is this because you want to have a global view of the application? If
so tooling can provide such a view e.g. see NetBeans 6.1, or WADL
generation.

Paul.