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

2010-09-09 Thread MS
Try http://www.playframework.org/ and http://www.sienaproject.com/ as a persistence layer. It's bigger weakness is that is not based on servlets. So needs hacks sometimes. But in my opinion Python frameworks are better suited to GAE. For example we have JDO, JPA, Siena, Objectify and couple of

[appengine-java] Re: time triggered tasks

2010-09-09 Thread Francois Masurel
It looks like you can delay tasks via API : TaskOptionscountdownMillis(long countdownMillis) Set the number of milliseconds delay before execution of the task. TaskOptionsetaMillis(long etaMillis) Sets the approximate absolute time to execute. I also found a link :

[appengine-java] Re: Spring WS on Google App Engine

2010-09-09 Thread tetsujin1979
I used the Release Candidate 2 for Spring-code 3.0 and release 1.5.8 for Spring-ws and Spring-oxm On Sep 8, 5:05 pm, Shweta Deshpande shweta...@gmail.com wrote: Hi tetsujin, Thanks for your reply. I changed to an earlier version of Spring (2.5.6, to be precise), and version 1.5.1 for

[appengine-java] Re: removing element from list not persisted in datastore

2010-09-09 Thread Frederik Pfisterer
I experienced this with lists of complex objects in owned relationships, not with lists of strings, see http://code.google.com/p/datanucleus-appengine/issues/detail?id=218 . Lists of strings should not be a problem since they're stored in the same table, basically the listproperties Bret mentions

Re: [appengine-java] Re: removing element from list not persisted in datastore

2010-09-09 Thread Cyrille Vincey
Stepmas, please keep us informed with your tests on that particular point, as we are currently changing our data model to match Brett's recommandation about list properties in child object. On 09/09/10 11:58, Frederik Pfisterer pfiste...@gmail.com wrote: I experienced this with lists of complex

[appengine-java] Re: App Engine and Google Apps

2010-09-09 Thread Frederik Pfisterer
Hi Ikai, can you give a pointer to a document that states what rules and regulations GAE complies to? e.g. where did you state the noncompliance to HIPAA? What does Google prevent from complying? Thanks, Fred On 8 Sep., 20:13, Ikai L (Google) ika...@google.com wrote: Yes, you can partition by

[appengine-java] Re: removing element from list not persisted in datastore

2010-09-09 Thread James
I posted on similar issues here - http://groups.google.com/group/google-appengine-java/browse_thread/thread/e81658b708e92d9e After spending (wasting) several days experimenting w/ the combination of detached and owned entities, my apps now work fine, but I always need to call JDOHelper.makeDirty

[appengine-java] Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-09 Thread tempy
Hello all, A little background... I'm mostly new to web frontend development, I come from a mostly backend and desktop background. I have a GAEj app that provides the backend for a rather sophisticated desktop/mobile app. This backend will also drive a website in addition to the desktop/mobile

[appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-09 Thread Chris (Google Employee)
Hi Mike, I think the reason we don't explicitly publish a list of frontend frameworks that play well with App Engine is because there really is no technical barrier between front end frameworks that work in the browser such as JQuery, etc and the backend (App Engine). Many App Engine users make

[appengine-java] UrlFetch api, gzip, and quota

2010-09-09 Thread MrManager
Hi, I am making a lot of calls per day to parse html files, and already at low activity notice that my Incoming Bandwidth quota is just being eaten away. After some debugging I noticed that my responses were being received in plain text, and not gzip as I had expected. After some digging, and

[appengine-java] Catching HardDeadlineExceededError

2010-09-09 Thread armanuj
Hello, I am using GAE with Java have been seeing HardDeadlineExceededError for some tasks running in the task queue. I searched for ways of catching this error, and have tried to catch it using DeadlineExceededException in places where I query the datastore (esp. delete queries with filters), as

[appengine-java] Help: How to enable src auto-update in eclipse using app engine plugin for eclipse?

2010-09-09 Thread Felix
Hello, guys. I'm using Google App Engine 1.3.7 eclipse plugin with eclipse 3.5 on a Windows 32bit machine. It works great for me to develop Java servlets and serve them at localhost. However, whenever I modify the servlet source, I've to stop the previously running instances of app engine at

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

2010-09-09 Thread Edufa
Hi Sergio I like the VRaptor. Is there any plan to improve the speed of the VRaptor in GAE? maybe if you remove the dependency of spring. Thanks On 9 set, 01:20, Sergio Lopes slo...@gmail.com wrote: Hi everybody I use GAEJ for a year now, mainly with VRaptor and Spring IoC frameworks. As

[appengine-java] Re: app eng java plugin not compatible with helios

2010-09-09 Thread Neverland
Hi, do you use Ubuntu 10.04? I use Ubuntu 10.04 and I had the same error. The solution is described here: http://digitalexplorations.wordpress.com/installing-google-app-engine-for-eclipse-3-5-on-ubuntu-10-04-lts/ Install the WST code from the Eclipse Galileo source. The source is:

Re: [appengine-java] Replace an object in the datastore with another not currently in the datastore?

2010-09-09 Thread Ikai L (Google)
With the low-level API, you would just set the Key of the old object to the one one and persist it. With managed persistence via PersistenceManager or EntityManager, I believe you can set a key and merge (but I'm not sure off the top of my head). On Wed, Sep 8, 2010 at 12:43 PM, Shaun

Re: [appengine-java] Catching HardDeadlineExceededError

2010-09-09 Thread Don Schwarz
There is no way to catch a HardDeadlineExceededError. However, you should be getting a DeadlineExceededException first. Perhaps it is being caught and not properly logged by your code or some third-party library that you are using? If you would like help debugging this let me know your

Re: [appengine-java] Re: App Engine and Google Apps

2010-09-09 Thread Ikai L (Google)
There's no document (we are working on a general document for security, audit processes, etc), but we do not make the statement that we are not HIPAA compliant. I want to offer a quick disclaimer that I am not in a position to make any legal statements, so if there are any specifics you wish you

Re: [appengine-java] Help: How to enable src auto-update in eclipse using app engine plugin for eclipse?

2010-09-09 Thread Ikai L (Google)
Is your server running in debug mode? Most classes should be hot reloadable. You'll still need to restart your server for web.xml changes. On Thu, Sep 9, 2010 at 12:56 AM, Felix longbiaoc...@gmail.com wrote: Hello, guys. I'm using Google App Engine 1.3.7 eclipse plugin with eclipse 3.5 on a

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

2010-09-09 Thread Sérgio Lopes
I'm wondering what's the best IoC container with the lowest startup time. Guice? Pico? Spring? (I guess Spring has the worst startup time) On Thu, Sep 9, 2010 at 10:27, Edufa e...@edufa.com wrote: Hi Sergio I like the VRaptor. Is there any plan to improve the speed of the VRaptor in GAE?

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

2010-09-09 Thread Roberto Saccon
Slim3 is among the fastest appengine Java Web frameworks. Small footprint, no reflection and pure low level API for datastore. I use it together with Jamon template engine (which is lightweight and fast as well, templates get compiled). And both provide excellent eclipse integration. -- Roberto

[appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-09 Thread tempy
Thanks for the explanation Chris! Guess I'm learning jquery, golly, I'll be a real web programmer yet. =) On Sep 9, 7:58 pm, Chris (Google Employee) api.ch...@google.com wrote: Hi Mike, I think the reason we don't explicitly publish a list of frontend frameworks that play well with App

Re: [appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-09 Thread John Patterson
You might want to look into Sitebricks which is a Google developed web app framework built on top of Guice. It is a simple request response processor with no fancy component abstractions like Wicket or Tapestry. This model fits in very well with GWT (or other client frameworks) which request

Re: [appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-09 Thread John Patterson
BTW, you can use GWT in a manor very similar to JQuery. Take a look a GQuery by Ray Cromwell. He has an incredible benchmark page which dynamically shows how GQuery out performs JQuery in almost every measure. On 10 September 2010 05:53, John Patterson jdpatter...@gmail.com wrote: You might

[google-appengine] Re: Static resources not updated?

2010-09-09 Thread Tonny
I used curl - just to make sure, but still got the old file, evt. the file updated though (by magic) after 5-10 minuttes. On Sep 8, 7:50 pm, Ikai L (Google) ika...@google.com wrote: Can you try using curl or wget? It could be that they are still cached in your browser. On Wed, Sep 8,

[google-appengine] Re: Static resources not updated?

2010-09-09 Thread Tonny
This could what was happening, since the new files was available after 5-10 minuttes (as mentioned i used curl to look). I have no customized expire times though. On Sep 8, 10:26 pm, Peter Petrov onest...@gmail.com wrote: This generally happens when you set a custom expiration time for static

[google-appengine] Re: Idempotence multiple task execution

2010-09-09 Thread hawkett
Hi Eli, notes below - On Sep 8, 4:14 pm, Eli Jones eli.jo...@gmail.com wrote: Well, I've been doing named, chained tasks since November 2009, and I can point out three things: Task names aren't especially relevant to the question - names stop the same task being raised twice, not executed

[google-appengine] CSS3

2010-09-09 Thread Massimiliano
Hi, I don't know if this is an Off Topic. In one Google's video on youtube there is css3 animation editor, do you know something more? Has Adobe released it? Thanks for the info. Max -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.com -- You

Re: [google-appengine] Re: Idempotence multiple task execution

2010-09-09 Thread Eli Jones
How did I determine concurrent execution? I determined that I had concurrent task execution because you can see the task_name in the logs, and a named task successfully ran twice. And, the one that ran last threw a TaskAlreadyExists error when trying to add the next chained task to the queue

[google-appengine] Re: Datastore Optimisation

2010-09-09 Thread Christopher Staite
I've removed the ReferenceProperty (it wasn't really needed anyway) I'm now just storing the id as an IntegerProperty. This hasn't speed things up at all. I've managed to optimise it even further by looking at every call I make, but these are still taking forever. I think it's because I have

[google-appengine] Re: Channel API - accessing from web page not hosted on app engine

2010-09-09 Thread Andrew Gee
Have you tried referencing http://127.0.0.1:80/yourappname/_ah/ channel/ for the script src attribute? On Aug 27, 12:16 pm, Juha juha.palom...@gmail.com wrote: I would like to create a Javascript that: - Could be included on any web page - Would connect to my App Engine application and

[google-appengine] FileOutPutStream in GAE

2010-09-09 Thread Bit Liner
I know that the classes of java.io like FileOutputStream are not supported in GAE. But i have seen this: http://code.google.com/p/appengine-java-io/, api that allow support of java.io classes. So i have a GAE project that i want to deploy on GAE, and this project needs FileOutputstream, but

[google-appengine] Simultaneous asynchronous URL Fetch calls limit

2010-09-09 Thread IgorNovak
Hi, I'm new here, so excuse me if my question is a bit dummy GAE references say that the app can have up to 10 simultaneous asynchronous URL Fetch calls: http://code.google.com/appengine/docs/python/urlfetch/overview.html#Requests I didn't unterstand, does it mean 10 calls for one user request

[google-appengine] charset for static served files

2010-09-09 Thread elias_naur
Hi, It seems that both the development server and the production servers by default serves static html files with the Content-type:text/html response header. That's fine, except that I'd like a charset = utf-8 appended to that. The relevant app.yaml entry looks like this: - url: /

[google-appengine] What are these logging metrics?

2010-09-09 Thread gholler
Hi All, We've been doing some performance testing with our app using JMeter and looking at our logs. If you expand a web call's log messages, at the top you see a bunch of metrics, e.g. ms=1332 cpu_ms=822 api_cpu_ms=86 cpm_usd=0.024510 Sometimes I see a metric 'pending_ms' but I can't find a

[google-appengine] Failed to deploy my codes

2010-09-09 Thread zhaiduo
hi guys, I failed to deploy my codes, get this error: // 2010-09-09 17:19:24,640 ERROR appcfg.py:1658 An unexpected error occurred. Aborting. urllib2.URLError: urlopen error [Errno 10054] An existing connection was forcibly closed by the remote host 2010-09-09 17:19:24 (Process exited

Re: [google-appengine] Hi group! My App Engine App is finally launching today.

2010-09-09 Thread Jean-Luc T
Hello, 2010/9/8 Julian Namaro namarojul...@gmail.com After a lot of work, and quite a bit of testing, I am happy today to present you my app. Your app is superb and I think about use it for documentation of my game But what about your business model? I have seen neither price nor advertising.

[google-appengine] Re: How use myself domain

2010-09-09 Thread marguin
Someone maintains a list of ghs IPs which are still usable in China. It is helpful and valuable. Now the famous group of these guys is you8g.com. You submit your domain, and change your domain CNAME record to ghs.you8g.com. It will work. Wish you luck. On 9月8日, 上午10时15分, YF CAO

[google-appengine] Re: Using OR statement in datastore

2010-09-09 Thread timwhunt
Hey Google folks (Nick?), can you comment on any potential methods for asynchronous datastore calls (in Java)? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To

[google-appengine] Re: Hi group! My App Engine App is finally launching today.

2010-09-09 Thread colin
Holy Cow! Your app is simply awesome. I use gDocs at present to collaborate with others on my projects. Your app offers a far richer environment. Love the simple table approach and the professional look and feel of the UI - especially the home page! I assume it's commercial. What's the pricelist

[google-appengine] How can I revert my Application after 72 hours

2010-09-09 Thread tyskin
I disabled one of my applications a few days ago BUT I think I misunderstand this operation. I can't find that app nor recreate it now. I thought it is just a way to reset that application and I expected a None Deployed. So is there some way to get that ID back or it will stop forever... There

[google-appengine] google search result for appspot

2010-09-09 Thread Andy V
Hello, Recently, I've moved one or two simple PHP pages to a Google App Engine account. Unfortunately, when you do a google search for the site, you will find XYZ.appspot.com instead of www.XYZ.com Any idea how to fix this? I did associate my own domain XYZ.com with the account via Google Apps,

[google-appengine] BUSINESS APP OR NOT?

2010-09-09 Thread colin
I am confused by the two pricing policies (app engine for business and app engine). I have a small business. I wrote a workflow, invoicing and payment tracking software using MS Access and VB. It gets accessed about once a day. It has about six tables and maybe 2000 records among all of them. I

Re: [google-appengine] Re: Static resources not updated?

2010-09-09 Thread Ikai L (Google)
Are you using a YAML file configuration for static assets? There's a place to set expires times. At any rate, next time this happens, take note of the headers returned and post them. As a best practice, in your URLs to your static assets, you should have cache busters since this'll also cover the

Re: [google-appengine] Simultaneous asynchronous URL Fetch calls limit

2010-09-09 Thread Ikai L (Google)
The limit of 10 applies to asynchronous urlfetches in a single request as describe here: http://code.google.com/appengine/docs/python/urlfetch/asynchronousrequests.html That being said, if a large proportion of your requests are making URLFetch requests and this causes your user facing round

Re: [google-appengine] Re: Using OR statement in datastore

2010-09-09 Thread Ikai L (Google)
Asynchronous datastore calls are coming in a future release. Stay tuned. On Thu, Sep 9, 2010 at 11:13 AM, timwhunt timwh...@gmail.com wrote: Hey Google folks (Nick?), can you comment on any potential methods for asynchronous datastore calls (in Java)? -- You received this message because

Re: [google-appengine] BUSINESS APP OR NOT?

2010-09-09 Thread Ikai L (Google)
Normal pricing. GAE4B pricing applies if you are writing an application that is only accessible for Google Apps (Gmail, Docs) users and not the general public. Here's an example: Google App Engine (current) You create an image sharing service anyone can use. Google App Engine for Business You

[google-appengine] Application stuck in awaiting recurring charge cancellation for 2 months.

2010-09-09 Thread David W.
My card number changed, leaving an outstanding charge of 1 cent for my application, that I cannot clear or request more quota since disabling billing. Can someone poke it, add interest to the cent, or whatever? AppId is twitdiff. :) David -- You received this message because you are

[google-appengine] Problem with creation of file and folder: not exception, but the file doesn't create

2010-09-09 Thread Bit Liner
in my app i create a folder, and then one file in this folder. The execution of this app doesn't throw exception, included the creation of folder and of the file that don't throw exception. But when, after the creation of folder and file, i try to access to the file in folder, the result is file

[google-appengine] gaevfs: problem with creation of file and folder: not exception, but the file doesn't create

2010-09-09 Thread Bit Liner
in my app i use gae-VirtualFileSystem to create a folder, and then one file in this folder. The execution of this app doesn't throw exception, included the creation of folder and of the file that don't throw exception. But when, after the creation of folder and file, i try to access to the file in

Re: [google-appengine] Re: Datastore Optimisation

2010-09-09 Thread Robert Kluin
So have you removed the DateTimeProperty or changed it to a StringProperty to see if the performance improved? Robert On Thu, Sep 9, 2010 at 13:32, Christopher Staite christophersta...@googlemail.com wrote: I've removed the ReferenceProperty (it wasn't really needed anyway) I'm now just

Re: [google-appengine] google search result for appspot

2010-09-09 Thread 'Αλκης Ευλογημένος
You should make all requests to xyz.appspot.com redirect to www.appspot.com. That's easy with middleware if you are using python. - alkis (mobile) On Sep 9, 2010 8:14 PM, Andy V nexar.servi...@gmail.com wrote: Hello, Recently, I've moved one or two simple PHP pages to a Google App Engine

[google-appengine] Re: BUSINESS APP OR NOT?

2010-09-09 Thread alf
ok but if your GAE4B is used in a mixed enviroment one part by internal user @ikaicorp.com and othere part of same applications is used for other user outside @ikaicorp.com ? thanks On Sep 9, 8:52 pm, Ikai L (Google) ika...@google.com wrote: Normal pricing. GAE4B pricing applies if you are

Re: [google-appengine] Re: BUSINESS APP OR NOT?

2010-09-09 Thread Ikai L (Google)
No. Login will always be required. It'll be similar to Google Docs for your domain. On Thu, Sep 9, 2010 at 1:35 PM, alf alberto@gmail.com wrote: ok but if your GAE4B is used in a mixed enviroment one part by internal user @ikaicorp.com and othere part of same applications is used for

[google-appengine] Re: Idempotence multiple task execution

2010-09-09 Thread hawkett
Thanks Eli - couple more comments below On Sep 9, 5:41 pm, Eli Jones eli.jo...@gmail.com wrote: How did I determine concurrent execution? I determined that I had concurrent task execution because you can see the task_name in the logs, and a named task successfully ran twice.  And, the one

Re: [google-appengine] Python 50% faster than Java

2010-09-09 Thread Jaroslav Záruba
On Thu, Sep 9, 2010 at 11:19 PM, Francois Masurel fm2...@mably.com wrote: I've just found this article about App Engine : http://moderndeveloper.blogspot.com/2010/09/google-app-engine-scaling-cost.html They say that Python is 50% faster than Java for their specific use case. Does that

Re: [google-appengine] Help -- non-specific InternalError started today!

2010-09-09 Thread Wesley C (Google)
this is a late reply, but hopefully we did resolve the situation before your demo. here is a link with more info on what happened: http://groups.google.com/group/google-appengine/msg/f014532b4068ba81 thanks! -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python

[google-appengine] ETA on Ability to reserve instances to reduce application loading overhead

2010-09-09 Thread Spines
Any idea when Ability to reserve instances to reduce application loading overhead will be coming? Its been on the road map for about 6 months i think. The reason I ask is that I'm considering using Grails for a new app engine project. I deployed a sample application and the cold starts were

Re: [google-appengine] Index build stuck Server Error 500 when trying to view Datastore Indexes page in admin console

2010-09-09 Thread Ikai L (Google)
The indexes all look to be serving to me. On Thu, Sep 9, 2010 at 2:07 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: I have 1 index that was building for quite a while though there was no data associated with the index. When I clicked on the Datastore Indexes link in the admin console I am

Re: [google-appengine] Index build stuck Server Error 500 when trying to view Datastore Indexes page in admin console

2010-09-09 Thread Ikai L (Google)
By the way - how long did you wait? There have been a few reports about index building slowness. On Thu, Sep 9, 2010 at 6:39 PM, Ikai L (Google) ika...@google.com wrote: The indexes all look to be serving to me. On Thu, Sep 9, 2010 at 2:07 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: I

Re: [google-appengine] Index build stuck Server Error 500 when trying to view Datastore Indexes page in admin console

2010-09-09 Thread Jeff Schwartz
Soon after I posted the issue it was fixed. I don't know how or by whom but somehow it got resolved. I waited a few hours for the index to build even though there was no data to which the index was referring to. Thank you, Ikai. On Thu, Sep 9, 2010 at 9:39 PM, Ikai L (Google) ika...@google.com

[google-appengine] Question about sort order on id on entities of the same kind but having different parents

2010-09-09 Thread Jeff Schwartz
Hi All, I think I know the answer to this but I'd like someone from the app engine team to provide a definitive answer if possible. When querying on a single entity type where the result set contains instances of entities that are children of different parents (thus belonging to different entity

[google-appengine] Cron Job and Cursors

2010-09-09 Thread Sumer Cip
Hi, I have a very basic problem. Below is my model: class DummyModel: id:Integer info:Integer added:DateTime What I need to do is to have a cron job running per day to filter on added field and do something with the info field, but I have many entities and I want to make this process

[google-appengine] Re: Python 50% faster than Java

2010-09-09 Thread Dmitriy T.
The author of this article just underqualified. For example: So I took to writing the service in Python. I quickly realized that Python had much more control over the datastore. It was really easy to pick which fields to index and which fields to ignore. In Java, all fields were indexed. He even

[google-appengine] Re: Python 50% faster than Java

2010-09-09 Thread Niklasro
I think 4 cases that can depend on context makes ambigiously 1) A is a faster interpretator than B 2) A is a faster VM than B 3) Specific solution with A is faster than with B 4) Development times are much quicker some way compared to other less regarding execution time Cheers Nick Rosencrantz On

Re: [google-appengine] Cron Job and Cursors

2010-09-09 Thread Robert Kluin
What is many entities, is it 100, 1,000, 1,000,000, more? What are you doing with the info field? Are you aggregating something? Transforming it? Writing one new model for each entity? What do you mean continue another day? Do you mean process some entities then stop and continue processing