[appengine-java] SQL Service

2011-09-14 Thread HARISH S.C
Hi,
Where can I find the tutorial for using Google SQL Service API with 
Google App Engine?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/vdqfuWhGBqAJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Threads

2011-09-18 Thread HARISH S.C
Hi,
  I would like to clarify some basic doubts. I am trying to port an
existing app into google app engine .

1. When I have more than 1 servlet, it ll be executed in different
thread in a single JVM or else how it will be executed ?

2. Is there any workaround to eliminate threading?

3. Can we communicate between two application ?

Regards,
S.C.Harish

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Threads

2011-09-18 Thread HARISH S.C
@Prashant Thanks for the info.

I was not very clear with my 2nd question

My application creates thread n use synchronization. So Is rewriting
my whole application is my only option or is there any other way?



On Sep 19, 11:08 am, Prashant  wrote:
> On Mon, Sep 19, 2011 at 10:16 AM, HARISH S.C  wrote:
> > Hi,
> >  I would like to clarify some basic doubts. I am trying to port an
> > existing app into google app engine .
>
> > 1. When I have more than 1 servlet, it ll be executed in different
> > thread in a single JVM or else how it will be executed ?
>
> "it ll be executed in different thread in a single JVM"
>
> > 2. Is there any workaround to eliminate threading?
>
> you can set multi-threading off. by default it is off, it think.
>
> 3. Can we communicate between two application ?
>
> did you mean two totally different apps (not two different instances of your
> app) ? if yes, answer in no. you will have to use url-fetch or XMPP to
> communicate between applications.
>
>
>
>
>
>
>
> > Regards,
> > S.C.Harish
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To post to this group, send email to
> > google-appengine-java@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Threads

2011-09-19 Thread HARISH S.C
@de Witte
I thought of task queue, but the blocking issue there is, we wont get
any response after the task is finished

On Sep 19, 12:25 pm, de Witte  wrote:
> You can't create your own threads in GAE. Use task queue, backend, or cron
> jobs instead.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Threads

2011-09-25 Thread HARISH S.C
Hi GK,
   Tks. Thats the approach that i am planning to take.


On Sep 23, 11:27 pm, gk  wrote:
> Harish,
>
> You could place the result from the task in the Memcache or Datastore
> and wait in the request for it to be placed.
>
> The common key for the result entity can be passed as an URL parameter
> or as a task payload to Your task.
>
> On Sep 19, 10:56 am, "HARISH S.C"  wrote:
>
>
>
>
>
>
>
> > @de Witte
> > I thought of task queue, but the blocking issue there is, we wont get
> > any response after the task is finished
>
> > On Sep 19, 12:25 pm, de Witte  wrote:
>
> > > You can't create your ownthreadsin GAE. Use task queue, backend, or cron
> > > jobs instead.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.