You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Fabian Christ (JIRA)" <ji...@apache.org> on 2012/12/12 11:33:22 UTC

[jira] [Updated] (STANBOL-742) Get rid of usage of com.sun.jersey.api.view.Viewable

     [ https://issues.apache.org/jira/browse/STANBOL-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Christ updated STANBOL-742:
----------------------------------

    Fix Version/s: commons.web.viewable-0.10.0
    
> 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
>          Components: Commons
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>             Fix For: commons.web.viewable-0.10.0
>
>
> 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