This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes using @Produces in Jersey Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "using @Produces in Jersey" Watch "using @Produces in Jersey" New topic
Author

using @Produces in Jersey

Peter Kovac
Ranch Hand

Joined: Aug 08, 2010
Posts: 41
Hi,

I'm wondering if you need to use the @Produces annotation in Jersey resources classes when
you return a SAXSource/DOMSource/Document? If so what should the MIME text be?

Generally what is the best practice on when/how to use @Produces?

Thanks,
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: using @Produces in Jersey
 
Similar Threads
Object class
Method calling
Checking a Boolean Value In JavaScript
Jersey RESTful Web Service - How to determine remote host
Problem when using ternary operatory in For Each loop