Commit graph

43 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
0c09ec3bd1 added @Cacheable support with ehcache 2013-02-14 11:12:36 +08:00
Mic
4e91b4468e removed TopLink-specific and Hibernate-specific properties 2013-02-13 09:29:18 +08:00
Mic
23314c5428 moved all model classes to a dedicated 'model' package 2013-02-13 08:06:37 +08:00
Mic
0a5ea0b5fb moved aspect to util package 2013-02-13 07:57:51 +08:00
Mic
572ef6e2c4 moved pointcut to @Repository instead of @Service
In that way we don't need a dedicated config file for the Service layer
2013-02-08 14:26:00 +08:00
Mic
5699bf83ee cleaned up AOP usage 2013-02-08 12:46:00 +08:00
Mic
5b8ef8ea10 replacing one Spring Data Repo with native JPA
see https://jira.springsource.org/browse/DATAJPA-292
2013-02-07 09:25:30 +08:00
Mic
2ebf7567b9 packagesToScan doesn't need a list of values
(feedback from Oliver Gierke)
2013-02-01 09:29:20 +08:00
Mic
3482d549ea renamed profiles and removed unnecessary@DirtiesContext annotation so the Test suite now runs in 40% less time 2013-01-29 17:47:45 +08:00
Mic
feca50d272 added jQueryUI 2013-01-22 09:29:49 +01:00
Mic
d88b565d28 migrated all dates to joda time 2013-01-19 02:53:27 +08:00
Mic
97aba3f4e6 added a Spring Data implementation
- there are now 3 data access implementations (jdbc, jpa and
spring-data-jpa)
- added corresponding bean profiles
- JUnit tests are now successful
2013-01-18 16:56:01 +08:00
Mic
c9c8c4e085 moved the ClinicRepository into some separate repos
There is still some polish up to be done.
2013-01-17 15:27:27 +08:00
Mic
0fe479390b improvements to Owner Controller
- migrated to bean validation annotations
- merged to one single controller
2013-01-16 10:30:20 +08:00
Mic
5432a1932c started adding support for Spring Data 2013-01-15 17:31:01 +08:00
Mic
5c25ef9cc1 removed former Hibernate xml configuration 2013-01-14 23:40:25 +08:00
Mic
0c2665f1b4 added bean profiles for jdbc/jpa 2013-01-14 23:36:06 +08:00
Mic
b459ca3377 added aspectj decaration. All JUnit tests are now successful 2013-01-14 23:23:07 +08:00
Mic
608c42f74b migrated from SimpleJdbcTemplate to JdbcTemplate 2013-01-14 22:13:04 +08:00
Mic
9f8acc05ad migration to JPA annotations
- added JPA annotations to POJO classes
- merged JPA Repos with Hibernate repos so we only use JPA
- renamed .txt files to .sql
- moved Spring configuration files so it is easier to use them inside
JUnit tests
2013-01-14 16:12:05 +08:00