Very good question; I'd like to know the answer to that as well. I'm using Spring's @transaction stuff. I tweaked it slightly to make read-only and read/write annotations;
@Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Transactional( readOnly = true, rollbackFor = Throwable.class, propagation = Propagation.NOT_SUPPORTED, isolation = Isolation.DEFAULT ) public @interface TransactionalReadOnly { // empty } and @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Transactional( readOnly = false, rollbackFor = Throwable.class, propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT ) public @interface TransactionalReadWrite { // empty } But I'm using only the TransactionalReadWrite in my service layer at the moment. For testing my dao layer I'm using a a spring xml config file with the tx: and aop: tags to make my daos use transactions. I can email that if you'd like. asianCoolz wrote: > 1.normally on spring, we will use @transactional at service layer for > concurency control, if we use google guice, is there similar > annotation and does it suported in GAE? > 2. is google guice all classes supported in GAE? i about to start look > at google guice, as i find some of the classes in spring are not > supported in GAE. any advise? > 3. is @transactional is required for bigtable? arent bigtable is not > transactional? > > -- > > 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. > > -- 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.