Leo Simons wrote:
Ulrich Mayring wrote:
>>
The components are just Avalon components, so I expect no problem there. To give you an idea of my ECM usage, here is an excerpt (I left out try/catch, declarations and other stuff that is not relevant here):that depends on how closely you've integrated ECM into your app. Porting over the components themselves should be simple enough. For something like cocoon (which does an 'extends' on lots of classes) it is more work.2) Wait for Fortress release and change to Fortress. How much work?
private ExcaliburComponentManager cm;
[...]
// configure(Configuration conf) method
DefaultRoleManager drm = new DefaultRoleManager();
drm.enableLogging(this.log);
drm.configure(conf.getChild("role-list"));
cm = new ExcaliburComponentManager();
cm.enableLogging(this.log);
cm.setRoleManager(drm);
((Configurable)cm).configure(
conf.getChild("components"));
}
cm.initialize();
// end configure() method
[...]
// Later on we need a component from the cm
Object current = ObjectFactory.getInstance(uri);
((Composable)current).compose(cm);
Now, compose has to go and be replaced with service. Other than that I don't see much to be done. What lifecycle extensions would I gain by switching to Fortress? As you can see, currently I only use configure and compose. At this point I don't know where the component's lifecycle methods are called... maybe ECM does this in the background, but it works somehow :)
As you can see, my ECM usage is very simple. Is it even worth to upgrade to Fortress and possibly go from "very simple" to "moderately complex"?
It's always very difficult to give a recommendation about this stuff.
I know! :)
I don't think it is wise at this point to make business decisions incorporating the "grand unified container" (codename: Spearhead) yet, unless you're actively involved in its development (in which case you would of course know or at least influence what it will end up as :D).Well, my project is OpenSource as well, so the business decision is up to the developer team and there's no boss, who can fire us :)
Ulrich
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
