diff --git a/readme.md b/readme.md index a282f8cb2..70e2da695 100644 --- a/readme.md +++ b/readme.md @@ -3,6 +3,9 @@ ## What does it look like? spring-petclinic has been deployed here on cloudfoundry: http://spring-petclinic.cloudfoundry.com/ +## Understanding the Spring Petclinic application with a few diagrams +See the presentation here + ## Running petclinic locally ``` git clone https://github.com/SpringSource/spring-petclinic.git @@ -25,11 +28,11 @@ If m2e is not there, just follow the install process here: http://eclipse.org/m2 ### Steps: -In the command line +1) In the command line ``` git clone https://github.com/SpringSource/spring-petclinic.git ``` -Inside Eclipse: +2) Inside Eclipse ``` File -> Import -> Maven -> Existing Maven project ``` @@ -39,34 +42,108 @@ File -> Import -> Maven -> Existing Maven project
Web layer | Files | +Inside the 'Web' layer | Files |
---|---|---|---|
Spring MVC- Atom integration | - VisitsAtomView - mvc-view-config.xml + VetsAtomView.java + mvc-view-config.xml | ||
Spring MVC - XML integration | -mvc-view-config.xml | +mvc-view-config.xml | +|
Spring MVC - ContentNegotiatingViewResolver | +mvc-view-config.xml | ||
Spring MVC Test Framework | -VisitsAtomViewTest.java | +VisitsViewTest.java | |
JSP custom tags | - WEB-INF/tags | + WEB-INF/tags + createOrUpdateOwnerForm.jsp||
webjars |
- webjars declaration inside pom.xml - Resource mapping in Spring configuration + webjars declaration inside pom.xml + Resource mapping in Spring configuration sample usage in JSP |
||
Dandelion | ++ ownersList.jsp + web.xml + | +||
Thymeleaf branch | ++ See here | +
'Service' and 'Repository' layers | Files | +
---|---|
Transactions | ++ business-config.xml + ClinicServiceImpl.java + | +
Cache | ++ tools-config.xml + ClinicServiceImpl.java + | +
Bean Profiles | ++ business-config.xml + ClinicServiceJdbcTests.java + web.xml + | +
JdbcTemplate | ++ business-config.xml + jdbc folder | +
JPA | ++ business-config.xml + jpa folder | +
Spring Data JPA | ++ business-config.xml + springdatajpa folder | +
Others | Files | +
---|---|
Gradle branch | ++ See here | +