[appengine-java] HTTP POST failing in dev environment with SDK 1.4.3
I have an issue with local development server after upgrading to SDK 1.4.3. All HTTP POST requests fail with: java.io.IOException: Could not fetch URL: http://sitename/login.php Can anyone confirm that POST is working or failing in dev environment? I create an issue for this so if anyone else is experiencing this, please star http://code.google.com/p/googleappengine/issues/detail?id=4836 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-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: JPA/JDO vs low level API
The low level works with lists of properties key=value and JDO or JPA sticks those properties into defined (class)objects. Its easier to work with objects than a group of properties. Brandon Donnelson http://gwt-examples.googlecode.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: GAE on Mac OS X not working on local Jetty
You guys are awesome! Thanks! Brandon Donnelson http://gwt-examples.googlecode.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] 1.4.3 Javadocs? Looking for the FileServiceFactory docs:
I'm looking for the new javadocs for FileServiceFactory and didn't see them yet. I wanted to find out what the method parameters were for fileService.createNewBlobFile(param,param)? Is there a parameter for filename? AppEngineFile file = null; try { file = fileService.createNewBlobFile(contentType); } catch (IOException e) { e.printStackTrace(); } Brandon Donnelson http://gwt-examples.googlecode.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: 1.4.3 Javadocs? Looking for the FileServiceFactory docs:
Not sure why I'm getting this error yet. The class exists and is included in the source. Hm? Caused by: java.lang.NoClassDefFoundError: com/google/appengine/api/files/LockException at org.gonevertical.core.server.jdo.data.ThingStuffJdo.getValueFileData(ThingStuffJdo.java:1162) at org.gonevertical.core.server.jdo.data.ThingStuffJdo.convert(ThingStuffJdo.java:657) at org.gonevertical.core.server.jdo.data.ThingStuffJdo.query(ThingStuffJdo.java:540) at org.gonevertical.core.server.db.Db_ThingStuff.getThingStuffsData(Db_ThingStuff.java:36) at org.gonevertical.core.server.db.Db_Thing.getThingStuffData(Db_Thing.java:67) at org.gonevertical.core.server.db.Db_Thing.getThings(Db_Thing.java:54) at org.gonevertical.core.server.RpcCoreServiceImpl.getThings(RpcCoreServiceImpl.java:211) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) ... 30 more Caused by: java.lang.ClassNotFoundException: com.google.appengine.api.files.LockException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 43 more -- 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] JPA/JDO vs low level API
An incomplete list of things that are difficult or impossible with JDO/JPA, but easy with Objectify/LowLevelAPI: * Partial indexes * Running multiple concurrent transactions, or (more likely) a transaction + a nontransaction. Because of GAE's transaction model, this is actually necessary quite often. * Migrating your schema. JDO/JPA is particularly brittle, you can't even add primitive fields to a class. * Serializing your entities. With JDO you must detach them explicitly, with JPA (as implemented by DataNucleus) you simply can't. In practice, the biggest difference after abandoning JDO/JPA is that you will stop screaming loudly at your computer, annoying your coworkers. Jeff (copied from the response to the same question on the objectify mailing list) On Fri, Apr 1, 2011 at 4:50 AM, SkYlEsS shou...@gmail.com wrote: 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 useful ? Thanks in advance -- 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. -- 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: 1.4.3 Javadocs? Looking for the FileServiceFactory docs:
Oops, war/WEB-INF/libs didn't get 1.4.3 libs, still had the 1.4.2. Remove 1.4.2 libs and replace with 1.4.3. This occurred with change of sdk and some manual stuff I did. -- 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: Multiple instance issue in Channel API
The point of GAE is to have your game state unaware of instances. The problem you suggest would not occur because game state isn't stored on instances. Also, the channel API doesn't run on your instances, it's a separate service. To answer your question about channel streams, you need to store the channel id of the user you want to push to in the datastore or memcache which will be available to all instances. Then to send a message simply do a lookup. No mater how many instances are spawned, they will still be reading the same underlying datastore and have access to the same channels. -- 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] storing images on app engine(need help) will to pay$$$$$$$$
Hi I am new to app engine and trying to figure out how to upload images to app engine and dynamically add to me site. I am using java for the server and flex for the ria. Any help or guidiance or examples would be very much appreciated and will to throw a few bucks your way also 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-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: Deferred tasks per instance?
After some testing I found that deferred tasks do NOT run on the same instance they were spawned from. -- 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: Tips/Pitfalls for total newbies?
Ck out this crash course in getting a java app up from scratch... http://goo.gl/UT2W3 My personal recommendations: - plan on spending a week or two learning how the datastore works before you get started - if you will ever need the High Replication Datastore, set it up now. it's a pain to add it later - wrap all data access in daos - wrap all gae services in daos - use slim3 for database access to get around updating 2 entities in a single transaction limitation - use stripes for the web framework to keep startup times under 3 seconds - use https for everything (firesheep is looking for your cookies) - convert to app engine biz accnt and pay the $9/mnth for 3 always-on servers. even 3 seconds start-up times make an app unusable for most folks - use jquery for minimal layout, do everything else in jsps to generate jquery content upon form post - add code to detect when datastore is read-only and handle it with a custom page (maybe a javascript game, tetris?) - add a apple-touch-icon.png touch icon so people can save your app to their phones - plan for mobile support from day one, ck out jquerymobile.com - volume test your site using jmeter to see how it will handle massive traffic spikes - pay me for not having to learn the hard way like I did :) On Apr 1, 7:38 am, Drew Spencer slugmand...@gmail.com wrote: 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 tool based around a rather complex pricing engine. I have previous experience using Codeigniter + Doctrine, but after tinkering with v2.0 for a while it just seems like it is very buggy, and still has many limitations over using Java. We already use google apps for mail and have a simple intranet built on google sites so users will be using their company email account for validation. There are a few key features we need: - Small number of users (~100) - Integration with salesforce.com (Using the force.com API?) - Integration with Gmail so that the system can automatically log and send emails, as well as pick them up. (Using IMAP/SMTP?) - Ability to upload and store basic files that can be downloaded by staff (Using docs API, or just datastore?) If anyone can advise of any things to investigate right now that would be really helpful. I have quite a few years experience programming, and a willing assistant with a bit of OO knowledge, other than that I will be learning to use things like JDO and JSP for the first time. All of your input is appreciated. Drew -- 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: storing images on app engine(need help) will to pay$$$$$$$$
Here is some info I have put together: http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.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: 1.4.3 Javadocs? Looking for the FileServiceFactory docs:
Just another note: If your reading a file do it in a task! Otherwise you only have ten seconds. Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.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] Eclipse Plugin not showing 1.4.3
Yep, I noticed that too. It takes about a day after it starts to notify you in eclipse. If your in hurry to try it, I found I have to add it manually. It would be nice if they add it to the repository right away. Brandon Donnelson http://gwt-examples.googlecode.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: HTTP POST failing in dev environment with SDK 1.4.3
My posts are working for 1.4.3, although, you can hit deadlines. What are you posting? Brandon Donnelson http://gwt-examples.googlecode.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.