RESTful Web Services with Spring Roo
Why Stack Overflow recommends it
Stack Overflow users link it when answering questions about getting JSON and REST endpoints out of Spring Roo controllers and as a quick demo of Roo's scaffolding.
Recommended by 2 people across 2 different months, 2011 to 2013.
What it is
A roughly 11-minute screencast from BTI360 showing how to build RESTful web services with Spring Roo. It reuses a Dictionary service example and uses Roo's JSON support to implement GET, PUT, POST and DELETE on a Word resource.
What people said
Recommends Alex McLintock · 2011-05 · Stack Overflow · on “JSON and XML from Roo RESTful controllers”
This may help... [this video] RESTful Web Services with Spring Roo "In this screencast, we continue our exploration of tools and frameworks supporting RESTful Web Services by taking a look at Spring Roo. We'll use our example Dictionary service that we've used in the past. We'll use Roo's JSON support to implement the GET, PUT, POST, and DELETE operations on the Word resource."
Recommends AnthonyY · 2013-01 · Stack Overflow · on “Is there a REST Web Services API provider like FRAPI (PHP) but for Java?”
You can use the Spring MVC to build your Rest Web Services easily. Spring ROO can help you to set up a skeleton project from which you can learn how to set it up for your project. Here is a demo which shows you how to use Spring ROO to build a RESTful Web Services: [this video] I don't know if there is any ROO addon can generate API keys for your web services but you can use Spring Security to secure your web services.
Cites user377628 · 2012-12 · Stack Overflow · on “How do I access data from my database in Spring Roo?”
I've set up Spring Roo following some basic guides, and I have a setup where data from my database can be accessed from a web browser using Roo's standard forms (like in this Youtube video [this video] ). Now I'd like to access that data from Java code so I can "inject" it into a view from other pages on the site. How is this done? Edit: Here's how I was able to access my data: From a controller (or any class, really), I use the this annotation along with this property definition: @PersistenceContext private EntityManager manager; Then I can access the data with a query like this: List<Announcement> results = manager.createQuery("from Announcement a where a.id = :id").setParameter("id", new Long(