Re: [appengine-java] Re: Google App Engine blobstore uploader and Google storage

2012-03-18 Thread Christian Goudreau
I resolved my problem.

The problem is simple: using blobstore.createUploadUrl doesn't always work
in production while it's working in development. There's no symptoms, but a
cryptic error 500 and it is why you didn't understood my problem, there's
nothing more to say about it. Before using createUploadUrl, my upload was
working, but well, I couldn't upload large files.

After some time of trying to resolve this, I jumped on a post where the guy
was sending malformed httprequest (missing space, etc.) and started to
wonder if mine were well formed, which is weird since I'm sending a form.
Then I remembered that I added URL Parameters! And those where the ones
that was causing my request to not being forwarded to my upload servlet
correctly!

Conclusion: don't use url parameters with createUploadUrl! - I ddn't tryed
to add the url parameters inside the createUploadUrl, maybe it would have
worked.

I used hidden fields instead which I think is a better solution than adding
parameters into the url anyway.

Cheers,

On Sun, Mar 18, 2012 at 5:08 AM, Stuart Langley slang...@google.com wrote:

 I read your post a few times but I'm struggling to understand what it is
 you're trying to say - can you make it a little clearer what your symptoms
 are and what you've tried to do to fix it?

 Thanks


 On Sunday, 18 March 2012 04:16:45 UTC+11, Christian Goudreau wrote:

 Hi folks,

 I'm hitting a blocker issue in one of our projects where my files doesn't
 get uploaded to Google storage when I use the blobstore generated upload
 handler, while my files get uploaded to Google storage when I don't use the
 blobstore generated upload handlers. This is important to use because we
 need to store files the goes between 100 and 200mo, which doesn't work
 without the blobstore generated upload handler.

 And this is weird, because it's working locally and it's not when I
 publish to app engine...

 My GAE version is 1.6.3 on my local environment.

 --
 Christian Goudreau
 www.arcbees.com

   --
 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/-/z3wfsoAV7EoJ.
 To post to this group, send email to
 google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
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 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Google App Engine blobstore uploader and Google storage

2012-03-17 Thread Christian Goudreau
Hi folks,

I'm hitting a blocker issue in one of our projects where my files doesn't
get uploaded to Google storage when I use the blobstore generated upload
handler, while my files get uploaded to Google storage when I don't use the
blobstore generated upload handlers. This is important to use because we
need to store files the goes between 100 and 200mo, which doesn't work
without the blobstore generated upload handler.

And this is weird, because it's working locally and it's not when I publish
to app engine...

My GAE version is 1.6.3 on my local environment.

-- 
Christian Goudreau
www.arcbees.com

-- 
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 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Google storage cpu consumption

2012-02-04 Thread Christian Goudreau
Hi everyone,

I was wondering, while using the Google Storage Java api, will I be billed
for the time the handler of the request on AppEngine takes? I mean,
that's great to have this easy to use API to access our data, but I will
use the RESTful service from the client if I'm going billed for the small
time it takes to forward the request.


I may be misunderstanding something, so please take care of my
misconceptions :D

cheers,

-- 
Christian Goudreau
www.arcbees.com

-- 
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 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Put Image into BlobStore programatically

2011-08-17 Thread Christian Goudreau
Did you find anything on this Gal, I'm also interested in this post.

-- 
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/-/tHr3yxxn8XsJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Creating an image into the blobstore by programmation

2011-08-14 Thread Christian Goudreau
Hi everyone,

I tried unsuccessfully to create image pragmatically on the server side and
add it to the blobstore. By following the instructions in the tutorial about
writing file, I end up with an error on that line: AppEngineFile file
=fileService
.createNewBlobFile(text/plain);

I want to use the html5 new multiple upload input to add a lot of images
into my blobstore.

If anyone has encountered something similar, please help me.

thanks,

-- 
Christian Goudreau
www.arcbees.com

-- 
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 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: 1.3.8 upgrade delete datastore contents

2010-10-18 Thread Christian Goudreau
Same here and that's kinda problematic, I had a lot of test data and it
would take days to reinitialize everything...  I guess I'll have no other
choice but to come back to AppEngine 1.3.7 since the datastore.bin doesn't
seem to be affected.

Cheers,

On Mon, Oct 18, 2010 at 2:29 AM, Vlad Skarzhevskyy
skarzhevs...@gmail.comwrote:

 My data also disappeared in development environment with the same
 error.

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] HtmlUnit support on GAE for GWT crawlability

2010-08-24 Thread Christian Goudreau
@Matt : If you read the conversations in the issue, we already did :) What's
blocking is that you can't fetch yourself with AppEngine. So, as a work
around, you could have your service in another app and that would work,
there's also a link in the conversation to an app that doest that.

Cheers,

On Tue, Aug 24, 2010 at 10:53 AM, Arthur Kalmenson arthur.k...@gmail.comwrote:

 OK, so I actually read it now :P. I didn't notice that you actually
 have to run HtmlUnit on your own. Sorry about that!

 --
 Arthur Kalmenson



 On Tue, Aug 24, 2010 at 10:51 AM, Arthur Kalmenson
 arthur.k...@gmail.com wrote:
  I know the Google Bot uses HtmlUnit to render the page, but I don't
  think you need to run it on your own in GAE. Did I miss something?
 
  --
  Arthur Kalmenson
 
 
 
  On Mon, Aug 23, 2010 at 5:43 PM, Gal Dolber gal.dol...@gmail.com
 wrote:
  Thats why he needs htmlunit
 
  2010/8/23 Arthur Kalmenson arthur.k...@gmail.com
 
  The Google bot can crawl Javascript based sites, why not follow their
  guidelines?
 
 http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-making-ajax-crawlable.html
 
  --
  Arthur Kalmenson
 
 
 
  On Sat, Aug 21, 2010 at 9:46 PM, Matt H matt2...@gmail.com wrote:
   Hello.
  
   I'm wanting to make my GWT app on App Engine crawlable by using
   HtmlUnit to serve up the page content to the Googlebot.
  
   Has anyone been able to successfully use HtmlUnit 2.8 on GAE?
  
   --
   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 from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group at
   http://groups.google.com/group/google-appengine-java?hl=en.
  
  
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 
 
 
  --
  Guit: Elegant, beautiful, modular and production ready gwt applications.
  http://code.google.com/p/guit/
 
 
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] HtmlUnit support on GAE for GWT crawlability

