Hi,
I'm responsible for evaluating SmartGWT EE for a project we have.
I've gone through a few of the simple samples successfully and customized them appropriately -- no problems so far.
However, based on the SmartGWT documentation and website, SmartGWT strongly recommends we do not use the standard GWT RPC mechanism to transfer objects back-and-forth between client and server. So, I'd like to understand how we shold do the following:
We'd like to get data from our MySQL RDBBS / Java Bean interface (which is working) and then once it's on the client side, we'd like to put all the data back into the Java Bean, as the java bean has a bunch of methods which we'd like to use for some custom client-side processing (e.g., creating flowcharts). If this were GWT, we'd just transfer the whole object back which is fairly easy to do (despite its disadvantages). With SmartGWT, I know how to get the databack to a datasource objects and/or listgrid, but can't figure out what I'm supposed to do to get it back into the javabean ***on the client side****. I tried to look for the equivalent of Isomorphic's
DataTools.setProperties(dsRequest.getValues(), myJavaBean)
command (which works on the server side), but I couldn't find it. I also researched the APIs for Datasource and ListGrid, but couldn't find a simple clear way to accomplish this. Further, these "records" can get updated, and ideally these updates (or even new records/deleted record changes) should get sent back to the J2EE server which would then communicate the change back to the MySQL RDBMS.
Regards,
Mike
I'm responsible for evaluating SmartGWT EE for a project we have.
I've gone through a few of the simple samples successfully and customized them appropriately -- no problems so far.
However, based on the SmartGWT documentation and website, SmartGWT strongly recommends we do not use the standard GWT RPC mechanism to transfer objects back-and-forth between client and server. So, I'd like to understand how we shold do the following:
We'd like to get data from our MySQL RDBBS / Java Bean interface (which is working) and then once it's on the client side, we'd like to put all the data back into the Java Bean, as the java bean has a bunch of methods which we'd like to use for some custom client-side processing (e.g., creating flowcharts). If this were GWT, we'd just transfer the whole object back which is fairly easy to do (despite its disadvantages). With SmartGWT, I know how to get the databack to a datasource objects and/or listgrid, but can't figure out what I'm supposed to do to get it back into the javabean ***on the client side****. I tried to look for the equivalent of Isomorphic's
DataTools.setProperties(dsRequest.getValues(), myJavaBean)
command (which works on the server side), but I couldn't find it. I also researched the APIs for Datasource and ListGrid, but couldn't find a simple clear way to accomplish this. Further, these "records" can get updated, and ideally these updates (or even new records/deleted record changes) should get sent back to the J2EE server which would then communicate the change back to the MySQL RDBMS.
Regards,
Mike
Comment