简体   繁体   English

MS Exchange日历和Java应用程序之间的2向同步

[英]2-way sync between ms exchange calendar and Java app

we are developing a CRM app which holds customer meeting info. 我们正在开发一个CRM应用程序,其中包含客户会议信息。 Users have requested that their Outlook calendars should reflect the activity they have booked in the CRM application and vice versa. 用户已要求其Outlook日历应反映他们在CRM应用程序中预订的活动,反之亦然。

Is there any solution to achieve this? 有什么解决方案可以做到这一点吗? Preferably not using any plugins or installs on the end user's PC? 最好不要在最终用户的PC上使用任何插件或安装?

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. 我在工作的地方针对Ruby-on-Rails应用程序实施了双向日历同步解决方案。 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). 我所做的是使用Exchange Web服务(而不是当前的托管API)编写Windows服务。 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. 那时有点挑战,因为文档很差,API也很冗长。 The new managed API is much more terse. 新的托管API更为简洁。

The service has been running well for more than almost two years now. 该服务已经运行了近两年了。

You want to use the EWS Java API from Microsoft. 您要使用Microsoft的EWS Java API。 It makes doing this type of thing a snap. 它使执行此类操作变得轻而易举。 No need to re-invent the wheel writing your own interface. 无需重新编写轮子即可编写自己的界面。

根据此博客文章iCal规范,您应该能够通过向用户发送指向iCal事件的链接来做到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM