Announcement Announcement Module
No announcement yet.
Connecting services from a jar? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Connecting services from a jar?

    I have an application that uses several modules each in its own jar. Each jar has an application configuration supplied with it. A module that includes dependent jars is responsible for initializing its children's services.

    The question is: how does the owning module auto discovers the services of the described in its submodules?

    In other words the application deployed is the sum of its segments. But the segments are not known, so I can not
    do imports. How do I make segments to be the whole on deployment?

    I disocevered SingletonBeanFactoryLocator that sort of doing this. But I do not understand the docs to make it work.

    Anyone has any help to offer?

  • #2
    I just reviewed BeanFactoryLocator docs again and I start to get it now. But still that method implies that BeanFactories deployed that way have a hierarchy. In my case I wanted everything to be flat. Direct imitation of what series of imports would do, with the mechanism of auto discovery.

    So the question is still on :-)

    Anyone has any suggestoins?