Aug 23rd, 2012, 11:13 AM
Spring Roo model populated from REST service (no persistence)
I first posted this question to stackoverflow (http://stackoverflow.com/questions/1...no-persistence) but in hindsight, it seems this is place with the most community action..
I'm building a small web-application, that has no local persistence. It loads data from a remote RESTful end point.
It has one Model object, called Order. When the webapp receives a request such as example.com/order/1234 I want the web app to make a GET request (From a Service layer?) to the remote REST end point and then populate my Domain Model.
What is the best way to go about this?
Is it possible & worthwhile to use roo in any useful way without having a persistence layer set up?