Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleWork in progress

This site is in the process of being reviewed and updated.

h2. Introduction

We will discuss various ways to store lists of simple Java types in LDAP.  LDAP is particularly poor at managing lists.  Lists of primitive types require the maintenance of order.  Simply using a multivalued attributeType does not solve this problem since there is no way to determine the order of the values.  Workarounds can be used each with trade offs.  One workaround may be better than another for certain circumstances.  In any case though, an understanding of how the directory will be used (searched) will factor into the selection of the best workaround.  Any persistence engine mapping Java bean list properties to LDAP should allow for several mechanisms chosen at the user's discretion.

...