Thanks for the reply, Actually I am still confused. I have started looking in source code for modification of SPI. What I am looking is a simple tutorial or document that can guide me through procedure of implementing custom component.
My web application has few database tables to store User information, Relationship information and Messages information. I want to implement opensocial so that to add support for applications. Now can anyone please guide me few simple steps to go forward from here. I would really appreciate any help in this regards. Thanks, Viral On Tue, Apr 21, 2009 at 2:32 AM, Kevin Brown <[email protected]> wrote: > On Mon, Apr 20, 2009 at 1:42 PM, Fisher, Tim <[email protected] > >wrote: > > > Can you explain a bit more of the details behind this statement: > > "Depending on what you want to support for gadget rendering, you may > > need to provide custom implementations of the OAuthRequest and > > HttpFetcher classes." > > > > What scenarios would cause you to want to implement your own > > OAuthRequest and HttpFetcher classes? > > > You'd want to do a custom OAuthRequest if you need to support large-scale > "full" oauth. Read the documentation on that class for details. > > A custom HttpFetcher is not as essential anymore now that we're based on > the > commons HttpClient, but if you're running the server inside your firewall > you need to make sure that you prevent it from being able to fetch internal > resources. Otherwise a malicious gadget could easily grab data from behind > your firewall and serve it externally. > > > > > > > > Thanks, > > Timothy Fisher > > Compuware Covisint > > > > > > > > The contents of this e-mail are intended for the named addressee only. It > > contains information that may be confidential. Unless you are the named > > addressee or an authorized designee, you may not copy or use it, or > disclose > > it to anyone else. If you received it in error please notify us > immediately > > and then destroy it. > > > > From: Kevin Brown [mailto:[email protected]] > > Sent: Monday, April 20, 2009 4:34 PM > > To: [email protected] > > Subject: Re: Custom Container in Java > > > > For the most part you just need to implement the interfaces here: > > > > http://svn.apache.org/viewvc/incubator/shindig/trunk/java/social-api/src > > /main/java/org/apache/shindig/social/opensocial/spi/< > http://svn.apache.org/viewvc/incubator/shindig/trunk/java/social-api/src%0A/main/java/org/apache/shindig/social/opensocial/spi/ > > > > > > Depending on what you want to support for gadget rendering, you may need > > to provide custom implementations of the OAuthRequest and HttpFetcher > > classes. > > The rest should be suitable out of the box. > > > > On Mon, Apr 20, 2009 at 11:02 AM, Viral Patel > > <[email protected]>wrote: > > > > > Greetings to everyone, > > > I am working in direction of implementing open social container for my > > > > > java application using Shindig. I have a small social web application > > > that I created in Java, I need to add open social support in this > > application. > > > > > > I have installed Apache Shinding in my computer and am able to compile > > > > > and run it using maven. While reading documentation of Shindig I came > > > to know that I have to implement number of interfaces/classes to > > > customize it and integrate it with my social web application. I went > > > through Chris's tutorial ( > > > > > > http://chrisschalk.com/shindig_docs/shindig_sql_tutorial/shindig_data_ > > > tutorials.html#tutorial4 > > > ) > > > but still not able to understand the flow. And I think that this > > > tutorial was created for some previous version of Shindig. > > > > > > Can anyone please help me in my implementation. Which classes to > > > implement and some basic steps to implement Java version of Shindig. > > > > > > Thanks in advance, > > > Viral Patel > > > > > >

