I need to fill a queue on the server. I wanted to do it in two ways, 1) what I asked about 2) have the main start the server and fill the queue from that instance(I don't know how to do this -- working on it) What should I do??
I am calling the devMode.main from a main class, not launching as normal. The queue-filling class is in the main. This is what I meant by the same JVM. Thank you On Aug 5, 12:05 pm, lam <[email protected]> wrote: > How would I do it if I was running on a different server, Jetty or > Tomcat? > Thank you for answering > > On Aug 5, 11:18 am, Shawn Brown <[email protected]> wrote: > > > > I need to get and instance of the servlet specified in web.xml. I have > > > a main running in the same JVM as the servlet. > > > I think you need to understand GAE. I don't think you know what JVM > > you are running in GAE and that it can be killed at any time and that > > what your client sends may be handled by any JVM. See if java.rmi is > > supported in GAE whitelisted classes if you want to try. > > > GAE instances come and GAE instances go. Even sessions get persisted > > to BigTable (the database) for this reason. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
