[appengine-java] Re: Displaying 1000 tweets eats up datastore quotas in minutes

2012-01-10 Thread de Witte
3000 tweets takes about 750 kb, zipped 120Kb, so you can easily store 20.000 tweets in a single entity. Perform any query in memory and you are done. Probably well within the free quota limits. -- You received this message because you are subscribed to the Google Groups "Google App Engine for

[appengine-java] Re: Which java framework to use?

2011-11-22 Thread de Witte
Out of curiosity, why would you need Spring at the server if you have a GWT client? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/

Re: [appengine-java] Which java framework to use?

2011-11-21 Thread de Witte
It depends what your goals are. If you are going to develop a single page web application (twitter, facebook), then go with GWT. Make sure you spend enough time on the design! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To

Re: [appengine-java] Re: Number of writes per second limitation

2011-11-06 Thread de Witte
It is pseudo code. To be detailed, you have to store it as byte array inside a Blob. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-

[appengine-java] Re: Number of writes per second limitation

2011-11-06 Thread de Witte
There are three main tiers. 1) The client. (gwt/browser). 2) The frontend (your server code), 3) The backend (google's magic), At the backend, the entity is serialized as whole, but between the frontend and backend, you can decide to request only a sub set of the enities properties. - The sol

[appengine-java] Re: XG Transactions with JDO/JPA

2011-10-13 Thread de Witte
Thanks for the quick update. Got the local error: transactions on multiple entity groups only allowed in High Replication applications What is the magic trick to enable HR on the local server? -- You received this message because you are subscribed to the Google Groups "Google App Engine for

[appengine-java] Re: Threads

2011-09-19 Thread de Witte
You can't create your own threads in GAE. Use task queue, backend, or cron jobs instead. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-j

[appengine-java] Java OAuth API, example

2011-09-11 Thread de Witte
Hello, I'm trying to find any example for the OAuth API. The trunk for http://oauthexample.appspot.com/Welcome seems to be empty. http://code.google.com/p/googleappengine/source/browse/#svn%2Ftrunk%2Fjava%2Fdemos%2Foauth Are there any other examples? Can google upload the code of oauthexample.

[appengine-java] Re: how appengine app out of memory

2011-09-11 Thread de Witte
The instance will throw an exception and will be killed. The error will be visible in your logs. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appe

[appengine-java] Re: threads per instance (Java)

2011-09-05 Thread de Witte
I don't get a higher number than 11 due the limitation of 1000 requests per minute. http://code.google.com/intl/nl/appengine/forum/?place=forum/google-appengine private static Set threads = new HashSet(18); . . . Thread thread = Thread.currentThread(); if(thread != null) { String name = ""+

Re: [appengine-java] GWT + GAE pom?

2011-08-11 Thread de Witte
My 2 cents, Drop Maven and use ANT instead. It is simple and it works with the existing samples. Don't depend too much on the eclipse, should work fine without it. Google + GWT is an excellent combination. -- You received this message because you are subscribed to the Google Groups "Google

Re: [appengine-java] GWT + GAE Deployment

2011-08-07 Thread de Witte
Prior upload, delete all GWT class files, you don't need them because they are converted to js files. add or replace the following in appengine-web-app Make a backup of your project d

Re: [appengine-java] Reading static XML file on App Engine

2011-07-19 Thread de Witte
We use the following code snippet, for a static file stored in /war/data/rules.xml ... File file = new File("data/content.xml"); FileInputStream istream = new FileInputStream(file); int ret = 0, count = 0; byte[] buff = new byte[2048]; StringBuffer xmlString

[appengine-java] Re: Aw: newbie question: redirect users (GWT 2.3.0)

2011-06-03 Thread de Witte
Have a look at the History and Places examples of GWT. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Y0FwaENsbldQQmtK. To post to

[appengine-java] Re: how to override Jetty default servlet

2011-05-28 Thread de Witte
Edit the welcome-file-list in web.xml or Delete the index.html file or Use index.jsp file instead. -- 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

[appengine-java] Re: Backend + push task queue, does it work?

2011-05-24 Thread de Witte
Found more issues. If you have a backends.xml in your project then logging stops working for your local server. Also with backends.xml, you don't see the last log line, stating that the server is running. INFO: The server is running at http://localhost:/ -- You received this message beca

[appengine-java] Backend + push task queue, does it work?

2011-05-23 Thread de Witte
Hello, Looking for any tips to get this working. try { Queue queue = QueueFactory.getQueue("test"); TaskOptions options = TaskOptions.Builder.withUrl("/test/task/worker"); options = options.param(TestTask.task, params); option

[appengine-java] Re: Handling incoming emails, broken due incorrect attachment size.

2010-01-08 Thread de Witte
Can anyone verify this, problem still exists and is a show stopper. Response from google? -- 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 f

[appengine-java] Handling incoming emails, broken due incorrect attachment size.

2010-01-06 Thread de Witte
Hello, I'm unable to process correctly incoming attachments. In my case, UTF-8 xml files of ~3k. It was working perfectly two days ago. See issue: http://code.google.com/p/googleappengine/issues/detail?id=2612 Anyone facing the same problem? using v1.3.0 regards, W. -- You received this messa