Announcement Announcement Module
Collapse
No announcement yet.
Add Json client to GWT example Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add Json client to GWT example

    With RC1, the example getting-started-with-roo-sts runs and I can add a property to the Employee class as the example shows.

    Now I want to extend the example by adding a non-GWT Json client ( so there would be the, as is, GWT client plus another non-GWT client that calls Json).

    I added @RooJson to Employee and Employee_Roo_Json.aj was created when I saved and ran mvn gwt:run.

    I found ContentNegotiatingViewResolver but it isn't clear if that is what I need. If it is, I need more information on how to use it in this case.

    It seems like adding a separate Json client should be easy.

  • #2
    You'd need to create a web controller for your entity. So "json all" and then "controller all" are probably the commands you're after.

    Comment

    Working...
    X