JNDIAdaptor and openChannels
JNDIAdaptor and openChannels
- Subject: JNDIAdaptor and openChannels
- From: Timmy <email@hidden>
- Date: Thu, 11 May 2006 10:26:13 -0700
Everyone:
I'm a bit of a WebObjects (and java) newbie so I am just throwing
this out as a general consensus type question. My app is using ldap
authentication but, beyond that, is also correlating ldap users to a
person object in an SQL database. These separate uses happen in
pretty quick succession since authentication and setting the user are
all part of logging in. This all works as it should right now
however, I've been frustrated during development with how often I
have gotten errors related to open channels - something I never see
with the jdbc adaptor.
I am quite sure that I am not employing the most scalable use of the
adaptor - or am I? I of course have a method to close all channels
but I end up having to call that (in ugly fashion) all over the place
to ensure that everything works. And I am concerned that I'll have
problems when users are concurrently opening channels to login and
get registered with the session.
I've noticed Chuck's book seems to favor staying away from the jndi
adaptor for auth which will probably help this problem. But as my use
of objects from ldap increases (it will) I want to use the best
practices for working with those objects.
Anyone have any thoughts from experience with the adaptor?
Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden