Announcement

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

    Mobile: looking for a way to use GWT-RPC in DataSource

    Hi,

    I am looking for a way to use GWT-RPC calls in DataSource for SmartGWT.mobile application.

    Could you please give me a hint how to do it?

    #2
    Using GWT-RPC almost certainly doesn't make sense for SmartGWT.mobile; instead, if you can't use the server framework, it's usually going to be much more effective to write a JSON REST interface server-side. What are you trying to accomplish that you think is best done with GWT-RPC instead of REST?

    Comment


      #3
      First of all, I already have implemented GWT-RPC calls used by non-mobile SmartGWT application. So I like to re-use the same API for the mobile version.

      Secondly, these GWT-RPC returns JSON, so they provide almost same performance like JSON REST. But they takes some Java POJOs as input so it pretty convenient from business logic point of view.

      Comment

      Working...
      X