1 message in com.googlegroups.opensocial-container[OpenSocial] How to Call SQLActivitie...
FromSent OnAttachments
himanshu26 Jun 2008 22:49 
Subject:[OpenSocial] How to Call SQLActivitiesService, SQLPeopleService and SQLDataService class in the Gadget
From:himanshu (erhi@gmail.com)
Date:06/26/2008 10:49:27 PM
List:com.googlegroups.opensocial-container

Hi All,

As I am new in openSocial Development. I have created the environment at my local end as "Chris Schalk" suggest in his link "http:// chrisschalk.com/shindig_docs/io/shindig-io.html". Now I fetching the data from my local database "MYSQL" with the help of "SQLDataLayer" class but I think this is not the right way, we should use service clasess (SQLActivitiesService, SQLPeopleService and SQLDataService) but I don't have any Idea how I can call these services in the Gadget.xml.

My quary is that can we call the method of these services(SQLActivitiesService, SQLPeopleService and SQLDataService) in gadget.xml. So when we will render the gadget on my local end "http:// localhost:8080/work/gadgets/files/samplecontainer/ simplecontainer.html" it will use the method of the service class.

It would be very helpful for me, if you can suggest me that how we can call these classes by the help of Gadget.