Solved

How to programmatically access Exchange Server from Java servlets?

Posted on 2004-04-23
5
1,965 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…

939 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