From: Elizabeth B. <sog...@ya...> - 2002-06-22 03:12:56
|
Hi, I am interested in writing some kind of BMP or CMP that, instead of querying a database, queries an LDAP server. I've searched the net and come up with a few resources about JNDI and LDAP, but none that addresses, specifically, a BMP or CMP that works with an LDAP server. I have a few questions: 1) Is this like "way out there" - am I trying to do something the wrong way? (I'd like the objects within an LDAP server to appear as beans within JBoss.) 2) Is this something appropriate for BMP and CMP? And, if so, should I begin investigating an MBean that provides such things as LDAP Connection Pools? I'd like to be able to use LDAP both as a persistant store and also for authentication/authorization. My plan is to have a "People" class but also other objects (for example, "Images"). 3) Is it a waste to wrap the LDAP server with a Bean? That is, should clients just access the LDAP server directly via a few well-made classes instead of communicating with JBoss to do it for them? Am I miss applying JBoss for this job? Any pointers, references or pearls of wisdom greatly appreciated! Thank you, Elizabeth |