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 [![Build Status](https://travis-ci.org/spring-projects/spring-petclinic.png?branch=master)](https://travis-ci.org/spring-projects/spring-petclinic/) +# Sprinb Boot version of the Spring PetClinic Sample Application [![Build Status](https://travis-ci.org/spring-projects/spring-petclinic.png?branch=master)](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 ConfigSpring Boot Configuration
Java Config branchThe Main ClassPetClinicApplication.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' layerFilesCachingUse of EhCache CacheConfig.java ehcache.xml
DandelionDatatablesFilter, DandelionFilter and DandelionServlet registration DandelionConfig.java
Spring MVC - XML integrationmvc-view-config.xmlCustomViewsConfiguration.java
+ + + - - + - + - - - - - - - - -
Spring MVC - ContentNegotiatingViewResolvermvc-view-config.xmlOthersFiles
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' 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