[appengine-java] Re: JPA/JDO vs low level API

2011-04-01 Thread Didier Durand
Hi, You should also consider 3rd party packages like Objectify who works at an intermediate level of abstraction. The low-level api forces you to handle everything by yourself: the Entity, its Properties, etc... In JPA, JDO: you work much higher in abstraction: you define a Java class as an Enti

[appengine-java] Re: Uploading New Data into App Engine Java App

2011-04-01 Thread Didier Durand
Hi, The simplest way is to write a servlet on GAE. When your own server is done with the calculation, it posts (http POST) the new data to this servlet who reads it and separate each line as a new entity in the datastore. The servlet can then do further processing (cleanup, updates, etc.) if nee

Re: [appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Ikai Lan (Google)
I think we can better surface the projects that are built by App Engine team members that aren't so obviously accessible from the docs. It's important to understand what these tools provide. A few off the top of my head: - App Engine Mapreduce (so far only Map step is implemented but still *very*

Re: [appengine-java] Uploading New Data into App Engine Java App

2011-04-01 Thread Ikai Lan (Google)
It sounds like you'll want to build your own API for this. Once you invoke the API, all it has to do is "follow up" and run whatever code you need to run. One of the team members released Protorpc to help facilitate this sort of thing in Python to make it easier to communicate between client and s

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Jay Young
Watch all of the App Engine videos from 2008, specifically the following (yes, they pre-date Java support on App Engine, but most of the principles apply): https://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine https://sites.google.com/site/io/under-the-covers-

[appengine-java] guestbook application error

2011-04-01 Thread Alfredo Paz-Valderrama
Hello, i have a problem with the guestbook application example. I followed the instructions of official tutorial to test user authentication. It worked fine on my machine locally, but when I published it, appeared an error message: -- Error: Server Error The server encount

[appengine-java] Small OAuth contribution and a few questions

2011-04-01 Thread Kafkaah
Howdy, I'm brand new to GAE/Java dev, and wish to ask a few questions about a simple test code fragment I just deployed. This (very simple) code fragment might help someone implement OAuth when integrating GAE with Google App Script. I've seen parts of it in a few places, but never in a complete

[appengine-java] Multiple instance issue in Channel API

2011-04-01 Thread alpb
Hello guys, Here is a quick noob question. I was reading about Channel API on GAE and TicTacToe implementation. http://code.google.com/appengine/docs/java/channel/overview.html Then I've thought that if the game gets bigger; GAE will automatically create new instances and then new players ma

[appengine-java] Re: What are my options in implementing a video upload/streaming functionality in GAE

2011-04-01 Thread captain
I'm researching the same and going with option 1. My plan is to create one user account and upload all my users videos under that account (that strategy solves one of your concerns -which is mine too). Re:privacy, are you sure we cannot label videos as private? I'll share my progress with you. B

[appengine-java] JPA/JDO vs low level API

2011-04-01 Thread SkYlEsS
I have a question : What are the differences between JPA/JDO and low level API (and Objectify) in practice ? I read everywhere the low level API provides more flexibility, but there are never samples code or evidences to demonstrate it. So I'm wondering in which cases exactly, the low level API is

[appengine-java] Re: api Sites: Required extension element http://schemas.google.com/acl/2007:role not found

2011-04-01 Thread laguna
Same problem here! The getAclFeed request failed for the sites where there is the user "Anyone with the link in 'COMPANY'" What is the solution for this issue? com.google.gdata.util.ParseException: [Line 1, Column 3774, element entry] Required extension element http://schemas.google.com/acl/2007:r

[appengine-java] Deferred tasks per instance?

2011-04-01 Thread blue
Are deferred tasks part of a per-instance queue or the global task queue? -- 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,

Re: [appengine-java] Re: SecurityException when using Apache HttpClient classes from Groovy

2011-04-01 Thread Don Schwarz
Just to close off this thread, we rolled out a fix for this issue yesterday. On Sun, Mar 27, 2011 at 5:35 PM, Don Schwarz wrote: > Sorry for the trouble, folks. Can you respond privately with your app ids? > > > On Sun, Mar 27, 2011 at 2:44 AM, radomir wrote: > >> John, >> >> I experienced exa

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Didier Durand
Forgot: -about the docs: use the api based on File class for your files in the blobstore. Just announced yesterday. - Also, have a look to tasks: that's the way to generate parallelism in your application if you want to do stuff simultaneously (quick handling of big data, etc...) Good luck for y

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Didier Durand
Hi, Also think about Google Web Toolkit for the UI: you will remain so full-Java and you can do nice interface even if you are as bad as I am in graphics / ui design ;-) I agree with Simon: definitely forget JPA/JDO! (I went with Objectify) Also study carefully the datastore, especially entity

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Drew Spencer
Thanks Simon, I am going to work through the java example program and familiarise myself while I read all the docs. Thanks for the advice re: JDO. That's the kind of thing I was looking for. Also - is it best to stay away from GWT for now? I would assume I need to get my backend working nicely

Re: [appengine-java] Jetty terminating just after starting (Eclipse SDK)

2011-04-01 Thread lorenoolive...@gmail.com
Update done and Jetty up and running... Thanks again... On Fri, Apr 1, 2011 at 2:08 AM, Toby Reyelts wrote: > There should be an update available for you on the 1st. (Not an April fools > joke). > > > On Thu, Mar 31, 2011 at 8:31 PM, lorenoolive...@gmail.com < > lorenoolive...@gmail.com> wrote:

[appengine-java] Re: AccessControlException with flash gallery

2011-04-01 Thread hrbaer
setVersioned( false ) solves the issue. On 30 Mrz., 20:33, hrbaer wrote: > Hi all, > > I try to add a flash based gallery to my GAE application. > But if I call the page where the gallery is located at I get the > following exception: > > WicketMessage: Method onLinkClicked of interface > org.apa

[appengine-java] Re: add image gallery (JS/FLASH) to GAE

2011-04-01 Thread hrbaer
You can add .setVersioned( false ) on your component and then it is working... On 1 Apr., 15:10, hrbaer wrote: > Hi all, > > I tried a few free web gallerys (flash based, JS based). > > If I run my web application on my local server everything seems to be > fine. But if I deploy it to the Google

[appengine-java] Uploading New Data into App Engine Java App

2011-04-01 Thread Andrey
We need to periodically upload the new data into our Java App running on the App Engine. We are going to perform some calculations on our own server, after which the results of this calculation need to be uploaded into the App Engine app. The results are just a text file (each line is a separate

[appengine-java] Re: Consolidated logs via email

2011-04-01 Thread Kyle Baley
It's Python-only but has anyone tried ereporter? http://code.google.com/appengine/articles/python/recording_exceptions_with_ereporter.html Would it be possible to write a simple Python app for this and deploy it alongside our main Java app? -- You received this message because you are subscrib

[appengine-java] add image gallery (JS/FLASH) to GAE

2011-04-01 Thread hrbaer
Hi all, I tried a few free web gallerys (flash based, JS based). If I run my web application on my local server everything seems to be fine. But if I deploy it to the Google server I always get an AccessControlException. Does anybody already included some JS/Flash gallery on his/her webpage? Th

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-01 Thread Simon Knott
Hi, My first bit of advice is read all of the documentation available, even if the topic doesn't appear relevant at first, as there are little gems of knowledge and limitations about the platform scattered throughout. I'd even go as far as to say you would benefit from reading the Python docum

[appengine-java] Tips/Pitfalls for total newbies?

2011-04-01 Thread Drew Spencer
Hi all, Totally new to this, about to embark on a development for my own business and think that GAE is the perfect solution. I basically want to make sure that we are making the right choice, and to be informed of any pitfalls early on. Basically the system will be a complete intranet/sales t

[appengine-java] entities not persisted

2011-04-01 Thread Aswath Satrasala
Hello, I did the following Objectify ofy = ObjectifyService.begin(); I created few entities in a loop (exactly 90). There is no parent for the entities. Then I said ofy.put(listOfEntities) The request was successful. There was no DeadlineExceededException. However, only one entity was persisted,