[appengine-java] HashMap within an Embedded Class

2011-05-24 Thread mscwd01
Hey Are you able to store a HashMap within an embedded class? I have a Class which implements Serializable and annotate the HashMap like this: @Persistent(serialized = true, defaultFetchGroup=true) private MapString, Integer myMap; However, I always get this error thrown: myMap:

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread Drew Spencer
Hi coders, Could people please correct me as I am trying to understand all this, have read quite a few thread/pages but still a bit unsure what is going on exactly. This is what I get so far: - Being charged for instances means we should probably use multi-threading in our apps to avoid

[appengine-java] Re: Coding with Adobe Software

2011-05-24 Thread Drew Spencer
Yeah don't bother with Adobe dude, waste of money unless you have invested significant time and money already learning how to become an adobe ninja. Google provides all the stuff you need for free :) so get into GWT and Eclipse. There are a few ways you can design the user interface using GWT:

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread Jeff Schnitzer
Let's say you have a sustained traffic of 5 hits per second, and each request takes 1 second to process (waiting on the datastore, waiting on facebook, whatever). If you're using single-threaded python, you will need 5 instances to serve this load - each instance can do nothing else while it

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

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

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread stole
On Tuesday, May 24, 2011 11:21:00 AM UTC+2, Jeff Schnitzer wrote: The Google blog says that appengine served over 2,000 hits per second for the Royal Wedding - I'd like to know what the bill would look like before and after the pricing change. Indeed, that would be an interesting thing to

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-24 Thread Drew Spencer
Can't you just limit your maximum number of instances at any one time? In the case of the datastore hiccup surely google would make some sort of adjustment due to their own failures? I see you point and agree wholeheartedly Jeff, I guess I just trust Google to keep it reasonably competitive on

[appengine-java] Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
I currently have a working implementation connecting my Android app to my GAE domain site. I was never able to get a working development environment and I always have to use my domain site to actually test my android implementation. I'm using the JAVA JDO implementation of GAE. I ran into

[appengine-java] Re: Java = Google app

2011-05-24 Thread Mike Lawrence
maven thoughts - anyone who's worked on a large project over time has seen the build scripts grow in complexity and maintenance costs - maven, like many solutions, introduces a domain-specific-language to simplify things, or in mavens case, a domain specific XML schema - I usually cringe when I

[appengine-java] Re: Google App Engine + Java Applet

2011-05-24 Thread Brandon Donnelson
Doesn't an applet run on the client side? Did you want it to run on the server side? If it does run on the client GAE won't care what you do. Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread Brandon Donnelson
In the Development Mode tab, when you see the link, right click on it, you'll get choices of which browser to run. You can set it back to default browser or choose another browser to run. Brandon Donnelson http;//gwt-examples.googlecode.com -- You received this message because you are

[appengine-java] Re: HashMap within an Embedded Class

2011-05-24 Thread Brandon Donnelson
Here are the supported property types: http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types You could make an entity that has a key and value properties. Then you could store your values into the entities like the hashmap. You would have to manage the

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
Can you get your android phone on the 10.0.2.2 private network? -- 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

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
Yes. The emulator does connect to the localhost using 10.0.2.2:888 as the base uri. This is my basic connection routine. I just assumed i could switch out my http://domain.appspot.com for the http://10.0.2.2:/_ah/login url, but this doesnt seem to get me through authentication. It does

[appengine-java] Re: HashMap within an Embedded Class

2011-05-24 Thread mscwd01
The issue I have though is HasMap's are supported if serialized=true is set. What I want to determine is why cant I use a HashMap within an embedded class? Thanks On May 24, 2:36 pm, Brandon Donnelson branflake2...@gmail.com wrote: Here are the supported property

[appengine-java] Re: Upload blob never calls success path

2011-05-24 Thread Daniel Florey
As I expected in the first place I'm just dumb. After running into a lot of issues (OutOfMemory and alike) I found out that I just forgot to attach the form to the site properly ;-) -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
I have some questions to help me and others that visit this thread. The servlet container for the GAE dev, I assume its running? And do you know if the servlet request is coming in from the android emulator when made? If your servlet is getting the request, can see if all the body and headers

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
Sure. Yes, I do know the servlet is running. I was able to put a breakpoint in the GAE servlet to verify the request was hitting the container. Below is an example of my servlet which I was testing with. This servlet just uses the user service to retrieve the user's information. The

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread Brandon Donnelson
Yea, changing the url should work. I have to make url modifications depending on local and production. I would check to see if a Cookie is getting sent in the header. Brandon -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Re: Connect Android Emulator to Google App Engine (GAE) local PC - domain works correctly.

