3
I Use This!
Activity Not Available
Analyzed about 2 years ago. based on code collected about 2 years ago.

Project Summary

Introductiongrails-jaxrs is a Grails plugin that supports the development of RESTful web services based on the Java API for RESTful Web Services (JSR 311: JAX-RS). It is targeted at developers who want to structure the web service layer of an application in a JSR 311 compatible way but still want to continue to use Grails' powerful features such as GORM, automated XML and JSON marshalling, Grails services, Grails filters and so on. This plugin is an alternative to Grails' built-in mechanism for implementing RESTful web services.

At the moment, plugin users may choose between Jersey and Restlet as JAX-RS implementations. Both implementations are packaged with the plugin. Support for Restlet was added in version 0.2 of the plugin in order to support deployments to Google App Engine. Other JAX-RS implementations such as RestEasy or Apache Wink are likely to be added in upcoming versions of the plugin. Please let us know if you'd like to have them added.

Latest ReleaseRelease notes for grails-jaxrs version 0.3 FeaturesMakes the JSR 311 (JAX-RS) available to Grails applications for developing RESTful web services. New Grails artefact types, Resource and Provider, for JAX-RS classes. JAX-RS Resource classes under grails-app/resources are auto-detected and can be modified at runtime. JAX-RS Provider classes under grails-app/providers are auto-detected and can be modified at runtime. Extended Grails command line interface Create new resources and unit test templates via grails create-resource . Generate ready-to-use resources from domain objects via grails generate-resources . Scaffolding Generate RESTful service interfaces for Grails domain objects Content negotiation support for XML and JSON representations Ability to use any Grails feature within JAX-RS resources and providers such as GORM can be for interacting with persistent domain objects. Grails filters for intercepting requests to JAX-RS resources. Grails services which can be auto-injected by name. Entity providers Domain object providers that convert between Grails domain objects and XML or JSON representations Support classes for developing custom entity providers Support for content negotiation using the Accept request header Plugin users may choose between Jersey and Restlet as JAX-RS implementations by means of configuration. grails-jaxrs applications can be deployed to Google App Engine (GAE). Getting startedIf you've used an older version of grails-jaxrs take a look at the release notes for version 0.3 Detailed installation instructions can be found on the InstallationInstructions page. First steps with the grails-jaxrs plugin are described in the GettingStarted guide. Advanced grails-jaxrs features are described on the AdvancedFeatures page.

Tags

gae grails groovy jax-rs jersey jsr311 rest restlet

In a Nutshell, grails-jaxrs...

Apache License 2.0
Permitted

Place Warranty

Sub-License

Private Use

Use Patent Claims

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

State Changes

Include License

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog

Languages

Languages?height=75&width=75
Groovy
60%
Java
36%
XML
4%

30 Day Summary

Apr 9 2016 — May 9 2016

12 Month Summary

May 9 2015 — May 9 2016
  • 5 Commits
    Down -1 (16%) from previous 12 months
  • 3 Contributors
    Up + 1 (50%) from previous 12 months

Ratings

1 user rates this project:
5.0
 
5.0/5.0
Click to add your rating
   Spinner
Review this Project!