File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes using @Produces in Jersey Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
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: 42
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://aspose.com/file-tools
 
subject: using @Produces in Jersey