[appengine-java] Re: on switching a webapp from RDBMS to GAE/J ( jdo, join, sql )

2009-11-27 Thread vbart
I tried to create a DAO generator which will generate code for GAE/J. I started on my existing solution for classical RDBMS. Now it works for all simple CRUD tasks and also it supports relations. So now it is possible to generate an application's DAO layer for MySQL or Oracle and also for GAE. Of

[appengine-java] Re: Filtering by Date using the Datastore Low Level API

2009-11-27 Thread dflorey
The filter will just do string comparison (how should it know that you are comparing dates??) To get proper sorting/filtering just store the date as time in millis and it will work. Cheers, Daniel On 27 Nov., 04:25, Doug doug...@gmail.com wrote: Good Evening Everyone, I am working on creating

[appengine-java] Re: XMPP Message not being received

2009-11-27 Thread Ravi
Hi Googlers, Did you get a chance to look at my problem Quota page says 3000 calls/min can be handled by App Engine. But when I send a message every 5 second from a client(outside app engine), it stop responding after 10 messages. I increased the time one second each time and now for 10 seconds

[appengine-java] Re: Filtering by Date using the Datastore Low Level API

2009-11-27 Thread m seleron
Hi, Though it might be unrelated. I think that Date and Time Patterns of SimpleDateFormat is [MM] Month in year [mm] Minute in hour. thanks. On 11月27日, 午後7:22, dflorey daniel.flo...@gmail.com wrote: The filter will just do string comparison (how should it know that you are comparing dates??)

[appengine-java] Re: Filtering by Date using the Datastore Low Level API

2009-11-27 Thread Doug
Correcting the SimpleDateFormat solved the problem. Thank you for catching that! Doug On Nov 27, 5:26 am, m seleron seler...@gmail.com wrote: Hi, Though it might be unrelated. I think that Date and Time Patterns of SimpleDateFormat is [MM] Month in year [mm] Minute in hour. thanks. On

[appengine-java] Re: Photo and Video services

2009-11-27 Thread James H
Here's some legwork...you can drill-down to section 14.25 of the page below where it describes the If-Modified-Since header. Basically, any Get with this header including a timestamp can be compared to the timestamp for the matching Entity to determine whether to respond normally (return the

[appengine-java] Why is it called Google App Engine for Java ?

2009-11-27 Thread jago
Hi, this is not Java! The whitelist is ridiculous: http://code.google.com/appengine/docs/java/jrewhitelist.html There is so much missing I don't even know where to start. Is there an issue I can star that extends the whitelist to the full Java6 lib? This is destroying the Java standard and

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread Diana Cruise
I'm curious which classes you are referring to that are missing and are NOT considered a stability risk running under a shared app server environment. We are developing in Java with this solution so I don't mind the naming...I have yet to need a class not offered, guess I have been lucky :) So,

[appengine-java] redirect /file.jsp

2009-11-27 Thread Don
Hi, Trivial question for the gurus here, if i do: response.redirect(bla.jsp) I get WARNING: Can not serve /bla.jsp directly. You need to include it in static-files in your appengine-web.xml. on development server (localhost) Everything is ok when it is run on the cloud. Why?? I know I

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread jago
Well not Java. Android is also not Java. This is the beginning of fragmentation if Appengine is allowed to go down this road. Seemingly Sun struck some deal with Google. I doubt any other company would get the same liberties. Could you give an example of classes in the JRE lib that would be a

