Commit graph

91 commits

Author SHA1 Message Date
Stephane Nicoll
a41b83a2fd Upgrade to Ehcache 3
I saw on twitter the reference of an article (in french):
http://javaetmoi.com/2016/08/migrer-vers-spring-boot/

That article concludes with something along the lines of  "Besides the
EhCache and Maven configuration, Petclinic does not hold a single line
of XML anymore".

Looking at the code, we can remove more XML if you want. This PR migrates
the cache infrastructure to EhCache 3 and JCache (JSR-107). This also
reduces the number of dependencies.
2016-08-29 18:48:12 +02:00
Dapeng
beb46b2b3b support switching db init script at deployment 2016-06-27 12:35:37 +08:00
Antoine Rey
4da41dbbda #164 Disable cache configuration for unit tests 2016-06-24 21:18:38 +02:00
Antoine Rey
a6e81a51a0 #164 Spring Boot version of Petclinic ready to deploy to an external web container (ie Tomcat) 2016-06-23 19:42:02 +02:00
Antoine Rey
817fabd9ea Fix #155 Fix logback + JMX memory leak on web application reload 2016-06-06 18:37:44 +02:00
Antoine Rey
e74b1bc160 #141 Configure Unicode and UTF-8 MySQL database for Chinese language 2016-04-05 22:05:41 +02:00
Antoine Rey
7dcf82af94 Fix #78 Migrate to Bootstrap 3.x 2016-04-04 08:13:51 +02:00
kadinyazilimci
e7f68999bf owners search has been case insensitive 2016-02-25 09:36:20 +10:00
thinksh
0504ec9fe3 Update petclinic_db_setup_mysql.txt
Correct initialization script file's name
2016-02-03 23:19:46 -05:00
Antoine Rey
c65cfb6c11 moving from Webjars to Bower #83: renaming bower_components to vendor, update readme.md 2016-01-30 14:00:12 +01:00
IHABRITANE
540d31ed21 moving from Webjars to Bower #83 2016-01-25 17:22:41 +00:00
Antoine Rey
09ed33a5fc #96 Reformat code with EditorConfig 2015-10-16 09:33:28 +02:00
Antoine Rey
cb0504ee97 #92 add some comments to switch from HSQLDB to MySQL 2015-10-13 08:32:15 +02:00
michaelisvy
54b7d87ff2 Fixing log back warning per #59 2015-05-20 23:18:19 +08:00
michaelisvy
c00d1abf23 Merge pull request #72 from ka2m/master
Update JDBC file naming in MySQL setup instruction
2015-05-20 23:14:45 +08:00
michaelisvy
91ed548481 removing xdd version number
so we always use the latest in the classpath
2015-05-12 19:55:15 +08:00
michaelisvy
80c1d243a1 Removed RSS/rome and added JSon
RSS is becoming outdated, JSon is a better example
2015-05-12 19:07:35 +08:00
Vlad Selpukhin
099b848b62 Update JDBC file naming in MySQL steup instruction 2015-04-23 15:43:48 +03:00
michaelisvy
85c8237fb5 added comment on <mvc:default-servlet-handler /> 2014-11-28 13:40:46 +09:00
michaelisvy
92e7ab43be Simplified ContentNegoViewResolver config
- Now using namespace, much simpler (11 lines instead of 27)
- Just a minor issue with:
<bean class="org.springframework.web.servlet.view.JstlView">
	<property name="url" value="" />
