[appengine-java] Owned One-to-Many Relationships - query/filter on the associated/child object?

2010-02-08 Thread ChrisDane
Hi there, How would you query/filter on ContactInfo when you have the Employee. Or better sample if it was "Box" and a "Items", where you only want the yellow items. From: http://code.google.com/appengine/docs/java/datastore/relationships.html#Unowned%5FRelationships ### Employee.java import jav

[appengine-java] Check for Entity JDOObjectNotFoundException?

2010-02-01 Thread ChrisDane
Hi there! Using JDO on GAE/J PersistenceManager pm = PMF.get().getPersistenceManager(); Key key = KeyFactory.createKey(MyEntity.class.getSimpleName(), "t...@example.com"); MyEntity myEntity = pm.getObjectById(MyEntity.class, key); When there is no entity matching the key, it throws JDOObjectNo

[appengine-java] Re: RESTfull - JAX-RS and GAE/J

2010-01-17 Thread ChrisDane
any of the JAX-RS implementations add GZIP and Etag type plugins > that help create elegant REST applications. Which would take time with > a custom implementation. > > Andy > > On Jan 16, 10:19 pm, ChrisDane wrote: > > > > > Thanks Jeff, > > > Thanks, I am just

[appengine-java] Re: Using GWT RPC for Browser client on GAE - and RESTful to access data from Android/iPhone

2010-01-16 Thread ChrisDane
ybe we could start an opensource project to create > an asynchronous version of HessianKit? > > Jeff > > > > On Sat, Jan 16, 2010 at 1:23 PM, ChrisDane wrote: > > Thanks Jason, Restlet seems to the choice for most. Have you seen any > > simple example using just JAX-RS? &

[appengine-java] Re: RESTfull - JAX-RS and GAE/J

2010-01-16 Thread ChrisDane
anything if I figured out to implement my own javax.ws.rs.Application? Thanks again Regards ChrisDane On Jan 16, 10:23 pm, Jeff Schnitzer wrote: > JBoss Resteasy works fine without any special customization for GAE. > I use it extensively. > > http://www.jboss.org/resteasy > >

[appengine-java] Re: Using GWT RPC for Browser client on GAE - and RESTful to access data from Android/iPhone

2010-01-16 Thread ChrisDane
Thanks Jason, Restlet seems to the choice for most. Have you seen any simple example using just JAX-RS? Thanks Regards ChrisDane On Jan 12, 10:01 pm, "Jason (Google)" wrote: > Hi ChrisDane. Certainly, there's nothing stopping you from deploying a > RemoteServiceServlet a

[appengine-java] RESTfull - JAX-RS and GAE/J

2010-01-16 Thread ChrisDane
Hi there, Has anyone seen any examples on using only JAX-RS on GAE. Implementing the javax.ws.rs.core.Application and A resource Class etc? Thanks in advance Regards ChrisDane -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java"

[appengine-java] Using GWT RPC for Browser client on GAE - and RESTful to access data from Android/iPhone

2010-01-11 Thread ChrisDane
RemoteServiceServlet and a HttpServlet running in the same App spot. HttpServlet serving the Phones and RemoteServiceServlet serving GWT RPC? Then how to use RESTful on the HttpServlet? Any directions/links or samples? Thanks in advance Regards ChrisDane -- You received this message because you are