AnsweredAssumed Answered

AMP modules starting oder

Question asked by vycitalr on May 14, 2008
Latest reply on May 22, 2008 by vycitalr

I have a question regarding AMP modules. When I have a war with several modules installed, what is the start order of the modules? Is it deterministic, based on what,can be changed or controlled? In other words, I would like to have a sort of "template" module, that contains some basic functionality for all my projects. However, I want to have the possibility to redefine stuff from this template module (eg. some beans) in other modules. So I need to have control over what implementation is used. How to achieve this?

Another related thing is how to handle modules where there are duplicate files. Again I want to have eg. a JSP in template module, but in other module a have different version, which I want to be in effect. I think this could be managed by controlling the order in which the mmt-tool injects the modules. Can I control this and ensure some file is overwritten if already present?

Thank you for any comments.