You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2012/11/20 21:18:58 UTC

[jira] [Assigned] (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 ]

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

    Assignee: Reto Bachmann-Gmür
    
> 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
>            Assignee: 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