Architecture

Application Architecture

Figure:Layered Architecture Diagram

Presentation Layer

    • Implemented by:

      • Spring MVC

      • JSP/Servlet

      • Spring MVC Tags

    • Implements View and Navigation Logics

    • Uses @Controller annotation

Business Layer

    • Implemented by Service classes

    • Service classes are defined by @Service

    • Service classes handles transactions

    • Transactions are handled by Spring AOP

Data Access Layer

    • Uses Spring DAO for generic exception conversion DataAccessException

    • @Repository annotation is used to implement DAO objects

    • Uses Spring ORM to integrate Hibernate

    • Hibernate to implement Data Access Objects

Integration Layer

    • Beans are used to integrate Java Mail