-
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.api
Resources for the API -
ch.hszt.mdp.dao
DataAccessObject and the implementation of them (Hibernate used) -
ch.hszt.mdp.domain
Our DB-Models -
ch.hszt.mdp.serivce
A service layer to access the dao's -
ch.hszt.mdp.util
Util classes go in here -
ch.hszt.mdp.validation
All our validation classes -
ch.hszt.mdp.web
Our 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.