2010-08-23 Thread Christian Goudreau
We're actually working on that feature for
Gwt-Platformhttp://www.gwtplatform.com
.

You can see the discussion about this here:
http://code.google.com/p/gwt-platform/issues/detail?id=1

http://code.google.com/p/gwt-platform/issues/detail?id=1Cheers,

On Mon, Aug 23, 2010 at 5:43 PM, Gal Dolber gal.dol...@gmail.com wrote:

 Thats why he needs htmlunit

 2010/8/23 Arthur Kalmenson arthur.k...@gmail.com

 The Google bot can crawl Javascript based sites, why not follow their
 guidelines?
 http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-making-ajax-crawlable.html

 --
 Arthur Kalmenson



 On Sat, Aug 21, 2010 at 9:46 PM, Matt H matt2...@gmail.com wrote:
  Hello.
 
  I'm wanting to make my GWT app on App Engine crawlable by using
  HtmlUnit to serve up the page content to the Googlebot.
 
  Has anyone been able to successfully use HtmlUnit 2.8 on GAE?
 
  --
  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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.
 
 

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/



  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Christian Goudreau
www.arcbees.com

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: SDK 1.3.5 released!

2010-07-05 Thread Christian Goudreau
DatastoreServiceConfig doesn't exist anymore !?

void setServiceFromConfig(DatastoreServiceConfig config);


I should chande this to what ?

Christian

On Thu, Jul 1, 2010 at 2:00 PM, Ikai L (Google) ika...@google.com wrote:

 End cursors allow you to set a query to say, stop this query when you get
 to this cursor. Docs will be up soon. The Javadocs are already up:


 http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/FetchOptions.html

 For instance, let's pretend our index references the following keys:

 a, b, c, d, e, f, g

 You create 3 cursors

 cursor1 - a
 cursor2 - d
 cursor3 - g

 You can now create queries that say, start at cursor1 and end at cursor 2
 and start at cursor 2 and end at cursor 3. This is most useful for
 breaking up work in task queues. It has the advantage over using offsets
 such as start at cursor1 and get the next N elements because if we insert
 new keys  b2 and b3 such that your index looks like this:

 a, b, b2, b3, c, d, e, f, g

 Keys between cursor1 and cursor 2 now reference b2 and b3. You can now
 break up work and be insert-proof.


 On Thu, Jul 1, 2010 at 12:28 AM, Nacho Coloma icol...@gmail.com wrote:

 The datastore now supports both end cursors.

 I have checked out the documentation and cannot find what this is
 about. Anyone?

 On Jul 1, 1:10 am, Ikai Lan i...@google.com wrote:
  Hey everybody,
 
  We've released the 1.3.5 SDK. Blog post here:
 
  http://googleappengine.blogspot.com/2010/06/app-engine-sdk-135-releas.
 ..
 
  The big announcements are the raising of the Task Queue rate, Python
  precompilation, and new Blob features. You can get it from the downloads
  page:
 
  http://code.google.com/appengine/downloads.html
 
  Release notes are below:
 
  Java
  ---
  - Ability to configure the Task Queue storage limit with the
  total-storage-limit field in the queue.xml file.
  - Task Queues now support up to 50 qps per queue, up from 50 qps per
 app.
  - Developers can programmatically access Blobs with
 BlobstoreInputStream,
  which provides an InputStream view of a blob in Blobstore.
  - Bulkloader transform helpers for lists and hierarchical keys were
 added.
  - remote_api_shell commands can be sent over HTTPS or HTTP.
  - Admin Console logs now include information on request time latency.
  - The datastore now supports both end cursors.
  - Fixed an issue where requesting /appstats would not properly direct to
  /appstats/.
  - Fixed an issue with inconsistent URL mappings between the SDK and
  production.
  -http://code.google.com/p/googleappengine/issues/detail?id=2598
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blog:http://googleappengine.blogspot.com
  Twitter:http://twitter.com/app_engine
  Reddit:http://www.reddit.com/r/appengine

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog: http://googleappengine.blogspot.com
 Twitter: http://twitter.com/app_engine
 Reddit: http://www.reddit.com/r/appengine

  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Christian Goudreau

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Restoring backup

2010-06-03 Thread Christian Goudreau
Is it possible ?

I want to have this monday data inside my datastore : apapulintranet

Christian Goudreau

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Question about security of my data on AppEngine and Guarentee.

2010-06-03 Thread Christian Goudreau
I need  some answers, it's really important for my business.

Regards,

Christian

