Evaluating cladav4j

76 views
Skip to first unread message

Lucio Crusca

unread,
Nov 26, 2013, 5:22:46 AM11/26/13
to cald...@googlegroups.com
Hello everybody,

I'm new here. I landed here while searching for something to connect a Java web application (Wicket, for what's worth) to a Caoldav server. I need to check if an event has already been added to a calendar and, if not, add it. I plan to recognize the event by looking at some ID attached to the event itself (maybe I could use an URL as ID), but I don't know if that is even possible by the caldav specs.

Is caldav4j suitable? How can I add caldav4j as a dependency in my pom.xml?

Roberto Polli

unread,
Nov 26, 2013, 9:43:03 AM11/26/13
to cald...@googlegroups.com
2013/11/26 Lucio Crusca <lucio....@gmail.com>:
> Hello everybody,
welcome!

> I need to
> check if an event has already been added to a calendar and, if not, add it.
It's the standard workflow. You may consider just adding the new event
and caldav4j will throw an exception if it already exists (eg.
precondition failed).

> I plan to recognize the event by looking at some ID attached to the event
> itself (maybe I could use an URL as ID), but I don't know if that is even
> possible by the caldav specs.
You should be able to do it. Before starting run the junit test suite
against your calendar server to ensure all the functionalities are
supported.

> Is caldav4j suitable?
Yes.

> How can I add caldav4j as a dependency in my pom.xml?
See here
http://sourceforge.net/apps/trac/funambol-caldav/browser/trunk/pom.xml

Peace,
R

Lucio Crusca

unread,
Nov 28, 2013, 4:54:55 AM11/28/13
to cald...@googlegroups.com


Il giorno martedì 26 novembre 2013 15:43:03 UTC+1, Roberto Polli ha scritto:

> I plan to recognize the event by looking at some ID attached to the event
> itself (maybe I could use an URL as ID), but I don't know if that is even
> possible by the caldav specs.
You should be able to do it. Before starting run the junit test suite
against your calendar server to ensure all the functionalities are
supported.

I plan to query an owncloud server, do you happen to know if it supports this feature or if there are any other issues with it?
 

> How can I add caldav4j as a dependency in my pom.xml?
See here
http://sourceforge.net/apps/trac/funambol-caldav/browser/trunk/pom.xml


Thanks.

Roberto Polli

unread,
Nov 29, 2013, 10:25:00 AM11/29/13
to cald...@googlegroups.com
2013/11/28 Lucio Crusca <lucio....@gmail.com>:
> I plan to query an owncloud server, do you happen to know if it supports
> this feature or if there are any other issues with it?
Nope. You're welcome to share your test runs.

Peace,
R:
Reply all
Reply to author
Forward
0 new messages