I have a common admin module in my project which is developed using spring 2.0 and spring DAO. But this seems to be a common module which is found across many other projects in my team. Now we have a requirement to create an external pluggable component for this module and hence it can be plugged to all the existing projects and also for future upcoming projects.
I thought of creating the external jar file which has the code for this module and reuse it, but I am confused how exactly this can be achieved as this module has controllers and other dependency files like properties. Please advice.
Also, suggest me the correct approach to achieve this.