On Tue, Jun 1, 2010 at 10:20 PM, Christian Goudreau 
goudreau.christ...@gmail.com wrote:

 Oh I forgot one question that my administrators asked me.

 If I delete an objet from my datastore, how long this data is kept in
 Google's backup ?

 Christian


 On Tue, Jun 1, 2010 at 6:15 PM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 Thanks a lot,

 My last concern was about laws an countries. I'm from canada and personnal
 informations is a big concern over here.

 I read somewhere that it's planned to have the possibilities to choose in
 which countrie my data are stored, but not in a short/mid term delay. Is
 that right ?

 I also read that it was stored in california, is that righ too ?

 Regards,

 Christian


 On Tue, Jun 1, 2010 at 6:08 PM, Ronmell (VDKiT) ringe...@gmail.comwrote:

 Hi Christian.

 Remember the data in datastore is schemaless which means there's no
 clue of how data is stored. so, if someone gets inside your
 application he needs to know the declaration of the entity or at least
 how the POJO is structured in order to know how  to get the data.

 In python, for example, when you use the tools for manipulating/
 connecting to the data in your app, you need to have a exporter/loader
 class thus if you don't know how entities are structured the tool will
 retrieve errors instead of data and even the tool is not going to
 allow you to connect.

 unless you give the intruder the declaration of the POJOs or entities
 in your data store.

 Besides, you can control, the flow of data, by implementing a module
 which resolve and process all the request to the datastore and you can
 use authentication and that's all, simple and effective.

 Rgds.

 R

 On Jun 1, 3:43 pm, Ikai L (Google) ika...@google.com wrote:
  Here's a white paper about Google Apps security:
 
  http://static.googleusercontent.com/external_content/untrusted_dlcp/w.
 ..
 
  
 http://static.googleusercontent.com/external_content/untrusted_dlcp/w..
 .You'll
  find many of the same topics apply with regards to App Engine, though
 we
  have not yet published an App Engine specific security whitepaper.
 We'll
  maintain the same physical and electronic security guarantees of
 security
  for your data, however, ultimately it'll be up to you to write your
  application in a secure fashion (prevent XSS attacks, educate users
 about
  phishing, logically segment data, etc).
 
  On Mon, May 31, 2010 at 9:38 AM, Christian Goudreau 
 
 
 
  goudreau.christ...@gmail.com wrote:
   I want to understand exactly how data that I send into data store are
   secured, the limitation and what is the guarantee if someone brakes
 in and
   steel some personnal informations about a member ?
 
   I want to build a small a application for a small business that store
 a lot
   of informations about their members. Those informations are sensitive
 and I
   was wondering how am I protected.
 
   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-j...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blog:http://googleappengine.blogspot.com
  Twitter:http://twitter.com/app_engine
  Reddit:http://www.reddit.com/r/appengine

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.





-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Question about security of my data on AppEngine and Guarentee.

2010-06-03 Thread Christian Goudreau
I also think they are exagerated.

But what I'm thinking is not important lol :D

Christian

On Thu, Jun 3, 2010 at 4:27 PM, Bill Milligan bill.milli...@gmail.comwrote:


 Hi Christian,

 For that kind of control on physical security, you really need dedicated
 servers that you can physically touch in a data center.  This is really very
 not cheap.  Some kinds of applications require this security, such as
 banking, investment, or credit tracking software, where you are dealing with
 customers with a great deal to lose, and I'm talking on the order of
 millions.

 Suppose someone broke into google's servers and hacked the database.  This
 is quite unlikely, and even if someone *did* break in, I think your small
 business application is going to be the least of their interests.  But
 suppose they did break in -- they would still be unable to access your data
 unless they also had the schema definitions.  What are you doing to
 safeguard your source control and configuration management systems?  If
 someone has those, then the possibility of stealing data becomes much more
 likely.

 There's no way to say *where* data is hosted in this kind of database.
  Even Google would probably be hard pressed to figure out exactly what
 location a particular piece of data is at any given moment.  If you really
 need high end security, then you'd indubitably need that kind of failover as
 well.  For instance, I once worked for a high-end consumer credit agency.
  In the event that their primary data center failed, in their
 missle-hardened unmarked location in the US, then we had a disaster recovery
 system ready to go in Canada.  The end consumer would have noticed little to
 no change in the behavior of the system.  Google's failover and backup
 system probably makes this look like child's play.

 I'm not going to say these kinds of concerns of yours are groundless, but I
 will suggest to you that they're probably exaggerated for the application
 you have in mind.  If they're not exaggerated, then probably Google App
 Engine is not the solution you need.

 On Thu, Jun 3, 2010 at 1:17 PM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 I need  some answers, it's really important for my business.

 Regards,

 Christian

 On Tue, Jun 1, 2010 at 10:20 PM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 Oh I forgot one question that my administrators asked me.

 If I delete an objet from my datastore, how long this data is kept in
 Google's backup ?

 Christian


 On Tue, Jun 1, 2010 at 6:15 PM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 Thanks a lot,

 My last concern was about laws an countries. I'm from canada and
 personnal informations is a big concern over here.

 I read somewhere that it's planned to have the possibilities to choose
 in which countrie my data are stored, but not in a short/mid term delay. Is
 that right ?

 I also read that it was stored in california, is that righ too ?

 Regards,

 Christian


 On Tue, Jun 1, 2010 at 6:08 PM, Ronmell (VDKiT) ringe...@gmail.comwrote:

 Hi Christian.

 Remember the data in datastore is schemaless which means there's no
 clue of how data is stored. so, if someone gets inside your
 application he needs to know the declaration of the entity or at least
 how the POJO is structured in order to know how  to get the data.

 In python, for example, when you use the tools for manipulating/
 connecting to the data in your app, you need to have a exporter/loader
 class thus if you don't know how entities are structured the tool will
 retrieve errors instead of data and even the tool is not going to
 allow you to connect.

 unless you give the intruder the declaration of the POJOs or entities
 in your data store.

 Besides, you can control, the flow of data, by implementing a module
 which resolve and process all the request to the datastore and you can
 use authentication and that's all, simple and effective.

 Rgds.

 R

 On Jun 1, 3:43 pm, Ikai L (Google) ika...@google.com wrote:
  Here's a white paper about Google Apps security:
 
 
 http://static.googleusercontent.com/external_content/untrusted_dlcp/w.
 ..
 
  
 http://static.googleusercontent.com/external_content/untrusted_dlcp/w..
 .You'll
  find many of the same topics apply with regards to App Engine, though
 we
  have not yet published an App Engine specific security whitepaper.
 We'll
  maintain the same physical and electronic security guarantees of
 security
  for your data, however, ultimately it'll be up to you to write your
  application in a secure fashion (prevent XSS attacks, educate users
 about
  phishing, logically segment data, etc).
 
  On Mon, May 31, 2010 at 9:38 AM, Christian Goudreau 
 
 
 
  goudreau.christ...@gmail.com wrote:
   I want to understand exactly how data that I send into data store
 are
   secured, the limitation and what is the guarantee if someone brakes
 in and
   steel some personnal informations about a member ?
 
   I want to build a small

Re: [appengine-java] Re: Question about security of my data on AppEngine and Guarentee.

2010-06-01 Thread Christian Goudreau
Thanks a lot,

My last concern was about laws an countries. I'm from canada and personnal
informations is a big concern over here.

