Results 1 to 4 of 4

Thread: Using springLDAP in EJB layer?

  1. #1
    Join Date
    Apr 2009
    Posts
    7

    Default Using springLDAP in EJB layer?

    Hi,

    It looks like, that I'm gonna need to move the LDAP-handling to the EJB layer for cross-project usage, but I'm not sure, how SpringLDAP behaves in that context. Are there some catch-up's which I should be aware? Does have anyone experience with SpringLDAP in EJB layer?

    Any help would be appreciated.

    Best Regards,
    Peter Major

  2. #2
    Join Date
    Mar 2005
    Location
    Landskrona, Sweden
    Posts
    505

    Default

    There shouldn't be much to worry about. The only problem we've seen that might be applicable here is described in this post, and is related to class loading issues within a container. If you plan to use ContextMappers you need to make sure that the Spring ApplicationContext is loaded in the same - or a parent of - the class loader used in the EJB layer.
    Mattias Arthursson
    Jayway AB (www.jayway.se)
    Spring-LDAP project member

  3. #3
    Join Date
    Apr 2009
    Posts
    7

    Default

    Quote Originally Posted by rasky View Post
    There shouldn't be much to worry about. The only problem we've seen that might be applicable here is described in this post, and is related to class loading issues within a container. If you plan to use ContextMappers you need to make sure that the Spring ApplicationContext is loaded in the same - or a parent of - the class loader used in the EJB layer.
    Thanks for the answer, I was able to successfully use spring-LDAP in EJB layer (even with contextmappers) without any problem, it works like a charm.

  4. #4
    Join Date
    Jul 2005
    Location
    Helsingborg, Sweden
    Posts
    504

    Default

    That's good to hear. Thanks for reporting back.
    Ulrik Sandberg
    Jayway (www.jayway.com)
    Spring LDAP project member

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •