Solved

How to programmatically access Exchange Server from Java servlets?

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create an Address List 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 Organization >> Ad…
how to add IIS SMTP to handle application/Scanner relays into office 365.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now