I read somewhere that it's planned to have the possibilities to choose in
which countrie my data are stored, but not in a short/mid term delay. Is
that right ?

I also read that it was stored in california, is that righ too ?

Regards,

Christian

On Tue, Jun 1, 2010 at 6:08 PM, Ronmell (VDKiT) ringe...@gmail.com wrote:

 Hi Christian.

 Remember the data in datastore is schemaless which means there's no
 clue of how data is stored. so, if someone gets inside your
 application he needs to know the declaration of the entity or at least
 how the POJO is structured in order to know how  to get the data.

 In python, for example, when you use the tools for manipulating/
 connecting to the data in your app, you need to have a exporter/loader
 class thus if you don't know how entities are structured the tool will
 retrieve errors instead of data and even the tool is not going to
 allow you to connect.

 unless you give the intruder the declaration of the POJOs or entities
 in your data store.

 Besides, you can control, the flow of data, by implementing a module
 which resolve and process all the request to the datastore and you can
 use authentication and that's all, simple and effective.

 Rgds.

 R

 On Jun 1, 3:43 pm, Ikai L (Google) ika...@google.com wrote:
  Here's a white paper about Google Apps security:
 
  http://static.googleusercontent.com/external_content/untrusted_dlcp/w...
 
  http://static.googleusercontent.com/external_content/untrusted_dlcp/w..
 .You'll
  find many of the same topics apply with regards to App Engine, though we
  have not yet published an App Engine specific security whitepaper. We'll
  maintain the same physical and electronic security guarantees of security
  for your data, however, ultimately it'll be up to you to write your
  application in a secure fashion (prevent XSS attacks, educate users about
  phishing, logically segment data, etc).
 
  On Mon, May 31, 2010 at 9:38 AM, Christian Goudreau 
 
 
 
  goudreau.christ...@gmail.com wrote:
   I want to understand exactly how data that I send into data store are
   secured, the limitation and what is the guarantee if someone brakes in
 and
   steel some personnal informations about a member ?
 
   I want to build a small a application for a small business that store a
 lot
   of informations about their members. Those informations are sensitive
 and I
   was wondering how am I protected.
 
   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-j...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blog:http://googleappengine.blogspot.com
  Twitter:http://twitter.com/app_engine
  Reddit:http://www.reddit.com/r/appengine

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Question about security of my data on AppEngine and Guarentee.

2010-06-01 Thread Christian Goudreau
Oh I forgot one question that my administrators asked me.

If I delete an objet from my datastore, how long this data is kept in
Google's backup ?

Christian

On Tue, Jun 1, 2010 at 6:15 PM, Christian Goudreau 
goudreau.christ...@gmail.com wrote:

 Thanks a lot,

 My last concern was about laws an countries. I'm from canada and personnal
 informations is a big concern over here.

 I read somewhere that it's planned to have the possibilities to choose in
 which countrie my data are stored, but not in a short/mid term delay. Is
 that right ?

 I also read that it was stored in california, is that righ too ?

 Regards,

 Christian


 On Tue, Jun 1, 2010 at 6:08 PM, Ronmell (VDKiT) ringe...@gmail.comwrote:

 Hi Christian.

 Remember the data in datastore is schemaless which means there's no
 clue of how data is stored. so, if someone gets inside your
 application he needs to know the declaration of the entity or at least
 how the POJO is structured in order to know how  to get the data.

 In python, for example, when you use the tools for manipulating/
 connecting to the data in your app, you need to have a exporter/loader
 class thus if you don't know how entities are structured the tool will
 retrieve errors instead of data and even the tool is not going to
 allow you to connect.

 unless you give the intruder the declaration of the POJOs or entities
 in your data store.

 Besides, you can control, the flow of data, by implementing a module
 which resolve and process all the request to the datastore and you can
 use authentication and that's all, simple and effective.

 Rgds.

 R

 On Jun 1, 3:43 pm, Ikai L (Google) ika...@google.com wrote:
  Here's a white paper about Google Apps security:
 
  http://static.googleusercontent.com/external_content/untrusted_dlcp/w.
 ..
 
  
 http://static.googleusercontent.com/external_content/untrusted_dlcp/w..
 .You'll
  find many of the same topics apply with regards to App Engine, though we
  have not yet published an App Engine specific security whitepaper. We'll
  maintain the same physical and electronic security guarantees of
 security
  for your data, however, ultimately it'll be up to you to write your
  application in a secure fashion (prevent XSS attacks, educate users
 about
  phishing, logically segment data, etc).
 
  On Mon, May 31, 2010 at 9:38 AM, Christian Goudreau 
 
 
 
  goudreau.christ...@gmail.com wrote:
   I want to understand exactly how data that I send into data store are
   secured, the limitation and what is the guarantee if someone brakes in
 and
   steel some personnal informations about a member ?
 
   I want to build a small a application for a small business that store
 a lot
   of informations about their members. Those informations are sensitive
 and I
   was wondering how am I protected.
 
   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-j...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  Blog:http://googleappengine.blogspot.com
  Twitter:http://twitter.com/app_engine
  Reddit:http://www.reddit.com/r/appengine

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Question about security of my data on AppEngine and Guarentee.

2010-05-31 Thread Christian Goudreau
I want to understand exactly how data that I send into data store are
secured, the limitation and what is the guarantee if someone brakes in and
steel some personnal informations about a member ?

I want to build a small a application for a small business that store a lot
of informations about their members. Those informations are sensitive and I
was wondering how am I protected.

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-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Google I/O 2010

2010-05-17 Thread Christian Goudreau
I want to come !

Next year maybe :)

Christian

