Spring Framework version 4.2 RC1 now offers solid support for cross-origin resource sharing (CORS), which brings the framework more in line with contemporary technologies, such as HTML5 and REST APIs.
Without CORS support in the past, users of Spring MVC required a filter-based solution to make AJAX requests to another domain. Now, the team that maintains the open-source framework has added first-class support for CORS, providing a far easier way to configure the resource specification.
This Spring support is particularly important for provisioning APIs that have mashup potential with APIs from other domains as it will allow them to share digital assets. The move brings CORS capabilities to the forefront of Spring to make the most of REST APIs and HTML5 specifications.