• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
JNDIAdaptor and openChannels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: JNDIAdaptor and openChannels
      • From: Chuck Hill <email@hidden>
References: 
 >FrontBase NooB Question (From: Jeff Schmitz <email@hidden>)
 >Re: FrontBase NooB Question (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: two databases from one application
  • Next by Date: Re: JNDIAdaptor and openChannels
  • Previous by thread: Re: FrontBase NooB Question
  • Next by thread: Re: JNDIAdaptor and openChannels
  • Index(es):
    • Date
    • Thread