[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Pion
This line fails: FooServiceImpl server = (FooServiceImpl ) proxy.getService (com.foo.server); The server is null. On Sep 21, 6:48 pm, Pion onlee2...@gmail.com wrote: I have the following server side code:         package com.foo.server;         // code deleted for brevity         /**

[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Toby Reyelts
ApiProxy gives you access to the dev_appserver's internal interfaces for the services that Google provides, such as mail, urlfetch, memcache, xmpp, etc... ApiProxy is entirely unrelated to GWT RemoteServiceServlets, which is what your code is trying to use it for. You only need to use our internal

[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Pion
Thanks, Toby. I have changed the code to FooServiceImpl server = new FooServiceImpl (); Also, I changed the GWT servlet test method to public String unitTest() { PersistenceManager pm = PMF.get().getPersistenceManager(); return unitTest;

[appengine-java] Re: ApiProxyLocalImpl.getService question [junit]

2009-09-22 Thread Pion
I just did the following on the Eclipse-Galileo: o Click on the Eclipse menu bar Windows - Preferences - General - Capabilitiies. I then enabled the Class Update o Click on the Eclipse menu bar Help - Software Update - Manage Configurations. I then expanded the plugins. o There is no