[appengine-java] How to read an owned hierarchy fast?

2010-08-21 Thread Gunnar
Hi,
What is the fastest way to read an owned hierarchy?
I've created an app with GWT as front end and GAE as back end with
Java and JDO.
In the beginning I read a hierarchy of owned entities to the client.
I read 154 small entitities in total and that takes about 1s on the
server and the latency as shown in the log is 1.2s.

Is that the expected performance or could I do better?

When looking in the appstat for the app, there are 29 runQuery calls
which is almost the same number as the number of entites that are not
leaves.

I also get this warning and two other simular in the log:

org.datanucleus.store.appengine.MetaDataValidator warn: Meta-data
warning for gb.shop.client.model.Shop.departments: The datastore does
not support joins and therefore cannot honor requests to place related
objects in the default fetch group.  The field will be fetched lazily
on first access.

Regards
Gunnar

-- 
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-j...@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] cannot load JDOPersistenceManager

2010-08-21 Thread Sajid
Hi,

I am getting following error when calling pmf.getPersistenceManager():

org.datanucleus.exceptions.NucleusUserException: No available
StoreManager found for the datastore URL key . Please make sure you
have all relevant plugins in the CLASSPATH (e.g datanucleus-rdbms?,
datanucleus-db4o?), and consider setting the persistence property
datanucleus.storeManagerType to the type of store you are using e.g
rdbms, db4o
at
org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:
354)
at
org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:
544)
at
org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java:
576)
at
org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java:
557)

Strange thing is it is showing url is  although I have set it to
appengine

-- 
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-j...@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: Facebook API Integration

2010-08-21 Thread Luis Daniel Mesa Velasquez
I am doing it with a servletfilter to do the OAUTH with the graph
api... the servlet fliter does authentication and in my servlets i
call the static methods of the filter passing the tokens...

On Aug 20, 5:30 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com
wrote:
 sure i need to know more about it
 i you can support an example explain it
 it will be very helpful

 On Aug 20, 6:23 am, Benjamin bsaut...@gmail.com wrote:



  I integrate my app engine apps with facebook without any third part
  api - just http, oauth and the facebook graph - let me know if you'd
  like to know more.

 http://developers.facebook.com/docs/api

  On Aug 18, 3:40 pm, Peter Simun si...@seges.sk wrote:

   This can helps youhttp://java.dzone.com/articles/efective-json-google-web

   Peer

   On 18. Aug, 13:05 h., Ahmed Shoeib ahmedelsayed.sho...@gmail.com
   wrote:

hi all ,

i want a simple application explain how to integrate facebook api
with my app engine application

best regards,
ahmed shoeib
java developer

-- 
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-j...@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] SSL Version-specific URLs

2010-08-21 Thread James
When I request https://2.latest.MyAppID.appspot.com/css/main.css it
appears to be served w/o encryption.

When I request https://MyAppID.appspot.com/css/main.css it is
encrypted properly.

Is there a config setting I'm missing?

-- 
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-j...@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.