Thanks for this -- I'm sure plenty of people will find it useful. Both Christian and Ian have been working on similar things recently.
I'd suggest creating a JIRA ticket for this though, because the attachments get stripped by a lot of mail clients and servers. (plus with the JIRA ticket, it's a bit easier to keep track of any feedback). On Fri, May 30, 2008 at 4:29 AM, Alejandro Rivero <[EMAIL PROTECTED]> wrote: > Here attached is our example, for revision 660156, of an interface to > an external BOINC database, yet read only. > > It is injected in the SocialApiGuiceModule.java as follows from the > patch here. Note that we violate the naming conventions so we are easy > to detect and remove :-) > > The example is just an extended version of the samplecontainer. It can > be of some interest to novice people (as ourselves) because we use > heavily xpath and the apache MultiThreadedHttpConnectionManager; so it > somehow extends the samplecontainer example. > > Of course, it is of no real use without the database side, which > creates the xml. But xpath simplifies the customization process. Our > code in this side is python, but it is not useful except if you are > planning to use shindig in a BOINC database. > > Alejandro > > Index: java/org/apache/shindig/social/SocialApiGuiceModule.java > =================================================================== > --- java/org/apache/shindig/social/SocialApiGuiceModule.java > (revision 660156) > +++ java/org/apache/shindig/social/SocialApiGuiceModule.java (working > copy) > @@ -22,9 +22,9 @@ > import org.apache.shindig.social.opensocial.DataService; > import org.apache.shindig.social.opensocial.OpenSocialDataHandler; > import org.apache.shindig.social.opensocial.PeopleService; > -import org.apache.shindig.social.samplecontainer.BasicActivitiesService; > +import > org.apache.shindig.social.RemoteHttpContainer.BasicActivitiesService; > import org.apache.shindig.social.samplecontainer.BasicDataService; > -import org.apache.shindig.social.samplecontainer.BasicPeopleService; > +import org.apache.shindig.social.RemoteHttpContainer.BasicPeopleService; > import org.apache.shindig.social.samplecontainer.StateFileDataHandler; > > import com.google.inject.AbstractModule; >

