Reto Bachmann-Gmür created STANBOL-742:
------------------------------------------

             Summary: Get rid of usage of com.sun.jersey.api.view.Viewable
                 Key: STANBOL-742
                 URL: https://issues.apache.org/jira/browse/STANBOL-742
             Project: Stanbol
          Issue Type: Improvement
            Reporter: Reto Bachmann-Gmür


We should no longer use com.sun.jersey.api.view.Viewable mainly for two reasons:
- com.sun.jersey.api.view.Viewable is provided by the jersey server package, it 
is not part of the jax-rs standard. Tha main advantage of adhering to a 
standard is portability this is lost if implementation specific classes are 
used.
- It is not the business of the jax-rs resource class to care about the 
presenation. The resource method should just return objects than can be 
rendered to many formats using MessageBodyWriters. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to