Java API for Outlook 2000

Hi! I am looking for a java API to access Outlook 2000 functions adn stuff.

Basically, I am looking forward to something like a webmail, where I can resolve e-mail addreses or choose from a list of valid addresses if there is more than one matching address from outlook.

Is there an API which has the necessary methods ?

[346 byte] By [vbadri79] at [2007-9-30 11:57:20]
# 1
Have you looked at JavaMail?
cknelsen at 2007-7-4 14:06:02 > top of Java-index,Administration Tools,Sun Connection...
# 2

Java Mail does not have the methods to access from Outlook.

I am not looking for a mail client. I am looking to acees the Contacts list from the Outlook Exchange server.

I think it is possible only though JNI. But if naybody has sample code or has done before that will be very helpful.

Badri

vbadri79 at 2007-7-4 14:06:02 > top of Java-index,Administration Tools,Sun Connection...
# 3
vbadri79,I am trying to do the same thing that you are. Essentially, I need to import the contacts on the outlook exchange server into my java code.Have you had any success in finding sample code?Thanks,JeffJava@CorporateRoots.com
JHaight at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 4

> I am not looking for a mail client. I am looking to

> acees the Contacts list from the Outlook Exchange

> server.

Outlook != Exchange. There are two different things you could be asking for here:

* Access to Outlook, the client, running on your machine. Outlook is scriptable via COM+. There are Java/COM+ bridges out there - Google for them. You can then use the publicly documented COM+ interfaces in Outlook to manipulate it however you want.

(But Outlook can also be run without Exchange, and all this will still work there).

* Access to Exchange itself. For routine *mail* access (sending/receiving), you can enable POP3/IMAP4 and SMTP connectors in Exchange, and use Javamail. But that's not what you want - you want to use the full Exchange functionality (Contacts folder, perhaps other public folders, etc., right?)

You may be able to go the same route as above - use a COM+ bridge to drive Exchange via Outlook. Or you can google around and find things like http://www.compoze.com/hme/vsslide.html (an Exchange connector API for Java).

shankar.unni at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 5

I'm also looking to automate Outlook from Java. I've been mostly doing outlook automation through .Net, but am looking to build a client app that works across mutliple client platforms (Outlook and then handhelds like RIM, PocketPC), thus my interest in Java.On the MS-platforms (Windows XP-Outlook, PocketPC-PocketOutlook), I don't want to split the message stores since my client app needs to act on the same data that might normally be accessed via Outlook or PocketOutlook. So, I as well have been looking for something that bridges Java directly to the COM or .Net classes on both of those platforms. MS is currently favoring .Net on PocketPC instead of the old Pocket Outlook classes.I'm sure there are a lot of java/com bridges out there, but, fwiw, there's one guy who contacted me about the one he developed...see http://www.ezjcom.com/. Looks interesting. What would really be cool is if JavaMail could be strapped to Microsoft's classes in a way that allows me to do everything with JavaMail across all clients (hate maintaining multiple codebases).

dberlind at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 6

I have discovered several packages that will allow Java to Connect to Microsoft Exchange via a connector.

They are:

1

Compoze $4000

http://www.compoze.com/hme/index.html

Compoze Exchange Connector is a collection of 100% Java API libraries offering the easiest, most cost-effective way to gain access to Microsoft Exchange and integrate its information and functionality into portals, web applications or standalone Java applications. Compoze Exchange Connector hides the details of connecting to Microsoft Exchange allowing the developer to focus on the application and not its infrastructure.

Accessing information on the Microsoft Exchange server using Java is a difficult process due to the variety of ways that developers can access Exchange and the incompatibilities these methods have with Java. Compoze Software has solved this problem with Compoze Exchange Connector. Compoze Exchange Connector leverages Web Services to talk to Microsoft Exchange for faster performing and more secure web applications. Compoze Exchange Connector runs in any environment with a Java Virtual Machine (JVM) such as an application server, web server or portal server. (Figure 1)

