I know there are some ActiveResource **Client** libraries for Java, like [RAPA](http://code.google.com/p/rapa/) and [JactiveResource](http://jactiveresource.org/)

The question is: is there any easy way to create the **Server Side** of ActiveResource in Java?

In RubyOnRails all you need to do is to use the [Inherited Resources](https://github.com/josevalim/inherited_resources) gem. Is there any similar thing in Java?