</bean>
(should investigate later if we can remove “url” attribute
2014-11-28 12:45:57 +09:00
michaelisvy
ce50e80736 Merge pull request #42 from bram-atmire/documentation-fix
update db_readme.txt to reflect properties rename
2014-06-02 08:41:51 +08:00
Thibault Duchateau
e99c67a4bb Upgraded Dandelion-Datatables to the latest release (v0.10.0)
* The old datatables-servlet2 dependency has been removed from the pom.xml
 * Some attributes have been renamed (e.g. paginate => pageable)
 * Starting from the v0.10.0, all web components (servlet, filter) must be explicitely declared in the web.xml file. That's why I added the following declaration: DandelionFilter, DandelionServlet and DatatablesFilter
 * Added a new datatables.properties file in order to disable the asset management brought by Dandelion-Core. This is equivalent to the old cdn=true table attribute
2014-05-31 11:02:32 +02:00
Bram Luyten
1341c12d1f update db_readme.txt to reflect properties rename
jdbc.properties was renamed to data-access.properties, but this file still referred to the old name.
2014-05-11 18:37:42 +02:00
Mic
5cfd482edc removed default profile and replaced with "jpa" 2013-12-16 20:58:15 +09:00
Mic
b7764e39b2 Added comments to explain how database dialect is configured #33 2013-09-27 09:33:09 +08:00
Cyrille Le Clerc
e15e45b5e2 Spring MVC should server static resources (*.html, ...) located in src/main/webapp instead of returning "404 Not Found" 2013-08-10 19:49:01 +02:00
Cyrille Le Clerc
2eaf4983a1 Introduce a "jee" Spring profile to retrieve the datasource with a JNDI lookup. 2013-07-01 12:13:29 +02:00
Cyrille Le Clerc
8c5bbed6d0 Allow to override data-access.properties with System Properties 2013-06-28 11:32:04 +02:00
Mic
c13f141251 introducing a "default" profile so default configuration is simpler 2013-06-28 12:00:29 +08:00
Mic
eb8ba79ba1 moved cache config files to dedicated folder 2013-06-05 09:04:41 +08:00
Mic
d1cc655aae migrated from commons-dbcp to tomcat-jdbc 2013-06-05 08:59:59 +08:00
Mic
a485521b6d changed file path. Thanks to @cmourouvin for letting me know. 2013-05-02 11:32:03 +08:00
Mic
993257f5a8 We're now able to use Spring Data there
see: https://jira.springsource.org/browse/DATAJPA-292
2013-04-18 10:10:16 +08:00
Mic
357ee0b78e did some cleaning on logging dependencies 2013-04-04 15:11:07 +08:00
Mic
ed226f70b5 fixing typo 2013-03-25 22:39:14 +11:00
Mic
96cd34dfd6 renamed jdbc.properties -> data-access.properties 2013-03-11 11:07:39 +08:00
Mic
3fe122db45 moved caching to the Service layer 2013-03-11 11:04:51 +08:00
Mic
d7f5cd17a5 renaming dao-config.xml -> business-config.xml 2013-02-26 17:25:31 +08:00
Julien Dubois
b3b536194a Transactions should be on the root application context (or Hibernate will not be able to persist entities) 2013-02-25 22:33:08 +01:00
Mic
9ee5e6f096 visit dates were not consistent 2013-02-21 14:50:00 +08:00
Mic
70c046a927 Fixed test using Spring MVC Test framework 2013-02-21 14:27:13 +08:00
Mic
9cd3c9ef3d embedded server: moved from Jetty to Tomcat 2013-02-21 09:44:38 +08:00
Mic
9ba5811de3 Integrating Gordon's work
- integrated Gordon's comments in the POM
- removed antlr from the POM that we don't need anymore
- changed webjars versions inside headTag.jsp
2013-02-20 09:40:48 +08:00
Gordon Dickens
14f882221f file formatting and missing @Override on Java classes 2013-02-19 10:56:21 -05:00
Gordon Dickens
46260018d1 switched to modern logback for logging, see logback.xml and logback-test.xml for configuration 2013-02-19 10:44:33 -05:00
Gordon Dickens
cf9a540e94 more comments 2013-02-19 10:20:11 -05:00
Gordon Dickens
2c8f0351b1 Updated Project configuration for best practices 2013-02-19 10:00:14 -05:00
Mic
cec8110236 moved Spring config files and changed AtomView example so it is based on Vets instead of Visits 2013-02-19 16:36:23 +08:00
Mic
e36bff7e7f removed unusued jpa configuration file (because Spring configuration doesn't rely on it) 2013-02-15 10:01:26 +08:00
Mic
6a8edd99af removed unused AOP config 2013-02-15 09:54:15 +08:00