Announcement

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

    Opensource JSON server example project

    I have just started a new opensource (Apache 2.0 license) project to host example code and tools to use LGPL SmartGWT with a java hosted JSON servlet. My aim is to develop some functionality and tools to allow use of server side domain models without having to use client DTO objects like you do with the GWT-RPC solutions I've seen posted here. I have a really simple example project working now (25 April 2011) and plan to continue developing more functionality as I have time.

    To be perfectly clear, I highly recommend that people use the Professional, Power or Enterprise edition of SmartGWT for any serious commercial development, but for those that need to have server side domain support for opensource or hobby projects, this should help.

    The source is here: https://bitbucket.org/ronlawrencesoftware/smartgwt-server/wiki/Home

    #2
    Neat. Thanks for sharing.

    I mucked around with something similar, but I used reflection to do the bean get/set on the server with a runtime datasource definition through an RPC call. I can see your code generator would be more efficient at runtime, but could create a lot of code to maintain.

    Comment


      #3
      @atomatom
      Thanks. I'll look into the approach of sending a datasource down on an rpc call. I think that would work fine, given that datasources are only instantiated once.

      Comment

      Working...
      X