[appengine-java] Contribution: slides from my presentation at QCon about GAEJ [in portuguese]

2010-09-14 Thread Sergio Lopes
Hi everybody! Last weekend I gave a presentation at QCon São Paulo 2010, in Brazil. I talked about my experiences with GAEJ since my first deploy in September 2009. Unfortunately the slides are in portuguese, but I know there're many brazilians (and portugueses, ...) working with GAE, so it may

[appengine-java] Re: How to configure PHP, MySQL GAE

2010-09-14 Thread Sergio Lopes
I guess people are using Quercus on GAE for Java. There're some information here: http://blog.caucho.com/?p=187 On 14 set, 13:24, Ravi Dhanwate ravi.dhanw...@gmail.com wrote: could you please provide the details about how to configure PHP with GAE? On Mon, Sep 13, 2010 at 4:33 PM,

[appengine-java] Best Java Web Frameworks for GAE (aka speed)

2010-09-08 Thread Sergio Lopes
Hi everybody I use GAEJ for a year now, mainly with VRaptor and Spring IoC frameworks. As every GAE developer knows, we still have some issues with Cold Start, specially because context loading happens in the first request. So it seems to be a good thing to optimize that startup time, something

[appengine-java] Re: Query BlobInfo in Java?

2010-09-06 Thread Sergio Lopes
I'm using the Datastore API to query __BlobInfo__ entity directly. In my case, for example, I can have multiple versions of the same filename but I need to get the last one. So: Query query = new Query(__BlobInfo__); query.addFilter(filename, FilterOperator.EQUAL, filename);

[appengine-java] Can't flush response

2010-09-06 Thread Sergio Lopes
Hi everybody I'm trying to use flushBuffer() of HttpServletResponse. I have some use case here where I need to send some response to the user and later send a little more. But flushBuffer() doesn't seem to be working in production. Locally everything works with the SDK, but in production the

[appengine-java] Re: Can't flush response

2010-09-06 Thread Sergio Lopes
Too bad... thanks, Peter On 6 set, 07:39, Peter Ondruska peter.ondru...@gmail.com wrote: It will not work, GAE in production will send response at once. Seehttp://code.google.com/appengine/docs/java/runtime.html#Responses On Sep 6, 10:42 am, Sergio Lopes slo...@gmail.com wrote: Hi

[appengine-java] Re: HttpClient is not supported?

2010-06-23 Thread Sergio Lopes
Hi I'm using HttpClient on AppEngine using a simple hack found here: http://esxx.blogspot.com/2009/06/using-apaches-httpclient-on-google-app.html It's basically a connection provider to HttpClient using Google's URLFetch service. This way you can still use the beloved HttpClient and (almost) all

[appengine-java] Re: session-enabled false and JSESSIONID

2010-05-17 Thread Sergio Lopes
side), instead you want to save them on server i.e. using _ah_session. Cookies JSession id is default behavior of Java session mgmt. And it is nothing to do with APP engine framework.* * * *thanks* *romesh* * * On Mon, May 17, 2010 at 11:19 AM, Sergio Lopes slo...@gmail.com wrote: Hi

[appengine-java] System property to know the application default version?

2010-05-17 Thread Sergio Lopes
Hi Recently GAE added two system properties, com.google.appengine.application.version/id. I'm wondering if I can tell what is the default version besides getting the current version. Is there any property like that? Tks Sérgio -- You received this message because you are subscribed to the

[appengine-java] session-enabled false and JSESSIONID

2010-05-16 Thread Sergio Lopes
Hi everybody I'm trying to make a completely stateless application. I configured session-enabled to false and it seems that sessions are not being created in server side (the datastore _ah_session table is not growing anymore). But all requests are setting the JSESSIONID cookie. Why? There is no

[appengine-java] Re: Cache pages in Memcache

2010-05-04 Thread Sergio Lopes
Thanks for your answers! The Cache-control idea is a good one, I think I'll try something here. But maybe it's a good idea to have some kind of server cache too. Ehcache Web Module has a nice Java Filter that threats many corner cases (headers, gzip, ...). The only problem is that it's too

[appengine-java] Re: SimpleDS 1.0_RC1 is out

2010-05-04 Thread Sergio Lopes
Great news! I'm currently having some problems with second level cache and JPA, so a nice alternative like SimpleDS is a good idea. Just one question: does SimpleDS support query caching too? I've some very popular queries and want to cache their results in a 2nd level cache (not only its

[appengine-java] Trying to use Ehcache 2.0.1 with web module

2010-05-03 Thread Sergio Lopes
Hi everybody Ehcach announced recently their AppEngine support. I'm using version 2.0.1 (latest stable release) with Ehcache Web Module. I'm using SimpleCachingHeadersPageCachingFilter to cache page results. When I run my application, I'm getting an AccessControlException because Ehcache Web is

[appengine-java] Cache pages in Memcache

2010-05-03 Thread Sergio Lopes
Hi Are there anyone using some kind of server-side page cache using memcached? I'm thinking in a Filter that put page results in memcache when first accessed, and then getting that result in former accesses. The idea is simple but the implementation is not. (how to get the first request