Currently I am using GWT-RPC to serialize POJOs between my GWT client and my Java server program. I am trying to determine how I can two-way synchronize these client POJOs with smartGwt screen components using a Datasource. I am not interested in updating the data on the server since my RPCs do not correspond to a table update. In my .net programs, I have the ability to bind fields from my C# objects to fields on the screen and Lists of C# objects to screen grids and trees. Can I somehow do the same thing with smartGwt?
Yes, through DataSources. If you start with the RestDataSource, for example, you just need to take your pojos and use something like XStream to serialize them.
I had hoped to continue to use my existing GWT-RPC routines to communicate between the server and the client to populate the pojos and just use a datasource on the client to sync the screen fields with a pojo or a list of pojos. I know how to use XStream on the server but I don’t think it will work on the client. Are you saying that I need to use XStream on the server to serialize my pojos to XML and then use a RestDataSource to communicate between the client and the server?
Yes, use XStream on the server to serialize my pojos to XML and then use a RestDataSource to communicate between the client and the server. You typically will not need to write any client-side code beyond creating a RestDataSource.