Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

2-way sync between ms exchange calendar and Java app

we are developing a CRM app which holds customer meeting info. Users have requested that their Outlook calendars should reflect the activity they have booked in the CRM application and vice versa.

Is there any solution to achieve this? Preferably not using any plugins or installs on the end user's PC?

like image 249
arkadiy kraportov Avatar asked Apr 23 '10 00:04

arkadiy kraportov


People also ask

How does Outlook Sync with Exchange?

When you use a Microsoft Exchange account in Outlook, your e-mail messages, contacts, calendar events, and any other Microsoft Exchange folders are synchronized automatically. Your information is always up to date in Outlook and on the server that is running Microsoft Exchange Server.

What is mailbox synchronization?

Item synchronization syncs the items within a folder. When you synchronize items, you have to sync each folder in the mailbox independently.


2 Answers

I'll throw my two cents here.

I implemented a two-way calendar synchronization solution at where I work, against a Ruby-on-Rails app. The requirement was almost identical to what you listed, although the synchronization has to be near real-time. What I did was to write a Windows service using Exchange Web Services (not the current managed API). Both Push and Pull notifications were used -- push notification to provide real-time sync while pull sync to sync out-of-date local copies. It was a little bit challenging back then, as the documentation was very poor, and the API was very verbose. The new managed API is much more terse.

The service has been running well for more than almost two years now.

like image 157
Cygwin98 Avatar answered Sep 23 '22 23:09

Cygwin98


You want to use the EWS Java API from Microsoft. It makes doing this type of thing a snap. No need to re-invent the wheel writing your own interface.

like image 35
Brian Knoblauch Avatar answered Sep 25 '22 23:09

Brian Knoblauch