On Mon, May 17, 2010 at 1:34 PM, Ikai L (Google) ika...@google.com wrote:

 Hey Toby! Have you tried the #io2010 hashtag (and other hashtags) on
 Twitter? There are many App Engine developers trickling into town that would
 probably take you up on your offer.


 On Fri, May 14, 2010 at 11:47 AM, Toby toby.ro...@gmail.com wrote:

 Hello,

 I am going to I/O next week. I did not get a spot in the boot camp. So
 I got nothing to do on Tuseday. I wonder if any of you are going.
 Might be cool to meet up and to discuss around our projects.
 It is the first time I go there. Maybe also during the event there is
 some chance to have a chat.
 Looking forward to meet you.

 Toby

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Ikai Lan
 Developer Relations, Google App Engine
 Twitter: http://twitter.com/ikai
 Delicious: http://delicious.com/ikailan

 
 Google App Engine links:
 Blog: http://googleappengine.blogspot.com
 Twitter: http://twitter.com/app_engine
 Reddit: http://www.reddit.com/r/appengine

  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Christian Goudreau
All my object implements Serializable and I don't think that explain why
JSESSIONID isn't created... but thanks, I tried to revert back my actions
that implements IsSerializable for Serializable, but it didn't work either.

Christian

On Tue, May 4, 2010 at 11:44 PM, yjun hu itswa...@gmail.com wrote:

  hi, are u using java ? if yes, the object you push into session must
 implements java.io.Serializable .
   you can follow this blog for more info:
 http://www.hapeblog.com/blog.shtml?id=7

 On Wed, May 5, 2010 at 10:54 AM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 Hummm I got a weird issue

 I added to my appengine-web.xml this line :
 sessions-enabledtrue/sessions-enabled

 But no JSESSIONID cookie is created.

 Anyway Idea why ?

 Christian

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 dream or truth

  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: 500 Error Caused by: java.lang.NoSuchMethodException: org.codehaus.groovy.runtime.dgm$692.init()

2010-05-05 Thread Christian Goudreau
I have the same problem from time to time... It's anying every 60 secondes
my app throw that message.

Christian

On Wed, May 5, 2010 at 2:29 AM, Daisy dguo2...@gmail.com wrote:

 A few minutes after I posted the previous message, the app started to
 work.  But that is a testing app, and the real one's app id is
 shijinxiaochu, which still has the same problem.  Could somebody
 please fix that as well?  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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus t

2010-05-05 Thread Christian Goudreau
And what about app that will no see their traffic grows ?

Mine is mostly an intranet and it's annoying to see how slow it is because
of those sleep time... Is it possible to make them last longer ? I even get
some persistance problems when it goes to sleep...

I'm using guiceFilters with the command pattern and I have to do a simple
put in two-three request each time because of that.

Christian

On Thu, Apr 22, 2010 at 3:19 PM, Ikai L (Google) ika...@google.com wrote:

 You're getting this warning because your requests are mostly loading
 requests. As your traffic grows, this will go away, since less of your
 requests will be startup requests. It's there to tell you that your app
 isn't running slow - it's taking more time than it normally should because
 of initialization.

 Nevertheless, I think the general feedback has been it's a great feature,
 but I'd like to turn it off or hide it. I'l raise this with the team.


 On Thu, Apr 22, 2010 at 3:33 AM, Abhimanyu Saxena 
 abhimanyusax...@gmail.com wrote:

 so what does it mean? I am repeatedly getting this warning with my
 app... is there anything that I can do for it ?


 On Apr 22, 7:24 am, Tristan tristan.slomin...@gmail.com wrote:
  Is it possible to make it an INFO and not a WARNING? Should I start an
  issue? As a programmer, I really don't have any direct control over
  this. All the WARNINGS are just masking other important issues that
  should be warnings.
 
  On Apr 21, 1:33 pm, Ikai L (Google) ika...@google.com wrote:
 
 
 
   Yep, we're rolling this out slowly with the 1.3.3 release to let
 developers
   know that some requests are slow because they are startup requests.
 
   On Wed, Apr 21, 2010 at 6:09 AM, Tristan tristan.slomin...@gmail.com
 wrote:
 
Hey,
 
I started seeing when a task queue starts now:
 
WARNING: 200 OK
This request caused a new process to be started for your
 application,
and thus caused your application code to be loaded for the first
 time.
This request may thus take longer and use more CPU than a typical
request for your application.
 
instead of this
 
WARNING: 500
Request was aborted after waiting too long to attempt to service
 your
request. Most likely, this indicates that you have reached your
simultaneous dynamic request limit. This is almost always due to
excessively high latency in your app. Please see
   http://code.google.com/appengine/docs/quotas.htmlformore details.
 
I like it. Is this the expected behavior from now on?
 
Tristan
 
--
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 from this group, send email to
google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B
 unsubscr...@googlegroups.com
.
For more options, visit this group at
   http://groups.google.com/group/google-appengine-java?hl=en.
 
   --
   Ikai Lan
   Developer Relations, Google App Engine
   Twitter:http://twitter.com/ikai
   Delicious:http://delicious.com/ikailan
 
   
   Google App Engine links:
   Blog:http://googleappengine.blogspot.com
   Twitter:http://twitter.com/app_engine
   Reddit:http://www.reddit.com/r/appengine
 
   --
   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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
   For more options, visit this group athttp://
 groups.google.com/group/google-appengine-java?hl=en.
 
  --
  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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group athttp://
 groups.google.com/group/google-appengine-java?hl=en.

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Ikai Lan
 Developer Relations, Google App Engine
 Twitter: http://twitter.com/ikai
 Delicious: http://delicious.com/ikailan

 
 Google App Engine links:
 Blog: http://googleappengine.blogspot.com
 Twitter: 

[appengine-java] This request caused a new process

2010-05-05 Thread Christian Goudreau
This request caused a new process to be started for your application,
and thus caused your application code to be loaded for the first time.
This request may thus take longer and use more CPU than a typical
request for your application.


How can I avoid that message ? It wasn't even a new process...


Christian

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Christian Goudreau
Yeah thanks, I used your tips and Guice serve and now it's working fine !

Christian

On Wed, May 5, 2010 at 7:12 AM, Stephan Hartmann hartm...@metamesh.dewrote:

 What is your logic that initiates a session?

 The container does not create a session if there is no need for it.
 In a servlet you can initiate a session by calling

