Results 1 to 3 of 3

Thread: Zimbra Calendar API - newbie questions

  1. #1
    Join Date
    Jan 2009
    Rep Power

    Exclamation Zimbra Calendar API - newbie questions

    At our school, we are using Zimbra 5.0.11 as our email and calendaring system. We have a requirement to build a calendar UI on our web-site to publish public calendars on campus - possibly a Java (JSP) based web application. We would need to query the Zimbra calendar server and display events in a daily/weekly/monthly format - there are no updates or deletes.

    I'm new to Zimbra and I'm exploring the possibility of using Zimbra calendar API for the same. I have a few newbie questions:

    1. Which API should be used to query the Zimbra calendar - I see SOAP/XML and REST APIs mentioned on these forums - which is the appropriate/easier API to use for queries, assuming that the calendar UI is dynamic? Or can I just do an HTTP GET to grab a calendar in ICal format and process it?

    2. Can the UI be implemented with zimlets? Are there any standard calendar objects/interfaces that I could use on our web page?

    3. Can somebody provide any sample Java code that shows how to query the Zimbra calendar server and display events?

    4. I would like to know how long it would take to implement a calendar UI with Zimbra API, for a newbie to Zimbra/SOAP/REST - is 2 months reasonable for an experienced Java web developer?

    5. It would be great if somebody could point me to the right documentation to get started with the calendar API.

    Any help/suggestions/pointers will be greatly appreciated.


  2. #2
    Join Date
    Aug 2008
    Rep Power


    2 months is more than enough, I was able to make an Web service to exchange events and contacts between ZCS and a Web (JSP) app in 100 hours.

    To fetch calendars, you have 3 options :

    - SOAP, with the GetAppointmentRequest method
    - Grabbing the calendar file (.ics) with a GET method
    - Using CalDAV

    I suggest going with CalDAV. Why? If you ever switch to another calendar system, or need to query Zimbra and another system, you will be able to switch without major code change.
    ZCS 6.05 on CentOS 5.3 (VMWare ESX 4)

  3. #3
    Join Date
    Jan 2009
    Rep Power

    Default re: Calendar API

    Thanks for your response. It seems like we are going to stick with Zimbra for a while - so, I would like to go for the easiest/fastest method to query the calendar server since we have some time constraints. I read that CalDav requires a server that supports "WebDAV Access Control Protocol" - does the Zimbra server support this protocol? Besides, CalDav appears to have a bigger learning curve.

    We use Oracle Application Server (OC4J) for our J2EE web apps and I was wondering if using iCal with HTTP GET works best for us? Or is SOAP the better approach?

    Do you have any sample code that you could share?

    Any help/suggestions would be appreciated.


Similar Threads

  1. Replies: 8
    Last Post: 01-20-2009, 12:06 PM
  2. slapd message error
    By smoke in forum Administrators
    Replies: 7
    Last Post: 04-27-2008, 03:23 PM
  3. Replies: 12
    Last Post: 02-25-2008, 06:28 PM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 12:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts