|
From: Bill B. <bb...@re...> - 2008-06-26 14:39:26
|
Stef Epardaud wrote: > On Thu, Jun 26, 2008 at 09:45:22AM -0400, Bill Burke wrote: >> You don't have to put "text/plain" in your @ProduceMime. It is only for >> matching against ACCEPT headers. You can override the content type >> within Response > > But then how does it work if a client only accepts 'application/xml' and > one of my exception sends 'text/plain' because XML is too verbose for > exceptions? > I guess you're talking about the client framework? It really depends on your return type >>> To be honest the changes I want to JAXB I haven't had time to implement >>> them, and I'm not sure if my tight work deadlines will allow me to, but >>> really I need to at least get a hand to the guys working on the next >>> JAXB version if there is one under way to see if all the problems we >>> have with it can/should be solved. >> On JAXB, I meant, describe the changes you want in email, and we'll do >> the work! > > As much as I'm impressed by the quality of RESTeasy and JAX-RS, I have a > hard time believing you'll work on updating the JAXB standard just for > me ;) > > I don't have any problem with the integration of JAXB in JAX-RS, but > rather with the JAXB standard itself and its limitations in our > use-cases. Oh, LOL Ok! Thought you meant RESTEasy + JAX-RS + JAXB! -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |