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

Andi Huber updated ISIS-1779:
-----------------------------
    Description: 
It seems JEE 8 servers (compliant with JAX-RS 2.1 API) conflict with deployment 
of resteasy-jaxrs.version 3.x (which is JAX-RS 2.0 API) 

and JEE 7 servers (compliant with JAX-RS 2.0 API) conflict with deployment of 
resteasy-jaxrs.version 4.x (which is JAX-RS 2.1 API).

So by now there is no easy way to package a war file with resteasy included, 
that will run on both JEE 7 and 8.

I've successfully tested 
<resteasy-jaxrs.version>4.0.0.Beta1</resteasy-jaxrs.version> on glassfish 5,
<resteasy-jaxrs.version>3.0.17.Final</resteasy-jaxrs.version> on glassfish 4,
<resteasy-jaxrs.version>3.1.4.Final</resteasy-jaxrs.version> on glassfish 4.

Note: transitioning resteasy-jaxrs from 3.0.x to any higher version involves 
removal of deprecated classes in
org.jboss.resteasy.client.*, which we are using it in 
core/viewer-resfulobjects-applib.



  was:
It seems JEE 8 servers (compliant with JAX-RS 2.1 API) conflict with deployment 
of resteasy-jaxrs.version 3.x (which is JAX-RS 2.0 API) 

and JEE 7 servers (compliant with JAX-RS 2.0 API) conflict with deployment of 
resteasy-jaxrs.version 4.x (which is JAX-RS 2.1 API).

So by now there is no easy way to package a war file with resteasy included, 
that will run on both JEE 7 and 8.

I've successfully tested 
<resteasy-jaxrs.version>4.0.0.Beta1</resteasy-jaxrs.version> on glassfish 5,
<resteasy-jaxrs.version>3.0.17.Final</resteasy-jaxrs.version> on glassfish 4,
<resteasy-jaxrs.version>3.1.4.Final</resteasy-jaxrs.version> on glassfish 4.

org.jboss.resteasy.client.* was deprecated.

We are using it in core/viewer-resfulobjects.




> Transition to JAX-RS 2.0 Client API
> -----------------------------------
>
>                 Key: ISIS-1779
>                 URL: https://issues.apache.org/jira/browse/ISIS-1779
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core: Viewer: RestfulObjects
>    Affects Versions: 1.15.1
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>             Fix For: 2.0.0
>
>
> It seems JEE 8 servers (compliant with JAX-RS 2.1 API) conflict with 
> deployment of resteasy-jaxrs.version 3.x (which is JAX-RS 2.0 API) 
> and JEE 7 servers (compliant with JAX-RS 2.0 API) conflict with deployment of 
> resteasy-jaxrs.version 4.x (which is JAX-RS 2.1 API).
> So by now there is no easy way to package a war file with resteasy included, 
> that will run on both JEE 7 and 8.
> I've successfully tested 
> <resteasy-jaxrs.version>4.0.0.Beta1</resteasy-jaxrs.version> on glassfish 5,
> <resteasy-jaxrs.version>3.0.17.Final</resteasy-jaxrs.version> on glassfish 4,
> <resteasy-jaxrs.version>3.1.4.Final</resteasy-jaxrs.version> on glassfish 4.
> Note: transitioning resteasy-jaxrs from 3.0.x to any higher version involves 
> removal of deprecated classes in
> org.jboss.resteasy.client.*, which we are using it in 
> core/viewer-resfulobjects-applib.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to