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'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.
>
Same here.
From an ease of use perspective using XML descriptors is taking a
big step backwards.
Also i am not sure what the plans are for "EJB light" in EE 6 and the
relation with WebBeans so perhaps we cannot answer everything until
we know more?
Paul.