Solved

How to programmatically access Exchange Server from Java servlets?

Posted on 2004-04-23
5
1,984 Views
Last Modified: 2012-06-27
I need to modify an existing web application (Java servlet). It would make the modification (and my life) a lot easier if I can access, from the servlet, information stored in the contacts folder/address book of  Exchange. Is there a way to do this?
0
Comment
Question by:knarfville
5 Comments
 
LVL 5

Expert Comment

by:MFay
ID: 10906835
Can you be more specific?  Are you trying to write a front end that will access Active Directory snd make changes to some Exchange properties?

LDAP comes to mind..
0
 
LVL 8

Expert Comment

by:ErikKvK
ID: 10916641
Geeting Addresbook information from Exchange is easy, lookup the ADSI SDK on the MS website. this will explain how to get this info, because you need to get it from AD, not Exchange.

Contact folders will be a bit more difficult. If you store all contacts in AD, this should be as easy as getting to the addressbook. If you need to access contacts from Outlook, then you will probably not be able to script this easily.
0
 

Accepted Solution

by:
notExactlyEinstein earned 100 total points
ID: 10923769
The COM library (cdo.dll) exposes functionalities to access Exchange folders, including the contacts folder. COM libraries are readily acessible through VB and/or VBScript. All you need to do is add references to these libraries. Accessing them from Java, however, is a different story. I believe you need an interoperability tool like a Java-to-COM bridge to do this. Check out . . .  http://portal.knowledgebase.net/article.asp?article=95570&p=4965
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question