tags:

views:

517

answers:

1

Hi all,

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.

+1  A: 

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.

Everett Toews
hi there, do you have any sample code for doing the same ?thank you,BR,~A
anjanb