Announcement Announcement Module
Collapse
No announcement yet.
how to bind application context to jndi Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to bind application context to jndi

    I would like to access my beans from ejb. There are supported classes in ejb.support, but I want to load my application context once, not every time when new ejb is created. So maybe bind application context to jndi, but how can I achieve it (using jboss). Or maybe You have other concepts.

  • #2
    Spring ApplicationContext is not serializable and may not be binded, out of the box, to JNDI.
    Hope this helps.

    Comment


    • #3
      Maybe ContextSingletonBeanFactoryLocator might be helpful for you.

      Regards,
      Andreas

      Comment


      • #4
        I have developped a Spring JNDI provider. So retrieving Beans from EJB is completely transparent. The only thing you must do is to prefix your JNDI entries with the prefix spring:.

        I will submit the implementation to the Spring community in a few days. If you are interested, I can send it to you.

        Jeff

        Comment


        • #5
          I would like to have it.

          aurelije.zovko@citigroup.com

          Regards,
          Aurelije

          Comment


          • #6
            I have posted them on JIRA:
            http://opensource.atlassian.com/proj...rowse/SPR-1422

            Comment

            Working...
            X