Re: [appengine-java] ANN: BatchFB 2.1, a Java Facebook library with automatic batching

2011-07-12 Thread Gal Dolber
Nice job, thanks for sharing! On Tue, Jul 12, 2011 at 2:55 AM, Jeff Schnitzer j...@infohazard.org wrote: This is the first time I've announced this opensource project in this forum because until now there wasn't anything GAE-specific about it. You can still use BatchFB outside of GAE, but

[appengine-java] Re: Multi-threaded datastore test in JUnit

2011-07-12 Thread Gabriel Charette
I was looking to do this with the datastore actually. I just found a nice way of doing it (this will probably also work for memcache...?) At the beginning of you test case (in the main thread) put: final Environment testEnvironment = ApiProxy.getCurrentEnvironment(); And then inside your other

[appengine-java] Retreive Domain Name of Google Apps Api

2011-07-12 Thread Neha Chandra
Hi, I am trying to retreive Domain name but the code i have written it returning gmail.com. package com; import java.io.IOException; import com.google.appengine.api. users.UserService; import com.google.appengine.api.users.UserServiceFactory; import javax.servlet.http.HttpServlet; import

[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?

2011-07-12 Thread Nichole
Here's an implementation. You might want to add checks for read staleness, and think about using a task structure for the operations to make retry easier. The unit test structure is from from http://code.google.com/appengine/docs/java/howto/unittesting.html package

[appengine-java] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Max
Great job! May I know more about *t**he datastore now never requires an exploding index *? Does that mean we don't need to build exploding index or simply can't build exploding index? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Pascal Voitot Dev
exactly the same question ;) On Tue, Jul 12, 2011 at 11:21 AM, Max thebb...@gmail.com wrote: Great job! May I know more about *t**he datastore now never requires an exploding index*? Does that mean we don't need to build exploding index or simply can't build exploding index? -- You

[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?

2011-07-12 Thread mscwd01
That's awesome, many thanks for taking the time to explain that. On Jul 12, 9:37 am, Nichole nichole.k...@gmail.com wrote: Here's an implementation.  You might want to add checks for read staleness, and think about using a task structure for the operations to make retry easier. The unit test

[appengine-java] Re: Multi-threaded datastore test in JUnit

2011-07-12 Thread Frank Leon Rose
Yeah, that's much cleaner. 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-java@googlegroups.com. To unsubscribe from this group, send email to

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-07-12 Thread Drew Spencer
Thanks for the great reply as always Jeff. In contrast to you, my app is going to be used only by employees of my company, so preferably I would like to have all data sent over the wire encrypted. We're talking about employees of my company accessing data about our clients - so it is very

[appengine-java] Gmail's Report a bug like feature in gwt gae application

2011-07-12 Thread MANISH DHIMAN
Hello, We have a GWT application running on Google app engine. Is it possible to achieve this feature on Google App Engine. I have found some java programs which convert html files to png. But these programs are using java classes which are not included in white list by Google App Engine. Is it

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-07-12 Thread Jeff Schnitzer
The public/private/protected/package status of java fields is 100% irrelevant from a security perspective. It's just there to help keep your code clean. The data is still being passed across the wire in a simple, easily-decoded protocol that any sniffer can translate. If you're passing

[appengine-java] Call to channel.open() fails silently

2011-07-12 Thread Sébastien Tromp
Hello, I am currently building a GWT + GAE app that uses Channels, thanks to the http://code.google.com/p/gwt-gae-channel/ library. Everything goes well locally (both hosted and web mode), but when the deployed app fails silently. I have several pages, and would like to use a Channel in several

[appengine-java] Re: Call to channel.open() fails silently

2011-07-12 Thread Sébastien Tromp
The only thing I can find that seems strange is this request (captured using Chrome Developer tools): 1. Request URL: http://test.latest.thefiveorbs2.appspot.com/_ah/channel/jsapi 2. Request Method: GET 3. Status Code: 302 Found By the way, the test URL is

Re: [appengine-java] Re: [google-appengine] Re: 1.5.2 SDK Prerelease

2011-07-12 Thread Alfred Fuller
Hi, It means that there are alternatives to using exploding indexes (i.e. they are no longer required to execute a given query). You can still have them (there are cases where they are useful, namely to optimize query speed over write cost) and the SDK will still suggest them in many cases (as it

[appengine-java] Apache Shiro on Google App Engine

2011-07-12 Thread objectuser
If anyone is interested, I've posted a short guide to using Apache Shiro on Google App Engine: http://objectuser.wordpress.com/2011/06/30/apache-shiro-on-google-app-engine/ It focuses on my current stack, which includes Google Guice. I also use GWT, but that should mostly be irrelevant. --

[appengine-java] Unauthorized Sender Error when trying to send an email (User logged in with Google Account)

2011-07-12 Thread kghate
I are seeing an exception when trying to send an email via the app engine. The email is being sent via the current user account who is signed in to the app with their Google account (not a gmail account, but an email account that is a verified google account and the corresponding account

[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?

2011-07-12 Thread Nichole
Yes, you'll need to add structure to the entity update method or surrounding it to persist the state of the entity (and use real entities! The test structure is purely to provide runnable code to demonstrate one way to approach the problem). For the 2nd update, if you recently fetched or

Re: [appengine-java] Unauthorized Sender Error when trying to send an email (User logged in with Google Account)

2011-07-12 Thread Bruno Fuster
Hi, Did you add the sender account to your permissions list? On Tue, Jul 12, 2011 at 10:22 PM, kghate kgh...@gmail.com wrote: I are seeing an exception when trying to send an email via the app engine. The email is being sent via the current user account who is signed in to the app with