|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Packages | |
de.gruschke.dasync |
This is the Directory Server and Application Server Data Synchronizer.
DASync is a framework that eases the task of transfering data between EJB compliant application servers and JNDI accessible directories. A typical usage extracts a list of application specific accounts stored in entity beans and makes it available through an LDAP server.
The design philosophy is that some intelligence is put into the transfer code, i.e. the DASync framework plus its application. The transfer code defines a specific mapping between a predefined database model and a predefined directory schema. Typically the database model is defined by an already existing application and the directory schema by an RFC or by LDAP clients that you want to support.
DASync implements a synchronization algorithm, a main program, handles the connections to the application server and the directory server and provides some utility methods. It is up to the user of the framework to provide methods that handle the actual data.
Programmer's Guide
Implement the Interface DataSetFactory
.
It defines methods for retrieving data from the application server as
well as the directory server. They compute maps of keys and data objects.
You have to provide a class implementing DataRow
to represent these data objects. Optionally your class implements
UpdateDSDataRow
if you want to update the
directory server and UpdateASDataRow
if you
want to update the application server.
User's Guide Properties??? Command Line???
Pros and Cons of the Synchronization Algorithm
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |