[appengine-java] javaassist, AspectJ, Will it play?
I saw no mention of Javaassit or AspectJ on the Will it play page. Do these work in App Engine? Thanks! -- 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] Is get-by-key for efficient than a query based on a string property that holds a GUID?
I noticed that the keys are about the same size as a GUID. Is get-by- key for efficient than a query based on a string property that holds a GUID? If so, about how much more efficient? Thanks! Chris -- 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: Is get-by-key for efficient than a query based on a string property that holds a GUID?
Additionally, what is the best type of Object to pass into the Entity as the GUID? An Ascii85 string? A byte array consisting of the 16 bytes making up the 128byte GUID? Something else? It seems the obvious answer would be the ByteArray[16], but it could depend on the implementation. My primary concern is on search efficiency. Thanks! Chris -- 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] Multiple transactions at the same time
I was hoping to have several transactions going at the same time and if anything failed in anyone of them, then I could roll back all of them. I set up some code to do this, looks something like the code below, there may be some other problems, but the one that I see is that what if there is an Exception thrown in the loop where I commit the transactions, then I've already committed some of them, but not others? Is this not something that I should be doing? If not, how should I handle this sort of situation? VectorTransaction txnVector = new VectorTransaction(); DatastoreService ds; Transaction txn; try{ ds = DatastoreServiceFactory.getDatastoreService(); txn = ds.beginTransaction(); txnVector.add(txn); ds.put( entity, txn ); ds = DatastoreServiceFactory.getDatastoreService(); txn = ds.beginTransaction(); txnVector.add(txn); ds.put( entity2, txn ); } // ROLL BACK IF THERE IS A PROBLEM catch( Exception e ){ for( Transaction txn : txnVector ){ if( txn.isActive() ){ txn.rollback(); } } } // COMMIT ALL for( Transaction txn : txnVector ){ if( txn.IsActive() ){ txn.commit(); } } -- 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] Valid characters in Entity names
What are the valid characters in entity names? Also, they are case sensitive, correct? Thanks! Chris -- 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] What is the purpose of keyName? (Low-level API)
Hi, What is the intended purpose of keyName when creating a new Key or new Entity in the low-level API? What are the proper use cases for keyName? Thanks! Chris -- 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] Is there a de-facto best authorization framework for use on Java App Engine
I've noticed that Spring Security is noted as Semi-Compatible on the Will It Play page. Are there better alternatives to this authorization framework for app engine? Is there a de-facto best authorization framework for use on Java App Engine? -- 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.