dev@jsr311.java.net

Issue 18: XML Descriptor

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Thu, 26 Jun 2008 13:04:11 -0400

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'm struggling a bit since I think most RESTful services would need to
use JAX-RS facilities like Response, UriInfo etc and, beyond some
simple overriding (perhaps turning a method off or adding a media type
to the list of supported ones), I find it hard to imagine a realistic
scenario that would require specifying everything in XML metadata
rather than simply using annotations.

Thanks,
Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.