Is there any ActiveResource like Java library?

I know that for Java there are several ActiveResource Client libraries, such as RAPA and JactiveResource

Question: Is there an easy way to create Server Side ActiveResource in Java?

In RubyOnRails, all you have to do is use the Inherited Resources gem. Is there something similar in Java?

+8
java rest ruby-on-rails activeresource inherited-resources
source share
3 answers

An inherited resource only makes your DRY code, nothing more. All the magic does Ruby on Rails. If you ask how to do REST with JAVA like Rails, than check this out.

1) you can use JRuby and RoR together. 2) you can look at Groovy on Grails 
+2
source share

I don’t know if there is a specific library for creating RESTful web services that implement what you need, I’m not an expert on ruby, but it seems that the active resource is something like an active record, but above REST, so that I suggested you need to use Jersey and ActiveJDBC together, and maybe you will get it. If it is general enough, you can even make a frame out of it.

Jersey Home

AcrtiveJDBC Page

Hope this helps!

+2
source share

Check out ActiveWeb: http://code.google.com/p/activeweb/ , this is a RoR based Java framework

0
source share

All Articles