Announcement Announcement Module
Collapse
No announcement yet.
Spring Roo model populated from REST service (no persistence) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Roo model populated from REST service (no persistence)

    Hi all,

    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?
Working...
X