- JAX-RS classes like resource classes and entity providers are now auto-detected by the plugin. There's no need any more to add them to the Spring application context manually.
- JAX-RS classes managed by the plugin can be changed at runtime in development mode. Code changes are detected by the plugin and reloaded in the same way as Grails controllers or services are.
- Services and other Spring beans are auto-injected by-name into JAX-RS resources and providers.
- The plugin also extends Grails' command-line interface for creating JAX-RS resources from scratch as well as generating JAX-RS resources from existing domain objects (scaffolding). With scaffolding RESTful service interfaces can be auto-generated for individual domain objects (still early-access).
Also the documentation has been and extended and completely revised. The easiest way to get started with the plugin is the Getting Started guide.
No comments:
Post a Comment