dev@jsr311.java.net

Re: JSR311: Issue 18: XML Descriptor

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 01 Jul 2008 08:55:07 -0400

Paul Sandoz wrote:
>
> 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.
>

Yeah, but then we'd have to use NetBeans or WADL...

Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com