You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@wink.apache.org by Reto Bachmann-Gmür <re...@apache.org> on 2012/08/09 22:41:26 UTC

WebDav support library

Hello,

I'm looking for possibilities to add webdav support to Stanbol and
Clerezza. Both incubating apache project use jax-rs but not yet apache wink.

Wink-webdav depends on wink. Is this necessary or could webdav support be
implemented purely on jax-rs?

The related project http://java.net/projects/webdav-jaxrs is unfortunately
not under an apache compatible license.

Cheers,
Reto

Re: WebDav support library

Posted by Reto Bachmann-Gmür <re...@apache.org>.
On Fri, Aug 10, 2012 at 12:46 AM, Reto Bachmann-Gmür <re...@apache.org> wrote:
> I concluded this from the dependency
>
>         <dependency>
>             <groupId>org.apache.wink</groupId>
>             <artifactId>wink-server</artifactId>
>         </dependency>
>
> In the pom of wink-webdav. However I now saw that it also compiles with
>
> <dependency>
>             <groupId>javax.ws.rs</groupId>
>             <artifactId>jsr311-api</artifactId>
>         </dependency>
>
> only the tests actually depend on the wink-server.

Hi Luciano,

I'm not sure what I did last time but now it seems the actual
implementation depends on wink.

The file wink-webdav/src/main/java/org/apache/wink/webdav/server/WebDAVUtils.java

Has the following imports:

import org.apache.wink.server.internal.contexts.UriInfoImpl;
import org.apache.wink.server.internal.registry.ResourceInstance;
import org.apache.wink.server.internal.registry.ResourceRegistry;

Could the implementation be changed not to depend on wink-server classes?

Cheers,
Reto

Re: WebDav support library

Posted by Luciano Resende <lu...@gmail.com>.
On Thu, Aug 9, 2012 at 3:46 PM, Reto Bachmann-Gmür <re...@apache.org> wrote:

> I concluded this from the dependency
>
>         <dependency>
>             <groupId>org.apache.wink</groupId>
>             <artifactId>wink-server</artifactId>
>         </dependency>
>
> In the pom of wink-webdav. However I now saw that it also compiles with
>
> <dependency>
>             <groupId>javax.ws.rs</groupId>
>             <artifactId>jsr311-api</artifactId>
>         </dependency>
>
> only the tests actually depend on the wink-server.
>
> So the hard bit will probably be to get the jaxb dependencies to work in
> OSGi.
>
> Cheers,
> Reto
>
>
>
I remember testing Wink in a OSGi environment last year and it worked ok
(slight difference was that it was in the context of the Tuscany/Wink
integration)... Please let us know if you find any issues.

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Re: WebDav support library

Posted by Reto Bachmann-Gmür <re...@apache.org>.
I concluded this from the dependency

        <dependency>
            <groupId>org.apache.wink</groupId>
            <artifactId>wink-server</artifactId>
        </dependency>

In the pom of wink-webdav. However I now saw that it also compiles with

<dependency>
            <groupId>javax.ws.rs</groupId>
            <artifactId>jsr311-api</artifactId>
        </dependency>

only the tests actually depend on the wink-server.

So the hard bit will probably be to get the jaxb dependencies to work in
OSGi.

Cheers,
Reto


On Thu, Aug 9, 2012 at 10:45 PM, Luciano Resende <lu...@gmail.com>wrote:

>
>
> On Thu, Aug 9, 2012 at 1:41 PM, Reto Bachmann-Gmür <re...@apache.org>wrote:
>
>> Hello,
>>
>> I'm looking for possibilities to add webdav support to Stanbol and
>> Clerezza. Both incubating apache project use jax-rs but not yet apache wink.
>>
>> Wink-webdav depends on wink. Is this necessary or could webdav support be
>> implemented purely on jax-rs?
>>
>> The related project http://java.net/projects/webdav-jaxrs is
>> unfortunately not under an apache compatible license.
>>
>> Cheers,
>> Reto
>>
>
> I'm not sure I understand what do you mean by pure JAX-RS and not Wink.
> Wink is a project name, which implements JAX-RS specifications. Wink-webdav
> has dependencies on the Wink JAX-RS. Maybe what you are saying is that you
> would like to use the webdav piece on top of a different JAX-RS
> implementation ?
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>

Re: WebDav support library

Posted by Luciano Resende <lu...@gmail.com>.
On Thu, Aug 9, 2012 at 1:41 PM, Reto Bachmann-Gmür <re...@apache.org> wrote:

> Hello,
>
> I'm looking for possibilities to add webdav support to Stanbol and
> Clerezza. Both incubating apache project use jax-rs but not yet apache wink.
>
> Wink-webdav depends on wink. Is this necessary or could webdav support be
> implemented purely on jax-rs?
>
> The related project http://java.net/projects/webdav-jaxrs is
> unfortunately not under an apache compatible license.
>
> Cheers,
> Reto
>

I'm not sure I understand what do you mean by pure JAX-RS and not Wink.
Wink is a project name, which implements JAX-RS specifications. Wink-webdav
has dependencies on the Wink JAX-RS. Maybe what you are saying is that you
would like to use the webdav piece on top of a different JAX-RS
implementation ?

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/