[appengine-java] javaassist, AspectJ, Will it play?

2010-06-13 Thread DutrowLLC
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?

2010-06-05 Thread DutrowLLC
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?

2010-06-05 Thread DutrowLLC
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

2010-03-03 Thread DutrowLLC
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

2010-02-22 Thread DutrowLLC
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)

2010-02-21 Thread DutrowLLC
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

2010-01-31 Thread DutrowLLC
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.