[appengine-java] Unable to enhance class using DataNucleus

2011-05-20 Thread hiran.suvrat
When I do clean and build my program. There is a following note Note: D:\Project\msc\sentiment-app\src\java\tweet_now.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. And during the RUN datanucleusenhance: [enhance] DataNucleus Enhancer (version

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois Masurel
If anyone interested at Google, I can reproduce this strange behavior quite easily. Francois -- 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

[appengine-java] Re: Unable to enhance class using DataNucleus

2011-05-20 Thread hiran.suvrat
Or my question could also be how to enhance a class in netbeans. On May 20, 12:37 pm, hiran.suvrat hiran.suv...@gmail.com wrote: When I do clean and build my program. There is a following note Note: D:\Project\msc\sentiment-app\src\java\tweet_now.java uses unchecked or unsafe operations.

[appengine-java] Re: Using URLFetchService / URL

2011-05-20 Thread Didier Durand
Hi, It seems that the character at index 58 in your request is wrong Did you check this char in your url ? (I assume that you do a http get and not a http post) What is this char ? regards didier On May 20, 12:24 am, yousefgh fe...@yousefgh.com wrote: Could it be the length? because it is

[appengine-java] How does JDO convert persistent class field names to entity property names?

2011-05-20 Thread tempy
I am slowly (painfully) migrating from JDO to the low-level API. One thing that's giving me problems is this: I have many persistent fields that start with an underscore: private int _field1; private int _field2;, etc. I am, for the time being, accessing this data with JDO in one part of the

[appengine-java] GAE - Java - JSON?

2011-05-20 Thread Pop Vasile
Hi, I want to create an app based on GAE / Java and I want to use JSON, for interaction with different GUIs (GWT, Android, etc.). I am looking in some books about GAE, but all I can find is RPC... Is there a book or is there a good link on how to implement JSON based services in GAE, using

Re: [appengine-java] GAE - Java - JSON?

2011-05-20 Thread Ravi Sharma
Look into Spring 3.0+, they have this fucntionality inbuilt, Just by annotation you can specify whether eu want output as Json or xml etc. I havent tried it but i have seen such video fromSpringSource On Fri, May 20, 2011 at 1:11 PM, Pop Vasile vasile@gmail.com wrote: Hi, I want to

Re: [appengine-java] GAE - Java - JSON?

2011-05-20 Thread suchitra nair
hey .. Dont kno much abt it.. m givin a try at GSON .. http://www.javacodegeeks.com/2011/01/android-json-parsing-gson-tutorial.html http://sites.google.com/site/gson/gson-user-guide http://code.google.com/p/google-gson Hope u find it useful ..:) On Fri, May 20, 2011 at 6:05 PM, Ravi Sharma

[appengine-java] Re: GAE - Java - JSON?

2011-05-20 Thread Brandon Donnelson
Check out http://www.json.org/ under java section towards bottom middle, there are classes that serialize java objects into json for outing. GWT has some libs that does it too. Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the

[appengine-java] Re: Coding with Adobe Software

2011-05-20 Thread Brandon Donnelson
I would start with eclipse to code for GWT, android, and/or GAE, but there are other good IDE's you could use for Java development. Eclipse cost nothing and works great. I'd save up for the devices for testing. :) Brandon Donnelson http://gwt-examples.googlecode.com -- You received this

[appengine-java] Re: GAE - Java - JSON?

2011-05-20 Thread Pop Vasile
Thanks guys, great resources. I'm still a bit confused about the approach on GAE server-side... Should I use servlets? Restlet? Something else? -- 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

Re: [appengine-java] Re: GAE - Java - JSON?

2011-05-20 Thread Bruno Fuster
Hello Pop I recommend a RESTful framework, VRaptor http://vraptor.caelum.com.br/en. I've been using for almost a year with iphone clients. Just some result.use(json()).from(obj).serialize() is enough and a @Consumes annotation for payloads. Their group will answer you fast if you have any

Re: [appengine-java] GAE - Java - JSON?

2011-05-20 Thread Wilson MacGyver
Give Gaelyk a try http://gaelyk.appspot.com/ It has a plugin for JSON https://github.com/bmuschko/gaelyk-jsonlib-plugin On Fri, May 20, 2011 at 8:11 AM, Pop Vasile vasile@gmail.com wrote: Hi, I want to create an app based on GAE / Java and I want to use JSON, for interaction with

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Don Schwarz
This is very strange. What is your app id? On Fri, May 20, 2011 at 7:55 AM, Francois Masurel f.masu...@gmail.comwrote: And here is how it goes when everything is normal... (cf. attachment) -- You received this message because you are subscribed to the Google Groups Google App Engine for

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois MASUREL
Hi Don, My appId is : vncts1 It's bugging at the moment. Thanx for your help. Francois On Fri, May 20, 2011 at 18:31, Don Schwarz schwa...@google.com wrote: This is very strange. What is your app id? On Fri, May 20, 2011 at 7:55 AM, Francois Masurel f.masu...@gmail.comwrote: And

