I am currently doing a modular web application from scratch and I am using Spring 4. The main problem is that I want that each module will register to the core module so that their presence will be known.
Here is the breakdown of the modules
- Base Module: module registration interface & implementation
- Module 1 which will need to register to the Base Module.
- Module 2 which also will need to register to the Base Modules
Module 1 (and other modules) are all optional.
I am on quite a tight schedule so as much as possible, I want to use Spring IoC only. Thanks.
EDIT: The modules do not need to be dynamically registered at runtime.