Access MS Exchange with Java

If you want to access an MS Exchange server to read messages, notes, tasks, calenders, contacts, … there is a library which has been provided by Microsoft. It's called EWS Java API1.1 and provides the package microsoft.exchange.webservices.data. However the Library is kind of abandoned but it does still work with Exchange 2010 SP1. Unfortunately it does have some old dependencies and makes some trouble if you try to compile it. I created a jar which includes the necessary libraries and can be used with Java 6 and Java 7.

 

It is on my Maven Repository. You can add the repository with:

and the Library with

 

You can also just download the Jar: EWS Java API1.1.5

MySQL Server 5.5 Logging on Windows 7

First you need to find out which settings file is active. Usually you can find it under C:\ProgramData\MySQL\MySQL Server 5.5\my.ini. Then you need to add the output configuration. Be careful to use the right syntax for the path. Below [mysqld] you can add something like:

After you restart the service your queries will be logged. If it doesn't work you can consult the Errorfile (C:\ProgramData\MySQL\MySQL Server 5.5\data\computername.err)