2011-05-24 Thread dbldown768
I know for sure last night, that no cookie was being sent back in the header. The only way I was able to get a cookie sent back to me is if I used the combination of domain and localhost (i.e. http://domain.appspot.com/_ah/login?continue=http://10.0.2.2:/api/home) or something similar.

[appengine-java] List of supported content types in BlobStore?

2011-05-24 Thread Daniel Florey
Hi, is there a list of content types that BlobStore is be able to detect? Thanks, Daniel -- 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

[appengine-java] Re: Google App Engine + Java Applet

2011-05-24 Thread SKP
Yes. It runs on the client side but I would like to host it at GAE. On May 24, 9:27 am, Brandon Donnelson branflake2...@gmail.com wrote: Doesn't an applet run on the client side? Did you want it to run on the server side? If it does run on the client GAE won't care what you do. Brandon

[appengine-java] Persisting an Object that has a List of anotherObject JPA (it's been 5 days now ).

2011-05-24 Thread kidowell
Hello. Here's the problem. An 'Annotation' has a list of 'Tag'. What I want to do is when persisting an annotation (with its list of Tag) I dont want to persist the Tags of the annotations. For example, lets say I previously persisted 3 tags: Tag1 Tag2 Tag3. And now I persist an

Re: [appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread Ikai Lan (Google)
Just to close the loop - this is the new version of the Google Plugin for Eclipse that uses OAuth to authenticate. The benefit is that now, your plugin can cache the OAuth tokens so that you don't ever have to re-enter your email/password to deploy. This is much more secure than caching your email

Re: [appengine-java] Google App Engine + Java Applet

2011-05-24 Thread Ian Gillett
Hi, You can run Applets on App Engine - we are using an Applet / App engine on the App below: https://www.google.com/enterprise/marketplace/viewListing?productListingId=8343+8778914019165296828 https://www.google.com/enterprise/marketplace/viewListing?productListingId=8343+8778914019165296828

[appengine-java] Re: Coding with Adobe Software

2011-05-24 Thread emurmur
If you are brand-new to coding, I would not use GWT. I would start with HTML/CSS/Javascript. Many folks start their coding careers there (and many many stay there because they love it). You can get started quickly and the learning curve is not so steep. The learning curve on GWT or even Adobe

[appengine-java] RemoteApi : Null pointer Exception

2011-05-24 Thread pavb
Hi I have a nullPointerException when I try to insert data in my production site. It works with the local server. I have tried with the sample code of the documentation but the error is the same. I am using the version 1.5.0.1 of the java sdk Sample code public class RemoteApiExample {

[appengine-java] Re: RemoteApi : Null pointer Exception

2011-05-24 Thread pavb
Sorry I have made a mistake in my email account. Evrything works fine PA On May 24, 11:32 pm, pavb pavieillardba...@gmail.com wrote: Hi I have a nullPointerException when I try to insert data in my production site. It works with the local server. I have tried with the sample code of the

[appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread cp
Ikai that is what i thought, i realized i allowed some updates to happen by opening my firewall. now the question to you : 1how do i change the browser behavior (some reason my cookie setting (whatever i do) is not being liked. i tried to allow cookies in all browser. 2how do i go back to

Re: [appengine-java] Re: Strange behavior by App Engine Eclipse Plugin

2011-05-24 Thread Ikai Lan (Google)
appcfg.sh behavior should not have changed. You can use the command line tool. 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 On Tue, May 24, 2011 at 2:44 PM, cp

Re: [appengine-java] Coding with Adobe Software

2011-05-24 Thread Rusty Wright
InDesign is a page layout program for printing, more or less. You probably could use it to mock up your web pages but it's drastic overkill when you're new to coding. Do your mock ups with static html, as others have pointed out. If you're looking for an html editor, I'd use something like

[appengine-java] Re: open source pdf engine for GAE

2011-05-24 Thread Nichole
I didn't look at your snippets in detail, but instead used the group search feature to find a successful creation of a pdf on appengine by someone else. At the bottom of this conversation they say they got the opensource iText working on appengine: