List Info

Thread: Newbee: Understanding question WebDAV-Protocoll




Newbee: Understanding question WebDAV-Protocoll
country flaguser name
United States
2007-07-18 07:39:03
Hello everybody,
I have the following problem: Since beginning of this week
-in the course of
a new project- I deal with WebDAV. I never heard something
about it before,
so I startet to read up on this protocoll. However now I
have still some
understanding problems. A goal of the project is that it
should be possible
to store data (physical files) including their describing
meta-data over
WebDAV on a fileserver which also supported WebDAV. That
means we have a
webapplication running with Tomcat and is implemented in
Java. So I am
discovered the Slide project  But now,
I dont understand, what I have to
download for this request. Do I need the complete Slide
environment, or does
I need only the WCK? All possible errorhandling and user
authorization will
be done by our webapplication.
Or is there a completely different way (without Slide/WCK)
how I can solve
this?

best regards from munich/germany
Mario Becker-Reinhold
-- 
View this message in context: http://www.nabbl
e.com/Newbee%3A-Understanding-question-WebDAV-Protocoll-tf41
02995.html#a11667860
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
Portugal
2007-07-18 08:11:09
Hello Mário,

 Slide implements most of the webdav protocol stack, which
is defined in
various RFCs. The complete RFCs list, and more, is in
http://www.webdav.org/sp
ecs/ (slide implemented features list is in
http://jakarta.apach
e.org/slide/).

 If you don’t want to implement code that enforces access
control lists on
resources (files, directories), you will need Slide. If you
don’t need that,
that is, if you just need to browse/create/upload/download
resources, which
seems your case, default Tomcat WebDAV servlet should be
enough.
 WCK provides more features than Tomcat's dav servlet (like
transactions),
but less than Slide - it could be used also.
 Of course, Slide is more complete than the other options.

Hope this helps,
Miguel Figueiredo

-----Original Message-----
From: Mario Becker-Reinhold [mailto:mario.1981gmx.de] 
Sent: quarta-feira, 18 de Julho de 2007 13:39
To: slide-userjakarta.apache.org
Subject: Newbee: Understanding question WebDAV-Protocoll


Hello everybody,
I have the following problem: Since beginning of this week
-in the course of
a new project- I deal with WebDAV. I never heard something
about it before,
so I startet to read up on this protocoll. However now I
have still some
understanding problems. A goal of the project is that it
should be possible
to store data (physical files) including their describing
meta-data over
WebDAV on a fileserver which also supported WebDAV. That
means we have a
webapplication running with Tomcat and is implemented in
Java. So I am
discovered the Slide project  But now,
I dont understand, what I have to
download for this request. Do I need the complete Slide
environment, or does
I need only the WCK? All possible errorhandling and user
authorization will
be done by our webapplication.
Or is there a completely different way (without Slide/WCK)
how I can solve
this?

best regards from munich/germany
Mario Becker-Reinhold
-- 
View this message in context:
http://www.nabble.com/Newbee%3A-Unde
rstanding-question-WebDAV-Protocoll-tf41
02995.html#a11667860
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
United States
2007-07-19 05:34:49
Hi Miguel,

thanks for the quick respopnse. Actually I think that the
webdav-servlet
which comes with tomcat is the best method of resolution for
my problem too.
So I try starting more to deal with this one. But, does
anybody knows a
simple example, how to use/how to access this webdav
functionality in java?
I know there is an API but my problem is to implement the
resources correct
in eclipse to use it!?

Regards,
Mario Becker-Reinhold



Miguel Figueiredo wrote:
> 
> 
> Hello Mário,
> 
>  Slide implements most of the webdav protocol stack,
which is defined in
> various RFCs. The complete RFCs list, and more, is in
> http://www.webdav.org/sp
ecs/ (slide implemented features list is in
> http://jakarta.apach
e.org/slide/).
> 
>  If you donÂ’t want to implement code that enforces
access control lists on
> resources (files, directories), you will need Slide. If
you donÂ’t need
> that,
> that is, if you just need to
browse/create/upload/download resources,
> which
> seems your case, default Tomcat WebDAV servlet should
be enough.
>  WCK provides more features than Tomcat's dav servlet
(like transactions),
> but less than Slide - it could be used also.
>  Of course, Slide is more complete than the other
options.
> 
> Hope this helps,
> Miguel Figueiredo
> 

-- 
View this message in context: http://www.nabbl
e.com/Newbee%3A-Understanding-question-WebDAV-Protocoll-tf41
02995.html#a11686117
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
Portugal
2007-07-19 10:31:46
Hello Mario,

 For accessing the webdav server programmatically, I
recommend using slide's
webdav client api - there is no problem using it in a
eclipse project.

