0 Replies Latest reply on Sep 24, 2003 12:28 PM by jmbriggs

    LDAP/Jabber Connection Pooling

    jmbriggs Newbie

      I am trying to figure out what the best way would be to add connection pooling functionality for LDAP connections and Messaging (Jabber) connections. I'm using the Netscape LDAP API and Smack Jabber API.

      Our app is already configured to do JDBC connection pooling through JBoss (ver 3.2) and I'm wondering if there is a relatively painless way to do the same for the other connection types.

      I am looking at the JCA Configuration section of the JBoss Administration & Development guide, and am having trouble understanding everything. It seems like I would have to create a resource adaptor for each type of connection?

      But I'm not sure if this is right because when I look at sample ra.xml files, I notice that there are connectionfactory-interface and connection-interface properties, and the LDAPConnection I use is a Class, not an Interface...

      Is JCA and resource-adaptors the way to go for what I'm trying to do, or is there a different better way?

      Thanks!,

      Jeff