The UnboundID LDAP SDK for Java version 0.9.7 has just been released. The release notes provides information about the complete set of changes, but some of the changes since the 0.9.6 release are listed below. If you’d like to be notified by e-mail when a new release is available, send a message to firstname.lastname@example.org.
LDIF Reader Performance
A change introduced in the 0.9.6 release dramatically improved LDIF reading performance for large entries with attributes with a lot of values (e.g., large static groups). This change has been generalized so that it applies to entries of any size, which significantly benefits performance when reading smaller static groups.
CompactEntry class has been added which can be used to represent a read-only entry in a form that requires much less memory than the existing
Entry class, although with a potential performance penalty for some operations. This is primarily useful for the case in which it is necessary to store a large number of entries in memory, since it is possible to hold more entries in a given amount of memory. As an example, for a typical user entry,
CompactEntry requires only 25% as much memory as
Entry, and for a simple static group with 20 members,
CompactEntry requires only 31% as much memory as
Android Demo Source
The source code for an application demonstrating the use of the UnboundID LDAP SDK for Java (mentioned in my last post) is now included.