Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    rest spring service and datasource xml

    Hello,

    In our app, we built the server-side integration through custom Spring beans, and xml config with
    Code:
    <serverObject lookupStyle="spring" bean="bananaService"/>

    This is pretty smooth, since we can load the datasources in the client, and automatically create form and listgrid fields etc.


    However, we now have a couple of Spring rest services that recieve and send JSON, not DSRequest/Response.

    My question is this - is there any way for me to use all of SmartGWT like i have done with my other service beans, but make smartgwt call my spring methods with JSON instead of dsrequest/response? like lookupStyle=spring, data=json, or something...

    That would be fantastic.

    #2
    Take a look at the QuickStart Guide's mention of RestHandler. All DataSources operations are automatically available as JSON or XML REST services.

    Comment

    Working...
    X