Hope this helps,
Miguel Figueiredo

-----Original Message-----
From: Mario Becker-Reinhold [mailto:mario.1981gmx.de] 
Sent: quinta-feira, 19 de Julho de 2007 11:35
To: slide-userjakarta.apache.org
Subject: RE: Newbee: Understanding question
WebDAV-Protocoll


Hi Miguel,

thanks for the quick respopnse. Actually I think that the
webdav-servlet
which comes with tomcat is the best method of resolution for
my problem too.
So I try starting more to deal with this one. But, does
anybody knows a
simple example, how to use/how to access this webdav
functionality in java?
I know there is an API but my problem is to implement the
resources correct
in eclipse to use it!?

Regards,
Mario Becker-Reinhold



Miguel Figueiredo wrote:
> 
> 
> Hello Mário,
> 
>  Slide implements most of the webdav protocol stack,
which is defined in
> various RFCs. The complete RFCs list, and more, is in
> http://www.webdav.org/sp
ecs/ (slide implemented features list is in
> http://jakarta.apach
e.org/slide/).
> 
>  If you don’t want to implement code that enforces
access control lists on
> resources (files, directories), you will need Slide. If
you don’t need
> that,
> that is, if you just need to
browse/create/upload/download resources,
> which
> seems your case, default Tomcat WebDAV servlet should
be enough.
>  WCK provides more features than Tomcat's dav servlet
(like transactions),
> but less than Slide - it could be used also.
>  Of course, Slide is more complete than the other
options.
> 
> Hope this helps,
> Miguel Figueiredo
> 

-- 
View this message in context:
http://www.nabble.com/Newbee%3A-Unde
rstanding-question-WebDAV-Protocoll-tf41
02995.html#a11686117
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
United States
2007-07-20 02:00:28
Hello Miguel,

thanks for you answer, but if I understood you correctly
then there are 3
ways to use WebDAV.
1st) using it with the Slide (complexest way)
2nd) using it with the wck framework
3rd) using it directly (simplest way)

So the 3rd alternative is the best for me, that means that I
can use the
servlets api to create the objects directly in my java code,
but now I'm
searching for a simple example. I'm hanging in eclipse
library imports,
there is the message that a type cannot be resolved, because
the type is
indirectly referenced by a class file. But which are the
correct imports for
it? I added the "%tomcat%serverlib" as external
librarys to the project,
now I can make a instance from the WebdavServlet but if I
want to call now a
method of the object I will get always this "indirectly
referenced" error.

Regards
Mario Becker-Reinhold


Miguel Figueiredo wrote:
> 
> 
> Hello Mario,
> 
>  For accessing the webdav server programmatically, I
recommend using
> slide's
> webdav client api - there is no problem using it in a
eclipse project.
> 
> Hope this helps,
> Miguel Figueiredo
> 
> 

-- 
View this message in context: http://www.nabbl
e.com/Newbee%3A-Understanding-question-WebDAV-Protocoll-tf41
02995.html#a11703120
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
Portugal
2007-07-20 03:36:02
Hello Mario,

 Are you are planning to develop a server side application
that integrates
webdav functionalities? If that is the case, I'm sorry to
mislead you in my
last email recommending the use of slide's webdav client
api. Never done
what you are attempting to do, but from what I have read,
WCK is the way to
go.

 Also, the "indirectly referenced" error is a
common java error that occurs
when some needed dependency is not available. When that
happens write down
the needed class and google it until you finds the
corresponding jar file.
Finally add that jar to your classpath. Repeat until no such
error occurs.

Hope this helps,
Miguel Figueiredo

-----Original Message-----
From: Mario Becker-Reinhold [mailto:mario.1981gmx.de] 
Sent: sexta-feira, 20 de Julho de 2007 8:00
To: slide-userjakarta.apache.org
Subject: RE: Newbee: Understanding question
WebDAV-Protocoll


Hello Miguel,

thanks for you answer, but if I understood you correctly
then there are 3
ways to use WebDAV.
1st) using it with the Slide (complexest way)
2nd) using it with the wck framework
3rd) using it directly (simplest way)

So the 3rd alternative is the best for me, that means that I
can use the
servlets api to create the objects directly in my java code,
but now I'm
searching for a simple example. I'm hanging in eclipse
library imports,
there is the message that a type cannot be resolved, because
the type is
indirectly referenced by a class file. But which are the
correct imports for
it? I added the "%tomcat%serverlib" as external
librarys to the project,
now I can make a instance from the WebdavServlet but if I
want to call now a
method of the object I will get always this "indirectly
referenced" error.

Regards
Mario Becker-Reinhold


