Code reorganization
by Julien Viet
Hi All,
I have proceeded to a code reorganization in GateIn in order to put the right code at the right place.
Although there seems to be a lot of change, actually it is reorganization of source file, to it is not a refactoring, the code package have not been changed, it was just a matter to group the same thing together and improve the dependencies between the modules.
1/ the existing component.web module has been split into several sub modules
- component.web becomes an aggregator
- component.web.api : contains code we consider as an API mainly the extensible servlet filter that someone external can use
- component.web.resource : contains code related to resource serving, javascript, skin and stylesheet services. This code was scattered in several non appropriate places like component.portal and webui.portal
- component.web.controller : contains the GateIn entry point that process http request and delegate to the ui framework
- component.web.server : code that performs http serving, file download / file upload
2/ the component.portal component now contains only related MOP code, some code was moved to component.web.resource
3/ the component.dashboard was containing webui code related to dashboard and was simply moved to webui.dashboard (it was creating a weird yet legal maven dependency)
4/ the webui module has been reorganized
- the framework part of webui was extracted into webui.framework
- the portlet related code was extracted to webui.portlet
5/ some code was moved to component.common
- the resource resolver framework
- some reflection code found in webui
14 years, 4 months