I'm using SmartGWT/SmartClient LGPL, I can't use the Pro, due to project ties.
I would like to create a RestDataSource from a jdbc connection, to be exposed from the server to the SmartGWT client.
How could it be done?
Any help is greatly appreciated.
Here's a general outline of what you could do if not using GWT and using PHP. Would be similar idea with java.
Define your DataSource in your file
Then define yourDMI.php controller file. It should have checks for all the operation types, fetch, add, delete, update
Have you had a look at the source code for the RestDataSource Edit & Save example from the Showcase? It's a good starting point.
If you want REST on the server I'd recommend Restlet talking to a JDBC backend. You could take the example above and wire it up to your Restlets instead of the XML.