-
Notifications
You must be signed in to change notification settings - Fork 1
Architecture
fabian edited this page Jan 12, 2012
·
8 revisions
-
ch.hszt.mdp.apiResources for the API -
ch.hszt.mdp.daoDataAccessObject and the implementation of them (Hibernate used) -
ch.hszt.mdp.domainOur DB-Models -
ch.hszt.mdp.serivceA service layer to access the dao's -
ch.hszt.mdp.utilUtil classes go in here -
ch.hszt.mdp.validationAll our validation classes -
ch.hszt.mdp.webOur controller layer and therefore the mapping to the jsp's
- Dependency Injection is used to loosely couple the different objects. e.g. the services are get injected into the controllers by Spring.
- Inversion of Control is used to live the framework paradigma. e.g. to encapsulate the business logic from the called methods.
- OpenSessionInView is used so the lazy loaded objects get called if we access them from within a jsp.