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