HttpServletRequest.getSession(true)

 and in a JSP

 by adding the attribute

 session=true

 to a page directive.

 Regards,
 Stephan


 2010/5/5 Christian Goudreau goudreau.christ...@gmail.com

 Hummm I got a weird issue

 I added to my appengine-web.xml this line :
 sessions-enabledtrue/sessions-enabled

 But no JSESSIONID cookie is created.

 Anyway Idea why ?

 Christian

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Why does UserService is so slow ?

2010-05-04 Thread Christian Goudreau
All is in the title...

Any idea how to cut down that loading time the first time ?

Christian

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Session and AppEngine

2010-05-04 Thread Christian Goudreau
Hummm I got a weird issue

I added to my appengine-web.xml this line :
sessions-enabledtrue/sessions-enabled

But no JSESSIONID cookie is created.

Anyway Idea why ?

Christian

-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Can't decide: JDO, Twig-Persist or Objectify?

2010-04-26 Thread Christian Goudreau
I didn't try, but I'm sure that if you set a Key field that doesn't exist in
the datastore, it will be stored with the key you wanted. If I recall, store
only auto assign a key when the key field is null or doesn't exist.

@Key
private long id;

Christian

On Mon, Apr 26, 2010 at 7:59 AM, David Sowerby david.sowe...@virgin.netwrote:

 Hi Christian

 That's interesting ...

 I just felt that I wanted to manage the references (keys) myself, so I
 could have more control over when and how those references are
 instantiated - Twig seems to do that for you (great in many ways), but
 I have some situations with my application where I think that could
 have a performance impact - I cannot be sure yet, but I wanted to play
 safe on that.

 The single developer question is tricky - I suppose it is more risky
 (he might want a holiday one day!), but on the other hand it is open
 source.

 On Apr 25, 1:29 pm, Christian Goudreau goudreau.christ...@gmail.com
 wrote:
  I have one question in mind after reading what you wrote, in wich way you
  have better control in Objectify than Twig ? I'm interested since I moved
  from Objectify to Twig and didn't end up in that situation, yet.
 
  For the cons of only one Developper, he may be alone, but he answer every
  single one question asked in his mailing list, though righ now he's in
 only
  for two weeks. And he works really fast, bug fix are often done in less
 than
  two days.
 
  Christian
 
  On Sun, Apr 25, 2010 at 5:11 AM, David Sowerby david.sowe...@virgin.net
 wrote:
 
 
 
   hi  jbdhl
 
   I wish there was an easy answer too - but I suppose at least we have
   choice!
 
   My experience, which I hope will at least help you a bit 
 
   For back ground  I am transferring a prototype developed using a
   db4o back end, but had little done for the UI.  There are a lot of
   relationships in the domain layer, and the design was very much OO not
   RDBMS
 
   I started by using JDO thinking it would give me portability.  I got
   it to work, but seemed to end up with some messy code.  To be fair,
   that in part was due to my lack of real understanding of GAE, but I
   didn't really feel I had achieved portability either - there would
   still have been changes to make to move elsewhere
 
   I therefore abandoned the idea of portability, accepting that I would
   probably have to re-write the Dao layer anyway, if ever I want to
   move.  I decided that it would be better to spend more time on getting
   that Dao layer isolated and independent - that would give me
   reasonable portability without compromising the different strengths of
   different persistent platforms.
 
   I tried Twig - it seemed a good solution, and was certainly easy to
   set up and use.  I found the documentation is bit sparse on property
   translators, but otherwise I had no real problems.  The amount which
   Twig takes away from you is one of those classic blessing/curse
   situations - it is a blessing not to have to think about some of the
   detail, but you lose control.  I felt that once I had understood GAE,
   I may be losing some of benefits by not having enough direct control -
   for this application.  I would certainly consider Twig again for other
   applications.
 
   So I have now migrated to Objectify, which seems fairly
   straightforward, and I have the level of control I was looking for -
   with a particular eye on performance since I do not yet have any idea
   how my application will perform
 
   I'm afraid the Twig-Objectify discussions occasionally get a bit like
   a religious argument, which is a shame because they have both done a
   great job, but with different approaches - and why not?  They serve
   different needs.
 
   You have probably read this already but I found this tremendously
   useful to understand GAE, which in turn helped me understand the
   choices I was trying to make (the Objectify reference isn't a plug -
   it is just a very well written article)
 
  http://code.google.com/p/objectify-appengine/wiki/Concepts
 
   Good luck - it would be interesting to know what you decide in the
   end ...
 
   On Apr 25, 5:42 am, bufferings bufferi...@gmail.com wrote:
Hi
 
I like Slim3.http://sites.google.com/site/slim3appengine/
 
--
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 from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com
 
   .
For more options, visit this group athttp://
   groups.google.com/group/google-appengine-java?hl=en.
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google App Engine for Java group.
   To post

Re: [appengine-java] Re: Can't decide: JDO, Twig-Persist or Objectify?

2010-04-25 Thread Christian Goudreau
I have one question in mind after reading what you wrote, in wich way you
have better control in Objectify than Twig ? I'm interested since I moved
from Objectify to Twig and didn't end up in that situation, yet.

For the cons of only one Developper, he may be alone, but he answer every
single one question asked in his mailing list, though righ now he's in only
for two weeks. And he works really fast, bug fix are often done in less than
two days.

Christian


