Hi I'm not sure if you use JASON to connect to the database, I would rather use it for sending data over to the client side. It's hard to say if JASON is in any way better than RPC. GWT RPC doesn't want to send Object arrays, it complains that they are to complex. You need to convert all your data types in the array to one type (string for example) and then convert them back on the client side. I'm using this method rather than JSON.
Regards PEter Rahul wrote: > Hi, > I am able to find tutorials connecting to an sqlserver using RPC. Are > there any tutorials from JSON. What advantages would JSON give over > RPC to connect to the database? Also is there any other way to connect > to the database using google web toolkit? > > > On Jul 6, 12:02 pm, Rahul<[email protected]> wrote: > >> Hi >> I am new to google web toolkit. >> I need to connect to a sqlserver 2005 database and show all its tables >> and columns in an tree fashion on to my website. >> I believe this is done getting connected to an sqlserver and getting >> its metadata information (this should be implemented server side) and >> presenting in the UI in the tree fashion(done at the client side). >> >> There are different ways to connect to a server, like RPC and JSON et >> al. >> Could anyone tell me which method should i use ? Also are there any >> tutorials to connect to the database ? >> >> Sincerely, >> Rahul >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
