The document describes the process of displaying a list of groups to a user in a web application. When a user calls the groups.htm page, Spring Web MVC calls the getGroups() method in the GroupController, which gets the group data from the database using Hibernate and returns it. The groups are then displayed to the user on the groups.jsp page, which is integrated into a template using Sitemesh before being shown to the user.
1 of 11
Download to read offline
More Related Content
Technology pres
1. TravelTogether
Technologies
Team MARK (Karola Weischenberg, Andr辿 K端pper, Russel Fossi, Marco Vreydal)
3. Overview
Spring Web MVC Calls GroupController
User calls groups.htm
Method getGroups()
GroupController.java
4. Overview
GroupDAO.java
Gets groups from
database and returns
Hibernate
Spring Web MVC Calls GroupController
User calls groups.htm
Method getGroups()
GroupController.java
5. Overview
GroupDAO.java
Gets groups from
database and returns
Hibernate
Spring Web MVC Calls GroupController Spring Web MVC
User calls groups.htm Displays the groups
Method getGroups()
GroupController.java groups.jsp
6. Overview
GroupDAO.java
Gets groups from
database and returns
JQuery
Hibernate
Spring Web MVC Calls GroupController Spring Web MVC
User calls groups.htm Displays the groups
Method getGroups()
GroupController.java groups.jsp
7. Overview
GroupDAO.java
Gets groups from
database and returns
JQuery
Hibernate
Spring Web MVC Calls GroupController Spring Web MVC
User calls groups.htm Displays the groups
Method getGroups()
GroupController.java groups.jsp
Sitemesh
Integrates groups.jsp
into a template
What user sees
8. Spring Web MVC Calls GroupController
User calls groups.htm
Method getGroups()
GroupController.java
9. GroupDAO.java
Gets groups from
database and returns
Hibernate
Calls GroupController
Method getGroups()
GroupController.java