diff --git a/readme.md b/readme.md index 27523ac19..a93ec823c 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# Spring PetClinic Sample Application [](https://travis-ci.org/spring-projects/spring-petclinic/) +# Sprinb Boot version of the Spring PetClinic Sample Application [](https://travis-ci.org/spring-projects/spring-petclinic/) ## Understanding the Spring Petclinic application with a few diagrams See the presentation here @@ -7,10 +7,10 @@ ``` git clone https://github.com/spring-projects/spring-petclinic.git cd spring-petclinic - ./mvnw tomcat7:run + ./mvnw spring-boot:run ``` -You can then access petclinic here: http://localhost:9966/petclinic/ +You can then access petclinic here: http://localhost:8080/ ## In case you find a bug/suggested improvement for Spring Petclinic Our issue tracker is available here: https://github.com/spring-projects/spring-petclinic/issues @@ -56,26 +56,38 @@ File -> Import -> Maven -> Existing Maven project
Java Config | + | Spring Boot Configuration | |
---|---|---|---|
Java Config branch | +The Main Class | +PetClinicApplication.java | +|
Properties Files | - Petclinic uses XML configuration by default. In case you'd like to use Java Config instead, there is a Java Config branch available here. Thanks to Antoine Rey for his contribution. + application.properties | ||
Inside the 'Web' layer | Files | +Caching | +Use of EhCache CacheConfig.java ehcache.xml | +
Dandelion | +DatatablesFilter, DandelionFilter and DandelionServlet registration DandelionConfig.java | ||
Spring MVC - XML integration | -mvc-view-config.xml | +CustomViewsConfiguration.java |
Spring MVC - ContentNegotiatingViewResolver | -mvc-view-config.xml | +Others | Files |
---|---|---|---|
JSP custom tags | WEB-INF/tags @@ -94,79 +106,12 @@ File -> Import -> Maven -> Existing Maven project | ||
Dandelion-datatables | - ownersList.jsp - vetList.jsp - web.xml - datatables.properties + ownersList.jsp + vetList.jsp + web.xml + datatables.properties | ||
Thymeleaf branch | -- See here | -||
Branch using GemFire and Spring Data GemFire instead of ehcache (thanks Bijoy Choudhury) | -- 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 | -