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-INF/tags + createOrUpdateOwnerForm.jsp + + + + + + + +
Web layerFilesInside the 'Web' layerFiles
Spring MVC- Atom integration - VisitsAtomView - mvc-view-config.xml + VetsAtomView.java + mvc-view-config.xml
Spring MVC - XML integrationmvc-view-config.xmlmvc-view-config.xml
Spring MVC - ContentNegotiatingViewResolvermvc-view-config.xml
Spring MVC Test FrameworkVisitsAtomViewTest.javaVisitsViewTest.java
JSP custom tags - WEB-INF/tags
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' layersFiles
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
+ + + + + + + + + +
OthersFiles
Gradle branch + See here
\ No newline at end of file