On Sun, Apr 25, 2010 at 5:11 AM, David Sowerby david.sowe...@virgin.netwrote:

 hi  jbdhl

 I wish there was an easy answer too - but I suppose at least we have
 choice!

 My experience, which I hope will at least help you a bit 

 For back ground  I am transferring a prototype developed using a
 db4o back end, but had little done for the UI.  There are a lot of
 relationships in the domain layer, and the design was very much OO not
 RDBMS

 I started by using JDO thinking it would give me portability.  I got
 it to work, but seemed to end up with some messy code.  To be fair,
 that in part was due to my lack of real understanding of GAE, but I
 didn't really feel I had achieved portability either - there would
 still have been changes to make to move elsewhere

 I therefore abandoned the idea of portability, accepting that I would
 probably have to re-write the Dao layer anyway, if ever I want to
 move.  I decided that it would be better to spend more time on getting
 that Dao layer isolated and independent - that would give me
 reasonable portability without compromising the different strengths of
 different persistent platforms.

 I tried Twig - it seemed a good solution, and was certainly easy to
 set up and use.  I found the documentation is bit sparse on property
 translators, but otherwise I had no real problems.  The amount which
 Twig takes away from you is one of those classic blessing/curse
 situations - it is a blessing not to have to think about some of the
 detail, but you lose control.  I felt that once I had understood GAE,
 I may be losing some of benefits by not having enough direct control -
 for this application.  I would certainly consider Twig again for other
 applications.

 So I have now migrated to Objectify, which seems fairly
 straightforward, and I have the level of control I was looking for -
 with a particular eye on performance since I do not yet have any idea
 how my application will perform

 I'm afraid the Twig-Objectify discussions occasionally get a bit like
 a religious argument, which is a shame because they have both done a
 great job, but with different approaches - and why not?  They serve
 different needs.

 You have probably read this already but I found this tremendously
 useful to understand GAE, which in turn helped me understand the
 choices I was trying to make (the Objectify reference isn't a plug -
 it is just a very well written article)

 http://code.google.com/p/objectify-appengine/wiki/Concepts

 Good luck - it would be interesting to know what you decide in the
 end ...


 On Apr 25, 5:42 am, bufferings bufferi...@gmail.com wrote:
  Hi
 
  I like Slim3.http://sites.google.com/site/slim3appengine/
 
  --
  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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group athttp://
 groups.google.com/group/google-appengine-java?hl=en.

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Christian Goudreau
DAMN I should have read this message before... now stuck with the same
problem as the other and no older version.

Christian