[appengine-java] Jsf 2.0 session beans

2011-05-20 Thread gno
Everything works fine on the development server, but when I upload my app to app engine my session beans behave as request scoped beans. Is it an app engine's incompatibility? I'm using mojarra 2.0.4 appengine-web.xml: ?xml version=1.0 encoding=utf-8? appengine-web-app

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois Masurel
The faulty instance was restarted so everything went back to normal. I just flushed my cache and reloaded about 20 pages to reproduce the bug. Francois -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

Re: [appengine-java] GAE - Java - JSON?

2011-05-20 Thread Ikai Lan (Google)
+1 for GSON. Not sure how compatible it is with the default org.json stuff Android uses. I mean, JSON is JSON, but different libraries do different things escaping single and double quotes. On the server side, I've used this in GAE: http://www.restlet.org/ There's *some* warmup time, but it's

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

2011-05-20 Thread Vik
any further advise on this please? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Wed, May 18, 2011 at 12:03 PM, Vik vik@gmail.com wrote: Hie Even below code fails for the same exception ByteArrayOutputStream out = new ByteArrayOutputStream();

[appengine-java] can't deploy to AppEngine Java

2011-05-20 Thread JakeP
Hello, Can anyone from the AppEngine team help me with this issue: My app hasn't been able to deploy for 24 hours. Here's the log 90% Deploying new version. 95% Will check again in 1 seconds. 98% Will check again in 2 seconds. 99% Will check again in 4 seconds. 99% Will check again in 8

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Don Schwarz
On Fri, May 20, 2011 at 12:28 PM, Francois Masurel f.masu...@gmail.comwrote: The faulty instance was restarted so everything went back to normal. Yes, that was me testing a workaround. I just flushed my cache and reloaded about 20 pages to reproduce the bug. Thanks. It was enlightening

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Francois Masurel
Happy to be able to help. In fact, I just put in place all this catches to avoid instance restart which causes lots of error 500 and get my site unreachable for a few seconds each time it happens. Do you mean that all these strange DeadlineExceededExceptions will disappear with next SDK

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

2011-05-20 Thread Stephen Johnson
Sorry Vik, I'm out of ideas. If it were me I'd create a small local test app that used your pdf code to generate and save the pdf file and see if is is valid, then I'd upload it to GAE and see if I can send it. On Fri, May 20, 2011 at 10:42 AM, Vik vik@gmail.com wrote: any further advise on

Re: [appengine-java] DeadlineExceededException on Jetty session loading

2011-05-20 Thread Don Schwarz
On Fri, May 20, 2011 at 1:39 PM, Francois Masurel f.masu...@gmail.comwrote: Happy to be able to help. In fact, I just put in place all this catches to avoid instance restart which causes lots of error 500 and get my site unreachable for a few seconds each time it happens. Perhaps Always On

Re: [appengine-java] GAE - Java - JSON?

2011-05-20 Thread Jeff Schnitzer
I've been very satisfied with RESTeasy, an implementation of the Java standard JAX-RS. It works great on appengine: http://www.jboss.org/resteasy Here's a quick example: @Path(hello) public class HelloResource { @GET @Path({name}) public String hello(@PathParam(name) final String

[appengine-java] billing issue

2011-05-20 Thread pac
I think something wrong in my account for 2011-05-19 09:32:50 It shows CPU time used 62.61 hours and I don't see that much usage. Where can I log/report this issue? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

Re: [appengine-java] can't deploy to AppEngine Java

2011-05-20 Thread Ikai Lan (Google)
Thanks for filing a production issue for this: http://code.google.com/p/googleappengine/issues/detail?id=5084 This might have been related to some of the persistence hiccups we're seeing at the moment. Ikai Lan Developer Programs Engineer, Google App Engine Blog:

Re: [appengine-java] GAE - Java - JSON?

2011-05-20 Thread Brandon Donnelson
I forgot I'm using GSON too, indirectly through another library that works with Google's geocoding API. It translates it very nicely into JAVA, which all gets done on GAE. Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the

[appengine-java] Collections in JPA

2011-05-20 Thread bjorn
Hey there, I am using JPA and according to Dan Sanderson's Programming Google App Engine book (pg 213) Collection types are stored in iteration order, which I had assumed meant that they were also restored in iteration order. However, I have a collection (an array list) that does not seem to

Re: [appengine-java] Re: GAE - Java - JSON?

2011-05-20 Thread Rusty Wright
I'm using Stripes (an action based framework, similar to Struts 2 but *way* better) and GSON. Stripes is very flexible and powerful and very well thought out and designed. On 2011-05-20 06:43, Pop Vasile wrote: Thanks guys, great resources. I'm still a bit confused about the approach on GAE