Learning Spring with Tudu ListsMany people are using Tudu Lists to learn how to use modern-day Java technologies, such as Spring or JPA. Feel free to have a look at the source code :Of course you can checkout the project directly from SVN : In order to build the project, we use Maven :
ArchitectureIntroductionTudu Lists is a three-layer Web application which uses best practices from the Spring Framework in order to achieve better modularity, testability and performance. Persistance layerTudu Lists uses the Java Persistance API (JPA) in order to persist Java objects in relational databases. More specifically, it uses the Hibernate ORM engine to achieve this persistance. This allows Tudu Lists to work with a number of different databases. Here is a graphical representation of Tudu Lists database schema : ![]() Service layerTudu Lists uses Spring to manage business objects in the service layer. Here is a graphical representation of the Spring beans in the service and repository layers (this graphic was generated by Spring IDE) :
Presentation layerSeveral different presentation layers can be plugged on top of the Tudu Lists service layer. The default one uses Spring MVC as its MVC2 framework and DWR for doing AJAX calls. Here is a graphical representation of the Spring beans in the presentation layer (generated with Spring IDE) :
|
