-
Jul 13th, 2006, 07:35 PM
#1
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?
Thanks,
Alex.
-
Jul 13th, 2006, 09:16 PM
#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?
Thanks,
Alex.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules