You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Sean Lin <se...@gmail.com> on 2009/04/10 13:26:17 UTC
shindig and google app engine
Hi,
Just wondering if anyone has tried installing shindig on the google app
engine now that it supports java. Or whether this is possible in the first
place? Or does it entail some major work to it being able to be run on gae?
Cheers,
Sean
Re: gadgets.Prefs.set
Posted by John Hjelmstad <fa...@google.com>.
By DataRequest I assume you mean AppData calls.
Some containers, having received an rpc service request to set prefs, will
use their AppData backend for this purpose.
The reason it's implemented this way is that UserPrefs are a
container-linked concept and don't *require* OpenSocial APIs to work, as
they predate OS. Further, they may apply when there is no user actively
logged in. UserPrefs' "user-ness" is determined by the container however it
pleases. iGoogle, for instance, assigns a random number to a logged-out user
in a cookie, and stores UserPrefs there as well.
--John
On Fri, Apr 10, 2009 at 1:01 PM, Jordan Zimmerman <jo...@shop.com> wrote:
> Why is gadgets.Prefs.set() implemented via the rpc-relay? It seems like
> it could be implemented via the DataRequest method.
>
> Jordan Zimmerman
> Principal Software Architect
> 831.647.4712
> 831.214.2990 (cell)
> jordanz@shop.com
>
> SHOP*COMTM
> Shop Smart, Save Big(tm)
> www.shop.com
>
> This message (including any attachments) is intended only for
> the use of the individual or entity to which it is addressed and
> may contain information that is non-public, proprietary,
> privileged, confidential, and exempt from disclosure under
> applicable law or may constitute as attorney work product.
> If you are not the intended recipient, you are hereby notified
> that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and
> (i) destroy this message if a facsimile or (ii) delete this
> message
> immediately if this is an electronic communication.
>
> Thank you.
>
gadgets.Prefs.set
Posted by Jordan Zimmerman <jo...@shop.com>.
Why is gadgets.Prefs.set() implemented via the rpc-relay? It seems like
it could be implemented via the DataRequest method.
Jordan Zimmerman
Principal Software Architect
831.647.4712
831.214.2990 (cell)
jordanz@shop.com
SHOP*COMTM
Shop Smart, Save Big(tm)
www.shop.com
This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this
message
immediately if this is an electronic communication.
Thank you.
Re: shindig and google app engine
Posted by Paul Lindner <li...@inuus.com>.
If Executors are not allowed then the gadget fetch / preloader
pipeline would be severely affected.
I also believe that ehcache and google collections may have some
threads behind the scenes...
On Apr 13, 2009, at 1:04 PM, Ian Boston wrote:
> I think there are some limitations on the Java GAE that might cause
> problems, I saw reported somewhere that you couldn't create threads
> which would prevent Guice being used as the ReferenceMap would stop
> working.
> There are also some other background threads required in the Gadget
> server, (Caching perhapse?)
> Ian
>
> On 10 Apr 2009, at 15:33, Chris Chabot wrote:
>
>> Hey Ram,
>>
>> I remember that Python port quite well, however I don't seem to
>> remember the
>> source code ever being released under an open source license? If I
>> missed
>> that I would be very grateful if you could point us in it's
>> direction.
>>
>> That being said, Java Shindig on GAE sounds like a fun experiment..
>> you'd
>> probably have to implement the GAE url fetcher, cache interfaces
>> and data
>> source; But I don't see any reason why it wouldn't work if your
>> willing to
>> do that.
>>
>> The alternative to using GAE's bigtable is to RPC to your own back-
>> end,
>> creating a JSON-RPC like solution over http for the
>> people/appdata/activities/etc interfaces shouldn't be to hard.
>>
>> -- Chris
>>
>> On Fri, Apr 10, 2009 at 4:03 PM, Ram Sharma
>> <ra...@gmail.com> wrote:
>>
>>> Hi ,
>>>
>>> We at Impetus has ported shindig on GAE some time ago. You can get
>>> the
>>> details from the mail archives.
>>>
>>> On Fri, Apr 10, 2009 at 5:21 PM, Sean Lin <se...@gmail.com>
>>> wrote:
>>>
>>>> Hmmm I was just wondering if it was possible to use the gae to
>>>> host the
>>>> gadget server for "FREE". And gae seems attractive enough since the
>>> gadget
>>>> server will be the busy guy in an OpenSocial site.
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Ben Smith [mailto:ben.thesmith@gmail.com]
>>>> Sent: Friday, 10 April, 2009 7:34 PM
>>>> To: shindig-dev@incubator.apache.org
>>>> Subject: Re: shindig and google app engine
>>>>
>>>> That's a really cool idea and excellent example / sample
>>>> integration
>>>> to show how to implement the service layer.
>>>>
>>>> Obviously the problem would be what generic social graph could you
>>>> integrate with to provide people and their relationships?
>>>>
>>>> On 10 Apr 2009, at 12:26, "Sean Lin" <se...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Just wondering if anyone has tried installing shindig on the
>>>>> google
>>>>> app
>>>>> engine now that it supports java. Or whether this is possible in
>>>>> the
>>>>> first
>>>>> place? Or does it entail some major work to it being able to be
>>>>> run
>>>>> on gae?
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Sean
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Ram Sharma
>>>
>
Re: shindig and google app engine
Posted by Ian Boston <ie...@tfd.co.uk>.
I think there are some limitations on the Java GAE that might cause
problems, I saw reported somewhere that you couldn't create threads
which would prevent Guice being used as the ReferenceMap would stop
working.
There are also some other background threads required in the Gadget
server, (Caching perhapse?)
Ian
On 10 Apr 2009, at 15:33, Chris Chabot wrote:
> Hey Ram,
>
> I remember that Python port quite well, however I don't seem to
> remember the
> source code ever being released under an open source license? If I
> missed
> that I would be very grateful if you could point us in it's direction.
>
> That being said, Java Shindig on GAE sounds like a fun experiment..
> you'd
> probably have to implement the GAE url fetcher, cache interfaces and
> data
> source; But I don't see any reason why it wouldn't work if your
> willing to
> do that.
>
> The alternative to using GAE's bigtable is to RPC to your own back-
> end,
> creating a JSON-RPC like solution over http for the
> people/appdata/activities/etc interfaces shouldn't be to hard.
>
> -- Chris
>
> On Fri, Apr 10, 2009 at 4:03 PM, Ram Sharma <ra...@gmail.com>
> wrote:
>
>> Hi ,
>>
>> We at Impetus has ported shindig on GAE some time ago. You can get
>> the
>> details from the mail archives.
>>
>> On Fri, Apr 10, 2009 at 5:21 PM, Sean Lin <se...@gmail.com>
>> wrote:
>>
>>> Hmmm I was just wondering if it was possible to use the gae to
>>> host the
>>> gadget server for "FREE". And gae seems attractive enough since the
>> gadget
>>> server will be the busy guy in an OpenSocial site.
>>>
>>>
>>> -----Original Message-----
>>> From: Ben Smith [mailto:ben.thesmith@gmail.com]
>>> Sent: Friday, 10 April, 2009 7:34 PM
>>> To: shindig-dev@incubator.apache.org
>>> Subject: Re: shindig and google app engine
>>>
>>> That's a really cool idea and excellent example / sample integration
>>> to show how to implement the service layer.
>>>
>>> Obviously the problem would be what generic social graph could you
>>> integrate with to provide people and their relationships?
>>>
>>> On 10 Apr 2009, at 12:26, "Sean Lin" <se...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Just wondering if anyone has tried installing shindig on the google
>>>> app
>>>> engine now that it supports java. Or whether this is possible in
>>>> the
>>>> first
>>>> place? Or does it entail some major work to it being able to be run
>>>> on gae?
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Sean
>>>>
>>>
>>>
>>
>>
>> --
>> Ram Sharma
>>
Re: shindig and google app engine
Posted by Chris Chabot <ch...@google.com>.
Hey Ram,
I remember that Python port quite well, however I don't seem to remember the
source code ever being released under an open source license? If I missed
that I would be very grateful if you could point us in it's direction.
That being said, Java Shindig on GAE sounds like a fun experiment.. you'd
probably have to implement the GAE url fetcher, cache interfaces and data
source; But I don't see any reason why it wouldn't work if your willing to
do that.
The alternative to using GAE's bigtable is to RPC to your own back-end,
creating a JSON-RPC like solution over http for the
people/appdata/activities/etc interfaces shouldn't be to hard.
-- Chris
On Fri, Apr 10, 2009 at 4:03 PM, Ram Sharma <ra...@gmail.com> wrote:
> Hi ,
>
> We at Impetus has ported shindig on GAE some time ago. You can get the
> details from the mail archives.
>
> On Fri, Apr 10, 2009 at 5:21 PM, Sean Lin <se...@gmail.com> wrote:
>
> > Hmmm I was just wondering if it was possible to use the gae to host the
> > gadget server for "FREE". And gae seems attractive enough since the
> gadget
> > server will be the busy guy in an OpenSocial site.
> >
> >
> > -----Original Message-----
> > From: Ben Smith [mailto:ben.thesmith@gmail.com]
> > Sent: Friday, 10 April, 2009 7:34 PM
> > To: shindig-dev@incubator.apache.org
> > Subject: Re: shindig and google app engine
> >
> > That's a really cool idea and excellent example / sample integration
> > to show how to implement the service layer.
> >
> > Obviously the problem would be what generic social graph could you
> > integrate with to provide people and their relationships?
> >
> > On 10 Apr 2009, at 12:26, "Sean Lin" <se...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > Just wondering if anyone has tried installing shindig on the google
> > > app
> > > engine now that it supports java. Or whether this is possible in the
> > > first
> > > place? Or does it entail some major work to it being able to be run
> > > on gae?
> > >
> > >
> > >
> > > Cheers,
> > >
> > > Sean
> > >
> >
> >
>
>
> --
> Ram Sharma
>
Re: shindig and google app engine
Posted by Ram Sharma <ra...@gmail.com>.
Hi ,
We at Impetus has ported shindig on GAE some time ago. You can get the
details from the mail archives.
On Fri, Apr 10, 2009 at 5:21 PM, Sean Lin <se...@gmail.com> wrote:
> Hmmm I was just wondering if it was possible to use the gae to host the
> gadget server for "FREE". And gae seems attractive enough since the gadget
> server will be the busy guy in an OpenSocial site.
>
>
> -----Original Message-----
> From: Ben Smith [mailto:ben.thesmith@gmail.com]
> Sent: Friday, 10 April, 2009 7:34 PM
> To: shindig-dev@incubator.apache.org
> Subject: Re: shindig and google app engine
>
> That's a really cool idea and excellent example / sample integration
> to show how to implement the service layer.
>
> Obviously the problem would be what generic social graph could you
> integrate with to provide people and their relationships?
>
> On 10 Apr 2009, at 12:26, "Sean Lin" <se...@gmail.com> wrote:
>
> > Hi,
> >
> > Just wondering if anyone has tried installing shindig on the google
> > app
> > engine now that it supports java. Or whether this is possible in the
> > first
> > place? Or does it entail some major work to it being able to be run
> > on gae?
> >
> >
> >
> > Cheers,
> >
> > Sean
> >
>
>
--
Ram Sharma
RE: shindig and google app engine
Posted by Sean Lin <se...@gmail.com>.
Hmmm I was just wondering if it was possible to use the gae to host the
gadget server for "FREE". And gae seems attractive enough since the gadget
server will be the busy guy in an OpenSocial site.
-----Original Message-----
From: Ben Smith [mailto:ben.thesmith@gmail.com]
Sent: Friday, 10 April, 2009 7:34 PM
To: shindig-dev@incubator.apache.org
Subject: Re: shindig and google app engine
That's a really cool idea and excellent example / sample integration
to show how to implement the service layer.
Obviously the problem would be what generic social graph could you
integrate with to provide people and their relationships?
On 10 Apr 2009, at 12:26, "Sean Lin" <se...@gmail.com> wrote:
> Hi,
>
> Just wondering if anyone has tried installing shindig on the google
> app
> engine now that it supports java. Or whether this is possible in the
> first
> place? Or does it entail some major work to it being able to be run
> on gae?
>
>
>
> Cheers,
>
> Sean
>
Re: shindig and google app engine
Posted by Ben Smith <be...@gmail.com>.
That's a really cool idea and excellent example / sample integration
to show how to implement the service layer.
Obviously the problem would be what generic social graph could you
integrate with to provide people and their relationships?
On 10 Apr 2009, at 12:26, "Sean Lin" <se...@gmail.com> wrote:
> Hi,
>
> Just wondering if anyone has tried installing shindig on the google
> app
> engine now that it supports java. Or whether this is possible in the
> first
> place? Or does it entail some major work to it being able to be run
> on gae?
>
>
>
> Cheers,
>
> Sean
>