O'Reilly logo

GlassFish Security by Masoud Kalali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Embedding OpenDS

A Java application can embed the OpenDS JAR files and thus run the service in the same JVM. When doing so, the client application is also in charge of the OpenDS directory server lifecycle. We discussed benefits and possible reasons for using embedded software in the first section of this chapter. So let's go straight into the details of running OpenDS in embedded mode.

Benefits of embedded mode capability of OpenDS

Being able to run OpenDS in embedded mode means the client application and the directory server are running within the same JVM which leads to the possibility of having specific kinds of use cases, along with many benefits including:

  1. Developing an LDAP-dependent packaged application without need to install a directory ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required