I am currently trying to design a Calendar application in Java. Then I want to integrate it with Google Calendar.
It will contain APIs to create and manage calendar events and working hours for the user.
I read that for integration with Google calendar, my application should comply with CalDAV protocol.
I am trying to understand what CalDAV is and how can I use it to help my application sync with Google Calendar. The document I am referring is this. There are a lot of other references/documents which it refers to - iCalendar, WebDAV etc. So far what I have understood is that CalDAV is an extension of WebDAV, which is a file read/write protocol. And iCalendar is a file format. I have seen iCalendar used in mail invitations (.ics files).
But I don't understand how to use all of this in my application and how to implement it?