Re: Client library (I like JNDI factories)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Re: Client library (I like JNDI factories)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-03-05 10: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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:55 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register