Results 1 to 2 of 2

Thread: JNDI Bind from Spring Context...

  1. #1
    Join Date
    Feb 2006
    Posts
    115

    Default JNDI Bind from Spring Context...

    Is there a way to bind a bean to JNDI directly from within the Spring Context XML? I would like to do it similar to how the JMX MBean stuff works, but I can't seem to find a class to do it.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    There is a bean which can do that, however that will make use of Rmi. Checkout the JndiRmiServiceExporter. If you don't want that you can always use that class as a sample and create your own JndiServiceExporter.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

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