You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by Mark Struberg <st...@yahoo.de> on 2013/12/02 12:34:26 UTC
Re: Fwd: [jira] [Created] (BATCHEE-6) JAX-RS requires an Application impl
It is _definitly_ mandatory by the JAX-RS spec!
Please read the spec bullet I posted in the JIRA.
The way to support both could be to have another module which adds the Application + web-fragment.xml to enable it.
LieGrue,
strub
----- Original Message -----
> From: Romain Manni-Bucau <rm...@gmail.com>
> To: "dev@batchee.incubator.apache.org" <de...@batchee.incubator.apache.org>
> Cc:
> Sent: Saturday, 30 November 2013, 23:44
> Subject: Fwd: [jira] [Created] (BATCHEE-6) JAX-RS requires an Application impl
>
> Hi
>
> -1 since it would break a lot of containers (skip user Application,
> exception, need config...). This is not really mandatory by spec btw, at
> least not enough alone so either we do everyrhing (see next paragraph) or
> nothing more IMO.
>
> The point is batchee is a part of a end user Application by
> design...otherwise we should provide a war...and using cxf we dont need it
> either..
>
> ---------- Message transféré ----------
> De : "Mark Struberg (JIRA)" <ji...@apache.org>
> Date : 30 nov. 2013 21:51
> Objet : [jira] [Created] (BATCHEE-6) JAX-RS requires an Application impl
> À : <de...@batchee.incubator.apache.org>
>
> Mark Struberg created BATCHEE-6:
> -----------------------------------
>
> Summary: JAX-RS requires an Application impl
> Key: BATCHEE-6
> URL: https://issues.apache.org/jira/browse/BATCHEE-6
> Project: BatchEE
> Issue Type: Bug
> Reporter: Mark Struberg
> Assignee: Mark Struberg
>
>
> according to the jsr-311 spec we need an Application subclass to be
> portable across all EE containers.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.1#6144)
>
Re: Fwd: [jira] [Created] (BATCHEE-6) JAX-RS requires an Application impl
Posted by Romain Manni-Bucau <rm...@gmail.com>.
What I meant Mark is it is not enough to be *trully* portable (spec
doesn't mean it works, you know it :p) to have an Application. It
doesn't work in tomcat for instance (even with CXF AFAIK). So IMO the
jira is "we need to provide a war" (which is a good feature IMO).
web-fragment would work but is half of the real feature IMO. Good to
embed but not enough
wdyt?
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2013/12/2 Mark Struberg <st...@yahoo.de>:
> It is _definitly_ mandatory by the JAX-RS spec!
>
>
> Please read the spec bullet I posted in the JIRA.
>
> The way to support both could be to have another module which adds the Application + web-fragment.xml to enable it.
>
> LieGrue,
> strub
>
>
>
>
> ----- Original Message -----
>> From: Romain Manni-Bucau <rm...@gmail.com>
>> To: "dev@batchee.incubator.apache.org" <de...@batchee.incubator.apache.org>
>> Cc:
>> Sent: Saturday, 30 November 2013, 23:44
>> Subject: Fwd: [jira] [Created] (BATCHEE-6) JAX-RS requires an Application impl
>>
>> Hi
>>
>> -1 since it would break a lot of containers (skip user Application,
>> exception, need config...). This is not really mandatory by spec btw, at
>> least not enough alone so either we do everyrhing (see next paragraph) or
>> nothing more IMO.
>>
>> The point is batchee is a part of a end user Application by
>> design...otherwise we should provide a war...and using cxf we dont need it
>> either..
>>
>> ---------- Message transféré ----------
>> De : "Mark Struberg (JIRA)" <ji...@apache.org>
>> Date : 30 nov. 2013 21:51
>> Objet : [jira] [Created] (BATCHEE-6) JAX-RS requires an Application impl
>> À : <de...@batchee.incubator.apache.org>
>>
>> Mark Struberg created BATCHEE-6:
>> -----------------------------------
>>
>> Summary: JAX-RS requires an Application impl
>> Key: BATCHEE-6
>> URL: https://issues.apache.org/jira/browse/BATCHEE-6
>> Project: BatchEE
>> Issue Type: Bug
>> Reporter: Mark Struberg
>> Assignee: Mark Struberg
>>
>>
>> according to the jsr-311 spec we need an Application subclass to be
>> portable across all EE containers.
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.1#6144)
>>