On Fri, Apr 23, 2010 at 11:29 AM, Don Schwarz schwa...@google.com wrote:

 Also, if you have an old version of your application still deployed that
 does not show this problem, please provide the version numbers for the
 working and not-working versions.


 On Fri, Apr 23, 2010 at 10:25 AM, Don Schwarz schwa...@google.com wrote:

 I am taking a look at this now.  Can one (or more) of you reply to me
 privately with app ids that are experiencing problems?


 On Fri, Apr 23, 2010 at 10:01 AM, Raphael André Bauer 
 raphael.andre.ba...@gmail.com wrote:

 On Fri, Apr 23, 2010 at 4:48 PM, Miroslav Genov mgenov.j...@gmail.com
 wrote:
  The problem is not only in GuiceFilter. The problem occurs and when
 some
  filter is mapped to /* and is writing some content to the output
 stream.
  My testing app was using only simple filter that was bound in web.xml
  directly.

 I think you are quite right and the /* is surely the root of the
 problem. I simply wanted to confirm it for guice users.

 Another update (that confirms what people in this thread where saying):
 - switching back to 1.3.2 + redeploy on app engine does not help
 - switching back to an old version of your app in the admin dashboard
 fixes the problem. well. you got stuck with an old version of your
 app. not too cool.

 ra




 
  Regards,
   Miroslav
 
 
  On 04/23/2010 05:39 PM, Raphael André Bauer wrote:
 
  On Fri, Apr 23, 2010 at 12:52 PM, Miroslav Genov
 mgenov.j...@gmail.com
   wrote:
 
 
  Starred.
 
  Thanks for the assitance keyelo. I hope that problem will soon be
  removed.
 
 
  +1
 
  That's a huge blocker: 1.3.3 breaks all my
  com.google.inject.servlet.GuiceFilter based apps...
 
 
  If you use GuiceFilter do NOT upgrade to 1.3.3...
 
 
 
  Raphael
 
 
 
 
  Regards,
   Miroslav
 
  On 04/23/2010 01:48 PM, kinyelo wrote:
 
 
  Issue opened
  http://code.google.com/p/googleappengine/issues/detail?id=3138
 
 
 
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 
 
 
 
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Christian Goudreau
Update : In my case, switching back to AppEngine 1.3.2 was enough.

Christian

On Fri, Apr 23, 2010 at 11:34 AM, Christian Goudreau 
goudreau.christ...@gmail.com wrote:

 DAMN I should have read this message before... now stuck with the same
 problem as the other and no older version.

 Christian


 On Fri, Apr 23, 2010 at 11:29 AM, Don Schwarz schwa...@google.com wrote:

 Also, if you have an old version of your application still deployed that
 does not show this problem, please provide the version numbers for the
 working and not-working versions.


 On Fri, Apr 23, 2010 at 10:25 AM, Don Schwarz schwa...@google.comwrote:

 I am taking a look at this now.  Can one (or more) of you reply to me
 privately with app ids that are experiencing problems?


 On Fri, Apr 23, 2010 at 10:01 AM, Raphael André Bauer 
 raphael.andre.ba...@gmail.com wrote:

 On Fri, Apr 23, 2010 at 4:48 PM, Miroslav Genov mgenov.j...@gmail.com
 wrote:
  The problem is not only in GuiceFilter. The problem occurs and when
 some
  filter is mapped to /* and is writing some content to the output
 stream.
  My testing app was using only simple filter that was bound in web.xml
  directly.

 I think you are quite right and the /* is surely the root of the
 problem. I simply wanted to confirm it for guice users.

 Another update (that confirms what people in this thread where saying):
 - switching back to 1.3.2 + redeploy on app engine does not help
 - switching back to an old version of your app in the admin dashboard
 fixes the problem. well. you got stuck with an old version of your
 app. not too cool.

 ra




 
  Regards,
   Miroslav
 
 
  On 04/23/2010 05:39 PM, Raphael André Bauer wrote:
 
  On Fri, Apr 23, 2010 at 12:52 PM, Miroslav Genov
 mgenov.j...@gmail.com
   wrote:
 
 
  Starred.
 
  Thanks for the assitance keyelo. I hope that problem will soon be
  removed.
 
 
  +1
 
  That's a huge blocker: 1.3.3 breaks all my
  com.google.inject.servlet.GuiceFilter based apps...
 
 
  If you use GuiceFilter do NOT upgrade to 1.3.3...
 
 
 
  Raphael
 
 
 
 
  Regards,
   Miroslav
 
  On 04/23/2010 01:48 PM, kinyelo wrote:
 
 
  Issue opened
  http://code.google.com/p/googleappengine/issues/detail?id=3138
 
 
 
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 
 
 
 
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Broken URL Mapping in GAE 1.3.3 ?

2010-04-23 Thread Christian Goudreau
There's also a problem with cookies.

ACSID is created just fine client side. But return null server side.

At least, from what I read... I didn't take any chance and removed the check
until seeing a fix for it.

Christian

On Fri, Apr 23, 2010 at 12:01 PM, Don Schwarz schwa...@google.com wrote:

 I've identified a bug in the 1.3.3 SDK that affected Christian.

 If anyone is having a problem like this that is *not* fixed by redeploying
 with the 1.3.2 SDK, please let me know your application ID so I can
 investigate.

 If you want a fairly nasty workaround for the 1.3.3 SDK bug that I found,
 you can register an error handler for error-code404/error-code by adding
 something like this to your web.xml:

 error-page
   error-code404/error-code
   location/404.html/location
 /error-page

 We're working on a real fix.
 -- Don

 On Fri, Apr 23, 2010 at 10:45 AM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 Update : In my case, switching back to AppEngine 1.3.2 was enough.

 Christian


 On Fri, Apr 23, 2010 at 11:34 AM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 DAMN I should have read this message before... now stuck with the same
 problem as the other and no older version.

 Christian


 On Fri, Apr 23, 2010 at 11:29 AM, Don Schwarz schwa...@google.comwrote:

 Also, if you have an old version of your application still deployed that
 does not show this problem, please provide the version numbers for the
 working and not-working versions.


 On Fri, Apr 23, 2010 at 10:25 AM, Don Schwarz schwa...@google.comwrote:

 I am taking a look at this now.  Can one (or more) of you reply to me
 privately with app ids that are experiencing problems?


 On Fri, Apr 23, 2010 at 10:01 AM, Raphael André Bauer 
 raphael.andre.ba...@gmail.com wrote:

 On Fri, Apr 23, 2010 at 4:48 PM, Miroslav Genov 
 mgenov.j...@gmail.com wrote:
  The problem is not only in GuiceFilter. The problem occurs and when
 some
  filter is mapped to /* and is writing some content to the output
 stream.
  My testing app was using only simple filter that was bound in
 web.xml
  directly.

 I think you are quite right and the /* is surely the root of the
 problem. I simply wanted to confirm it for guice users.

 Another update (that confirms what people in this thread where
 saying):
 - switching back to 1.3.2 + redeploy on app engine does not help
 - switching back to an old version of your app in the admin dashboard
 fixes the problem. well. you got stuck with an old version of your
 app. not too cool.

 ra




 
  Regards,
   Miroslav
 
 
  On 04/23/2010 05:39 PM, Raphael André Bauer wrote:
 
  On Fri, Apr 23, 2010 at 12:52 PM, Miroslav Genov
 mgenov.j...@gmail.com
   wrote:
 
 
  Starred.
 
  Thanks for the assitance keyelo. I hope that problem will soon be
  removed.
 
 
  +1
 
  That's a huge blocker: 1.3.3 breaks all my
  com.google.inject.servlet.GuiceFilter based apps...
 
 
  If you use GuiceFilter do NOT upgrade to 1.3.3...
 
 
 
  Raphael
 
 
 
 
  Regards,
   Miroslav
 
  On 04/23/2010 01:48 PM, kinyelo wrote:
 
 
  Issue opened
  http://code.google.com/p/googleappengine/issues/detail?id=3138
 
 
 
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 
 
 
 
 
  --
  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 from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.
 
 

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



  --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



  --
 You

Re: [appengine-java] Wildcard root url-pattern and 1.3.3

2010-04-23 Thread Christian Goudreau
It's failling for everyone. You just have to go back to 1.3.2.

Someone from google answered in a post that they're working on that issue.

Christian

On Fri, Apr 23, 2010 at 11:06 PM, Millisecond millisec...@gmail.com wrote:

 Trying to deploy my app (noticeorange) with the 1.3.3 runtime is
 giving me some hiccups with my main servlet mapping.  I map all
 requests into this one servlet and then figure stuff out from there.

 Has worked fine until just now when I tried to upgrade my dev
 environment to 1.3.3.  Only / is mapping to the servlet with either of
 these two entries in web.xml:

servlet-mapping
servlet-namenotice/servlet-name
url-pattern//url-pattern
/servlet-mapping

 OR:

servlet-mapping
servlet-namenotice/servlet-name
url-pattern/*/url-pattern
/servlet-mapping

 Is there some other way to do this now?  Is it failing for other
 people or just me?

 Thanks,
 -Casey

 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] GWT and Twig

2010-03-23 Thread Christian Goudreau
Yes, a lot actually. I was asking myself that question since I introduced in
my POJO's some TWIG annotation and didn't know if those information are
compatible with GWT-RPC Mecanism.

I'll give a deeper look into twig tomorow.

Thanks

Christian

On Tue, Mar 23, 2010 at 10:03 PM, John Patterson jdpatter...@gmail.comwrote:

 Hi Damob,

 They work perfectly together because your data models are *pure* POJOs with
 no dependencies on the datastore at all.

 In contrast, in JDO, JPA, Objectify and SimpleDS your data models usually
 use low-level Keys and possibly other types.  This means that you either
 need to make an extra layer of DTO's or make your UI code dependant on the
 low-level API.

 For example, a Band and its Musicians can be sent to GWT as a single
 object:

 class Band
 {
@Key String name;
ListMusician members;
 }

 With all the other libraries the data model needs Keys which complicates
 things.  You might send the Band and then need to send more requests to read
 each band member from its Key.

 I send data directly from my data layer to my GWT client and my client code
 does not reference any com.google.appengine.* classes at all.

 Hope this helps,

 John


 On 24 Mar 2010, at 03:29, Damob wrote:

  I was wondering how well those two works together and how to link
 them.

 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


 --
 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 from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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 from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.