Miguel Figueiredo wrote:
> 
> 
> Hello Mario,
> 
>  For accessing the webdav server programmatically, I
recommend using
> slide's
> webdav client api - there is no problem using it in a
eclipse project.
> 
> Hope this helps,
> Miguel Figueiredo
> 
> 

-- 
View this message in context:
http://www.nabble.com/Newbee%3A-Unde
rstanding-question-WebDAV-Protocoll-tf41
02995.html#a11703120
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
United States
2007-07-20 04:28:58
Hello Miguel,

it does'nt matter, let me explain it in a little bit more
detail:
the goal of the project should be, that we are able to store
engineering
data from an pdm-system in an archive (save + find).
The simplest way we wanne start is that a user of the
pdm-system push a
button (label like "Archive Construction") which
starts a workflow
(collecting physical file of the construction(s) and collect
+ save all
metadatas in an xml-file). Both we want to transmit into the
archive (e.g.
EMC's Centera - if you know about that). The archive system
does support
WebDAV too, and now we (better I) try to evaluate if its
generally possible
to send this data with WebDAV-protocoll and now I'm right on
this point. It
is possible, and it is also the best way, because WebDAV is
very abstract
(so that we are able to connect to any other system too) and
its a common
standard, so that we dont need a proprietary implementation
(which is better
for our customers and better for our sales to argue  ).
And now I'm still at this point to get the simplest way to
send the data due
to webdav-protocoll. In my opinion I would say very, very
simplified that we
only have to send a request!? So I dont need special
functionallity which
comes with Slide, the core functions of webdav are already
enough for us.
(Error and user handling will be done in the pdm-system)
I hope you understood my bad english... and you can help me
once more.

Regards
Mario Becker-Reinhold


Miguel Figueiredo wrote:
> 
> Hello Mario,
> 
>  Are you are planning to develop a server side
application that integrates
> webdav functionalities? If that is the case, I'm sorry
to mislead you in
> my
> last email recommending the use of slide's webdav
client api. Never done
> what you are attempting to do, but from what I have
read, WCK is the way
> to
> go.
> 
>  Also, the "indirectly referenced" error is a
common java error that
> occurs
> when some needed dependency is not available. When that
happens write down
> the needed class and google it until you finds the
corresponding jar file.
> Finally add that jar to your classpath. Repeat until no
such error occurs.
> 
> Hope this helps,
> Miguel Figueiredo
> 

-- 
View this message in context: http://www.nabbl
e.com/Newbee%3A-Understanding-question-WebDAV-Protocoll-tf41
02995.html#a11704952
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
Portugal
2007-07-20 04:51:18
Hello Mario,

If the ECM Centera reporitory is remote to the pdm-system,
there is no doubt
you will want to use slide's webdav client API. You could
use ECM Centera
API if the pdm-system would be in the same app server, but
since you prefer
to use the webdav protocol as interface to the repository (I
would too, if
communication overhead isn't very critical), slide's webdav
client API is
still the way to go.

Best regards,
Miguel Figueiredo

-----Original Message-----
From: Mario Becker-Reinhold [mailto:mario.1981gmx.de] 
Sent: sexta-feira, 20 de Julho de 2007 10:29
To: slide-userjakarta.apache.org
Subject: RE: Newbee: Understanding question
WebDAV-Protocoll


Hello Miguel,

it does'nt matter, let me explain it in a little bit more
detail:
the goal of the project should be, that we are able to store
engineering
data from an pdm-system in an archive (save + find).
The simplest way we wanne start is that a user of the
pdm-system push a
button (label like "Archive Construction") which
starts a workflow
(collecting physical file of the construction(s) and collect
+ save all
metadatas in an xml-file). Both we want to transmit into the
archive (e.g.
EMC's Centera - if you know about that). The archive system
does support
WebDAV too, and now we (better I) try to evaluate if its
generally possible
to send this data with WebDAV-protocoll and now I'm right on
this point. It
is possible, and it is also the best way, because WebDAV is
very abstract
(so that we are able to connect to any other system too) and
its a common
standard, so that we dont need a proprietary implementation
(which is better
for our customers and better for our sales to argue  ).
And now I'm still at this point to get the simplest way to
send the data due
to webdav-protocoll. In my opinion I would say very, very
simplified that we
only have to send a request!? So I dont need special
functionallity which
comes with Slide, the core functions of webdav are already
enough for us.
(Error and user handling will be done in the pdm-system)
I hope you understood my bad english... and you can help me
once more.

Regards
Mario Becker-Reinhold


Miguel Figueiredo wrote:
> 
> Hello Mario,
> 
>  Are you are planning to develop a server side
application that integrates
> webdav functionalities? If that is the case, I'm sorry
to mislead you in
> my
> last email recommending the use of slide's webdav
client api. Never done
> what you are attempting to do, but from what I have
read, WCK is the way
> to
> go.
> 
>  Also, the "indirectly referenced" error is a
common java error that
> occurs
> when some needed dependency is not available. When that
happens write down
> the needed class and google it until you finds the
corresponding jar file.
> Finally add that jar to your classpath. Repeat until no
such error occurs.
> 
> Hope this helps,
> Miguel Figueiredo
> 

-- 
View this message in context:
http://www.nabble.com/Newbee%3A-Unde
rstanding-question-WebDAV-Protocoll-tf41
02995.html#a11704952
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
United States
2007-07-23 02:07:03
Hello once again Miguel,

so I  prefer to use the webdav protocol as interface to the
repository,
okay, I understand there is no other way excepting slide.
So what I have tried: I followed the steps to install Slide
at 
ht
tp://wiki.apache.org/jakarta-slide/WckQuickStart
ht
tp://wiki.apache.org/jakarta-slide/WckQuickStart 
After checkout from CVS I goto Eclipse and start a new
project "Java project
from existing ant buildfile" but there are some errors
after project build.
That means there went something wrong with some JAR files?
If you can have a
look at the screenshot below please (jaxp.jar,xmlapi.jar?)?
I don't know,
what could have happened and how to fix it?
And another question is: Do you know for what exactly I will
need this
"patch" described in 3) of the requirements of
wck?

Thanks,
Mario

http://web42.bces-1445.de/computerhilfen/slide_
eclipse_errors.jpg 


Miguel Figueiredo wrote:
> 
> Hello Mario,
> 
> If the ECM Centera reporitory is remote to the
pdm-system, there is no
> doubt
> you will want to use slide's webdav client API. You
could use ECM Centera
> API if the pdm-system would be in the same app server,
but since you
> prefer
> to use the webdav protocol as interface to the
repository (I would too, if
> communication overhead isn't very critical), slide's
webdav client API is
> still the way to go.
> 
> Best regards,
> Miguel Figueiredo
> 

-- 
View this message in context: http://www.nabbl
e.com/Newbee%3A-Understanding-question-WebDAV-Protocoll-tf41
02995.html#a11738836
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbee: Understanding question WebDAV-Protocoll
country flaguser name
Portugal
2007-07-23 06:27:36
Hello Mario,

 You dont need Slide Server to use ECM Centera, just the
slide client API.
It is available from jackarta downloads site, at
http://jakarta.apache.org/site/downloads/downloads_s
lide.cgi ->
2.1_client.zip (for example). Then it's all about using the
containing jar
(or source if u prefer) on your eclipse pdm-system project.

If you like, it would be great to test the webdav client API
against the
Centera server, just to see webdav protocol working.

 Best Regards,
 Miguel Figueiredo


-----Original Message-----
From: Mario Becker-Reinhold [mailto:mario.1981gmx.de] 
Sent: segunda-feira, 23 de Julho de 2007 8:07
To: slide-userjakarta.apache.org
Subject: RE: Newbee: Understanding question
WebDAV-Protocoll


Hello once again Miguel,

so I  prefer to use the webdav protocol as interface to the
repository,
okay, I understand there is no other way excepting slide.
So what I have tried: I followed the steps to install Slide
at 
ht
tp://wiki.apache.org/jakarta-slide/WckQuickStart
ht
tp://wiki.apache.org/jakarta-slide/WckQuickStart 
After checkout from CVS I goto Eclipse and start a new
project "Java project
from existing ant buildfile" but there are some errors
after project build.
That means there went something wrong with some JAR files?
If you can have a
look at the screenshot below please (jaxp.jar,xmlapi.jar?)?
I don't know,
what could have happened and how to fix it?
And another question is: Do you know for what exactly I will
need this
"patch" described in 3) of the requirements of
wck?

Thanks,
Mario

http://web42.bces-1445.de/computerhilfen/slide_
eclipse_errors.jpg 


Miguel Figueiredo wrote:
> 
> Hello Mario,
> 
> If the ECM Centera reporitory is remote to the
pdm-system, there is no
> doubt
> you will want to use slide's webdav client API. You
could use ECM Centera
> API if the pdm-system would be in the same app server,
but since you
> prefer
> to use the webdav protocol as interface to the
repository (I would too, if
> communication overhead isn't very critical), slide's
webdav client API is
> still the way to go.
> 
> Best regards,
> Miguel Figueiredo
> 

-- 
View this message in context:
http://www.nabble.com/Newbee%3A-Unde
rstanding-question-WebDAV-Protocoll-tf41
02995.html#a11738836
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


[1-10] [11-14]

about | contact  Other archives ( Real Estate discussion Medical topics )