Apache Directory Project - Re: Client library (I like JNDI factories)

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2005 > Re: Client library (I like JNDI factories)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Client library (I like JNDI factories)
Stefan Zoerner

2005-08-03, 5:45 pm

A simple example may be found in the JNDI Tutorial:
http://java.sun.com/products/jndi/t...ate/custom.html
(object and state factories for Person objects/entries)

An even more interesting one is the group functionality of the LDAP
booster pack, which is implemented with JNDI state/object factories
http://java.sun.com/products/jndi/
cite: The Booster Pack contains support for both static and dynamic groups
by representing them as group objects that can be read and stored in the
directory.

Greetings from Hamburg,
Stefan

--8<----------------------------------------------------------------

Stefan Zoerner, Dipl.-Math.

Advisory IT Architect, AMS Application Innovation
IBM e-business Innovation Center
Beim Strohhause 17
20097 Hamburg

mail szoerner-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org
www http://www.ibm.com/services/de/innovation




Marc Boorshtein <mboorshtein-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
03.08.2005 12:43
Please respond to "Apache Directory Developers List"

To: Apache Directory Developers List
<dev-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>
cc:
Subject: Re: Client library (I like JNDI factories)



Very interesting. The factory concept in JNDI is nice (I would like
to do the something similar with JLDAP). I'm not quite sure how that
helps with things like mapping between POJOs. Could you give an
example?

Marc


On 8/3/05, Stefan Zoerner <SZOERNER-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> wrote:
>
> Hi all!
>
> There is at least one feature within JNDI which I like: The factory

concept
> (object.-, state-, cantrol factories).
> It allows us to implement cross cutting concerns like mapping between

POJOs
> and directory entries within on module, so the conversion is under the

hood
> (i.e. you make a JNDI search call and get your domain objects). And it

is
> quite simple to create vendor/schema specific behaviour and make it
> customizable (even during runtime). Same is true for creation of

response
> controls for special LDAP controls.
> Of course it is possible to create such a framewotk yourself, but in

JNDI,
> it is already there (within the JDK).
>
> But yes, I also prefer "explicit" libraries like Novell/Netscape, e.g.

for
> LDIF functionality.
>
> Greetings from Hamburg -- Stefan
>
> --8<----------------------------------------------------------------
>
> Stefan Zoerner, Dipl.-Math.
>
> Advisory IT Architect, AMS Application Innovation
> IBM e-business Innovation Center
> Beim Strohhause 17
> 20097 Hamburg
>
> mail szoerner-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org
> www http://www.ibm.com/services/de/innovation



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com