Upgrade from 2.0.0
Use BoneCP for database connections pool management : Replaced commons-dbcp with bonecp (see why, and migration documentation).
If you ever customized one of those datasource keys in your database.properties file:
dataSource.maxActive = 50
dataSource.maxWait = 1000
dataSource.poolPreparedStatements = true
dataSource.validationQuery = SELECT 1
Then they are not used anymore; you should translate those concepts into the new librabry concepts used for database connections pool management, BoneCP. You’ll probably want to switch from a “max live/wait connections” to a “partition” approach, which is way more efficient.
Fix inconsistent API in HTTP Client : API calls all look like asyncXmlGet, jsonGet…
New features and fixes
- add CORSFilter : optional servlet filter that handles cross-origin requests (documentation)
- update to Spring Framework 3.2GA
- Custom JsonView annotations support : Customizing JSON serialization using annotations on entities (documentation)
- New REST API for model validation : Server can export BeanValidation constraints to your client application (documentation)