Re: [appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread Nicolas Melendez
i agree. should be called different. call it gJava, googleJava or whatever. bye, NM On Fri, Nov 27, 2009 at 3:17 PM, Diana Cruise diana.l.cru...@gmail.comwrote: I'm curious which classes you are referring to that are missing and are NOT considered a stability risk running under a shared app

[appengine-java] Any workaround to send email from dev server?

2009-11-27 Thread James Cooper
Hi, I understand that the dev server logs all outbound emails and does not actually send them. Is there a way to workaround this so the dev server actually sends the email? I want to verify that the generated HTML content looks correct in various email clients before deploying to production.

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread jago
We know use it for 2 month and are finally completely stuck. This means bye-bye appengine and realizing our losses. The Google Web Toolkit is also not called the Google Java Web Toolkit. http://code.google.com/appengine/docs/java/overview.html does not give a peep about a whitelist! They should

Re: [appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread Nicolas Melendez
i belive GAE is good for small application. i made one with three forms and it was good. For medium or big applications use your own server and db, and enjoy freedom. maybe in the future will grow up, and will be ok for medium and big. On Fri, Nov 27, 2009 at 5:24 PM, jago java.j...@gmail.com

Re: [appengine-java] redirect /file.jsp

2009-11-27 Thread Rusty Wright
What happens if instead you do response.sendRedirect(response.encodeRedirectURL(blah.jsp)); Don wrote: Hi, Trivial question for the gurus here, if i do: response.redirect(bla.jsp) I get WARNING: Can not serve /bla.jsp directly. You need to include it in static-files in your

Re: [appengine-java] redirect /file.jsp

2009-11-27 Thread Rusty Wright
Here's what I use in my index.jsp to redirect to a url mapped to an action bean/controller; i.e., I use the jstl redirect tag instead of response.redirect(): ?xml version=1.0 encoding=ISO-8859-1 ? %-- isElIgnored=false needed for GAE --% %@ page language=java

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread ted stockwell
On Nov 27, 12:17 pm, Diana Cruise diana.l.cru...@gmail.com wrote: I'm curious which classes you are referring to that are missing and are NOT considered a stability risk running under a shared app server environment.   Well, since you asked, java.lang.Thread is NOT a problem in most shared

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread jago
I do not doubt that GAE is also good for big applications. That's not the reason I started this thread. The question is if they should call themselves Java. Even if so if they shouldn't out of pure decency put a big red warning sign at the top of every page telling people about the whitelist.

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread jago
What do you mean with not a problem? On Nov 27, 10:13 pm, ted stockwell emorn...@gmail.com wrote: On Nov 27, 12:17 pm, Diana Cruise diana.l.cru...@gmail.com wrote: I'm curious which classes you are referring to that are missing and are NOT considered a stability risk running under a shared

Re: [appengine-java] Re: JDO preview release : child object is still null !

2009-11-27 Thread Max Ross (Google)
Eventually, yes, but we felt that supporting basic inheritance was the more critical need so that's what got all the attention for 1.2.8. Polymorphic relations typically require either joins, discriminator columns, or both. We'd like to avoid all of that, and I think we can, but we have to wait

Re: [appengine-java] Re: Persistable JDO object - low-level entity?

2009-11-27 Thread Max Ross (Google)
Feel free to file an issue for this in the JDO/JPA issue tracker: http://code.google.com/p/datanucleus-appengine/issues/list I already have this half-built but there hasn't been much impetus to push it across the finish line. If the issue gets enough votes then I can probably get it prioritized

Re: [appengine-java] Re: Now available: JDO/JPA preview release with inheritance support

2009-11-27 Thread Max Ross (Google)
There is a preview release of the entire 1.2.8 SDK available for _local_ testing available for download at http://code.google.com/p/googleappengine/downloads/list I realize that won't help you in prod, but if you're not ready to deploy yet anyway you may find it useful. Max On Tue, Nov 24, 2009

[appengine-java] Re: any plans for deferred.defer in Java?

2009-11-27 Thread David Chandler
Jeff, I'm seeing problems with deserialization, too, when deployed on AppEngine. In dev, I can deserialize(serialize(task)) and it works just fine, but not so in AppEngine. I get the same error whether the task payload is the serialized Deferrable task itself or just the Key with the task in the

Re: [appengine-java] Using Long as a natural key

2009-11-27 Thread Max Ross (Google)
Hi Jeff, I'm the author of that comment. The practice is discouraged because of the first reason you give - we're worried that users will do some writes where they provide the Long primary key and some writes where they let the datastore assign it and then end up silently overwriting data. There

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread marksea
In the end all they support is Java syntax and a couple of classes. I count 1332. Since you're so particular about your terminology, you may want to look up a couple. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

[appengine-java] Is it possible to implement Open EntityManager in View to avoid JDODetachedFieldAccessException?

2009-11-27 Thread Felipe Cypriano
Hello, I'm very new to app-engine but I'm used to JPA and I can't find a way to use Open EntityManager in View with app-engine and JPA. My code is structured like this: DomainDAO - This is where I access the datastore through JPA DomainService - Some business logic before saving DomainController

[appengine-java] 5000 row query

2009-11-27 Thread chris
Hi, I'm trying to return 5000 rows by using 5 sets of 1000. However the CPU utlization is really high. I need to get the full 5000 to work out a calculation based on the data. This prevents me from performing any paging operations. I don't need to display all the data at once but simply

[appengine-java] Web Service deployment using Axis in Google app engine for java

2009-11-27 Thread Rahul Jha
Hi , Is it possible to deploy axis based web service application in google apps engine for java. If yes, can you please share the steps or any special instructions. Thanks Regards Rahul Jha -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Re: any plans for deferred.defer in Java?

2009-11-27 Thread David Chandler
I've solved the serialization problems by Base64 encoding the serialized task before calling payload() and decoding it in the deserialize(HttpServletRequest) method. I'm guessing something in the task queue chain (either task queue payload storage or the servlet call when task is run) has problems

[appengine-java] xmlHttp request status is 0 for google maps http geocoder

2009-11-27 Thread shaz
Hi, I am trying to submit an HTTP request via AJAX from the client to the Google Maps Geocoding service. I keep getting a status of 0. I know the request is valid because when I enter the URL right into the browser address bar I get a valid result. Here is the code (assume 'url_string' has a

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread ted stockwell
Apologies, I see I didn't read the original e-mail closely. I was thinking 'shared server environment', not 'shared app server environment'. But, come to think of it, I guess whitelist is so large because GAE/J is a shared app server, not a shared server. On Nov 27, 4:22 pm, jago

[appengine-java] Re: Why is it called Google App Engine for Java ?

2009-11-27 Thread Diana Cruise
Jago...in shared environments you can't let apps launch their own threads, you can't let apps takeover file systems, etc...these are basic principles for shared resources such as GAE and, for example, contradicts J2EE specs such as EJB and so on. Such apps belong on dedicated servers. Also,

[appengine-java] Re: 5000 row query

2009-11-27 Thread James H
Seems intense transactions like yours are what GAE is trying to avoid with high priority cycles reserved for the User Interface. The Task Queue and Cron subsystems help with intense batch operations such as this. But, even with those you have to breakdown the work into small units. On Nov 27,