2

J-Integra $5000

http://j-integra.intrinsyc.com/exchange/info/

With J-Integra for Exchange, it is now possible for Java applications to have access to Exchange Server objects like folders, messages, contacts, journals, and even calendar items without the need to write complex native code. J-Integra for Exchange exposes Exchange objects via APIs that are familiar to Java developers. Through these APIs, Exchange objects appear as though they are Java objects and can be used directly in your Java/J2EE applications.

In its aim to support developers with a wide variety of integration needs, J-Integra for Exchange offers three types of Java APIs for programmatic access to Microsoft Exchange:

1.Java API for CDO - A pure Java replica of the original CDO (Collaboration Data Objects) API.

2.JavaMail API for Exchange - A full implementation of the JavaMail 1.3 API.

3.Java-Exchange Bridge (JEB) - A user-friendly API for users with no CDO or JavaMail experience.

3

Brutus (C++) Open Source

http://www.omesc.com/modules/main_module/ (C++)

The way brutus works, is that it wraps MAPI at the server end in corresponding corba objects. That is really the only technically feasible way to do it.

So what you should/could do, is to take the Brutus idl files and compile them using some appropriate Java idl compiler. Two that might do it for you is Java IDL(*) from Sun or JacORB(**). They are both fine.

You can then access the Exchange server on an equal footing with Outlook. I intend(***) to expand the sample code to show how you can browse all contacts on the Exchange server using Brutus. The sample code is under the GPL, as is all of Brutus, so you can use it directly in your product (provided that is is GPL'ed too).

The sample code is C++ but there are so many similarities between C++ and Java that it should be possible to translate it without to much trouble.

Please email me with any others you find.

Thanks,

Jeff

sunjava@corporateroots.com

JHaight at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 7

Here's possibly one more:

EZ-JCOM

http://www.ezjcom.com/

The Java-to-COM solution.

EZ JCom lets you call COM objects from Java.

EZ JCom provides a bridge between Java programs and COM (ActiveX) objects. Using EZ JCom, Java programs can call COM objects, can receive events from COM objects, and - for visual COM objects - can even embed the COM objects inside Java user interface elements, such as in Swing, AWT or SWT pages.

No knowledge of C++ or COM is necessary. The translation layer (bridge) between Java and COM is automatically generated by EZ JCom!

Sample Java main programs are provided that show EZ JCom being used with some common COM objects. For a brief technical overview, please visit the how-to page.

EZ JCom can be used on Windows platforms to access COM objects locally. It can also be used to access COM objects remotely from other Java platforms such as Unix, Linux, Mac, or Handhelds, by using the included Remote Access Service.

For those who need advanced control over COM objects or whose COM objects are complex, EZ JCom also includes support for DCOM, choosing STA vs MTA, complex data types such as records, variants, arrays, arrays of records, reverse callbacks from COM objects into Java for event handling, and more!

JHaight at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 8
Hi JHaight,I'm trying to retreive the meeting room booking information and display it on a RIM Blackberry. I'm wondering if any of these would be able to grab information from conference room bookings (Public Folders) from the exchange server.Thanks,Alan
Alan_Liang at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 9
Hmm, $599 PER SEAT ! this is a little high for a client _LIBRARY_ isnt it?
ajbrook at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 10
Last comment was for http://www.ezjcom.com/Ive found another one, http://www.kova-solutions.com/joc/ this is $251 per seat but offers a 'site' licence for about $2K which is fine if you have >10 app clients
ajbrook at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 11
I have reviewed the Kova Solutions program and I wrote the author. It appears this software is only good for Outlook 2000, 2002, XP and 2003.NOT OUTLOOK EXCHANGE!-Jeff
JHaight at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 12
What does that mean, *NOT* Outlook Exchange. Outlook 2003 connects to Exchange server.Once you bridge Java to Outlook's classes, does it matter what's on the back end?
dberlind at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 13

*NOT* means that I wrote the authors of the package asking whether or not their package could connect Java to *Outlook Exchange* and they said it could *NOT*.

If you're saying that 2003 connects to Exchange then maybe there is a way, but I don't know what that way is, and apparently neither does the creator at Kova.

JHaight

Thread below:

Hi,

No. Only the Outlook 2000, 2002, XP and 2003 are supported for now.

Regards,

Ondrej Benovsky

ob@kova-solutions.com

--Original Message--

From: Jeffrey Haight

Sent: mercredi, 1 dcembre 2004 12:46

To: info@kova-solutions.com

Subject: Java Outlook Connector

Hi.

Does this software connect Java to Outlook Exchange also?

Thanks,

Jeff

jojotheidiotboy at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 14

Jeffrey, I misunderstood your question. There is no such thing as Outlook Exchange (I misread it as Outlook Express).

Our product use COM to access Outlook and works whether Outlook is connected to an Exchange server or not.

However our product is not an Exchange server connector.

You can find more info on our web site: http://www.kova-solutions.com/joc/

Ondrej Benovsky

obenovsky at 2007-7-4 14:06:03 > top of Java-index,Administration Tools,Sun Connection...
# 15

> NOT OUTLOOK EXCHANGE!

>

Outlook Exchange (as already pointed out) does not exist. So you won't find anything that connects to it.

Apart from the supported versions of the Kova package, there's only Outlook 97 and Outlook 98 which are (and have been for some years) out of support by Microsoft themselves.

If you mean Exchange Client that's been out of support for almost a decade now, if you're still using it shoot yourself through the head (or better shoot your sys admins who refuse to upgrade through the head).

jwenting at 2007-7-4 14:06:06 > top of Java-index,Administration Tools,Sun Connection...
# 16
Hi,I want to know is there any API in Java to reset outlook password.Pls guide me!....Let me know the API name as well as required Jar files for the same. Thanks,Raja
Kavi@1234K at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 17
Hi,Yes, I am looking for outlook 2000....and objective is to reset outlook password for the domain user via Java API...Need your help.Thanks,Raja
Kavi@1234K at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 18
Hi,I have the same problem. ...How to access MS outlook from jsp with all functionality like attachement,indox... . Is there any API.Could you show some sample code...Thankscs
chandra2005 at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 19
Check another good API in http://www.kova-solutions.com/joc/. The testing so far works great for me.Alberto
aflores at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 20
Did you have any luck finding the best way to use java and outlook. I have the same need. Thanks.
markbwarner at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 21
Check SyncEx Connector API for Microsoft Exchange at http://www.syncex.com/api/collaboration.html
Punit at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 22

There's a free Java 2 COM bridge called Bridge2Java which is hidden inside the IBM alphaworks website (under a different title i.e. "Interface Tool for Java"):

http://www.alphaworks.ibm.com/tech/bridge2java

Demos are quite interesting/useful, but remember to build the proxies first! This tool only runs on windows!

Q: Does anyone know of a Linux based JAVA API that can "automatically" write content to a MS Word Doc? Which is FREE!?

Evan

efraser@marshall.edu at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 23
I have used JACOB ( http://sourceforge.net/projects/jacob-project/) for other Java/COM projects with success.
matt_collier at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 24
Hello,Is it possible using any Java API to access a exchangefolder and read the emails, fetch the contents and store it in Oracle database?Thanks
ponic at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 25
Yes, just use Brutus: http://www.omesc.com/Brutus is a CORBA layer around native MAPI. You can therefore use any CORBA compliant platform (such as Java) to connect to Exchange 5.5 or greater.
colding at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...
# 26

Hi All,

JEC (Java Exchange Connector) version 1.03_09 released.

the version contain lots bug fixes and some new features,

highlights: search capability, improved authentication, redirect support and more.

for more information and download (free) please visit:

http://www.javaexchangeconnector.com/

Eli

elich1 at 2007-7-4 14:06:07 > top of Java-index,Administration Tools,Sun Connection...