Asynchronous LDAP programming is full of Promises!

Ludovic Poitou and Matthew Swift



Doing LDAP client side development is not easy. For years, the client libraries haven’t really evolved and most of developers are stacked with JNDI. In the last few years, there’s been a number of new LDAP development libraries : Apache Directory SDK, UnboundID SDK and OpenDJ SDK, all of them build in Java. The OpenDJ SDK has gone under a massive work recently and is now proposing an API based on the “Promises” pattern. In this presentation, we will explain the concept of Promises and why we choose to use this pattern. We will introduce the OpenDJ SDK and its APIs and then we will go through a number of examples to demonstrate how easy it has become to write asynchronous client applications, with less but more readable code.


Ludovic Poitou is senior software engineer, currently working for ForgeRock as Director of ForgeRock France, and Product Manager for OpenDJ, the open source LDAP Directory services for the Java platform. Previously, Ludovic was working for Sun Microsystems as the Architect for the Sun Directory Services products and Community Manager for the OpenDS project. Ludovic Poitou has been speaking at various conferences and blogs regularly on the subject of Identity Management, LDAP Directory Services, Java and open source software.

Matthew Swift is Chief Architect at ForgeRock, overseeing the development of several products including OpenDJ, the Open Source LDAP Directory Services in Java, OpenIG, the Open source Identity Gateway. Previously Matthew worked for Sun Microsystem as the Technical Lead for OpenDS, and before at Messaging Direct Ltd (formerly Isode Ltd) where he helped developing products.


Asynchronous LDAP programming is full of Promises! – slides

Matthew Swift and Ludovic Poitou

Matthew Swift and Ludovic Poitou