[appengine-java] gae.parent-pk doesnt work in list query
hi all when i try to query using the gae.parent-pk IN a list, it is failing with a ClassCastException below. i can use the parent key in a query for a single value fine. any ideas why this doesnt work? java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.google.appengine.api.datastore.Key at org.datanucleus.store.appengine.query.DatastoreQuery.internalPkToKey(DatastoreQuery.java: 14 this is the query --- Query chatUserQuery = em.createQuery(Select c from ChatUser c where c.parentKey=:parentKey); chatUserQuery.setParameter(parentKey, keyList); chatUserList = (ListChatUser) chatUserQuery.getResultList(); this is the JPA -- public class ChatUser { public static final String CLASS_NAME = ChatUser; public static final String FIND_BY_PARENT_KEY = ChatUser.findByParentKey; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key key; @Basic @Extension(vendorName=datanucleus, key=gae.parent-pk, value = true) private Key parentKey; } -lp -- 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: gae.parent-pk doesnt work in list query
Invalid JPQL (a Key cannot equal a List). This makes more sense Select c from ChatUser c where c.parentKey IN :parentKey -- 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: GAEJ down!
Do you happen to be deleting a lot of entities? It happens to me before (can't access console) and it's a know bug, thou I am not sure it's fixed or not. Can you access other admin pages? Sometimes the bookmarked link become invalid and need to relogin from the login page. On Aug 12, 1:01 am, JT jem...@gmail.com wrote: It was an error at appengine.google.com. What log are you talking about if you can not even get to dashboard? On Aug 11, 2011 10:33 AM, kartik kudada kartik.kud...@gmail.com wrote: Did you check with logs in dashboard? On Thu, Aug 11, 2011 at 7:33 PM, MANISH DHIMAN manisd...@gmail.com wrote: I am even not able to open statistic page when my application is getting down. It gives 500 error when I tries to open app engine home page. On Aug 11, 6:47 pm, Sébastien Tromp sebastien.tr...@gmail.com wrote: It is usually caused by an exception at instance start-up time. Could you please have a look at the logs, and see if there is a relevant stack trace? -- Sébastien Tromp On Thu, Aug 11, 2011 at 2:31 PM, MANISH DHIMAN manisd...@gmail.com wrote: It is happening since last three days On Aug 9, 5:47 am, doright doug.stodd...@gmail.com wrote: got the following error message a few times this morning: Error: Server ErrorThe server encountered an error and could not complete your request. If the problem persists, please report http://code.google.com/appengine/community.html your problem and mention this error message and the query that caused it I can't even log into the dashboard. Please advise -- 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. -- 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] How to modify appcfg.cmd
Hello Everyone, I m using Netbeans IDE 6.8 and i have been facing the same problem,while deploying the application i get the following error,as seen in post i have copied the tools.jar in Libraries Folder but i dont know how to modify appcfg.cmd as i m new to java,please halp me out. Unable to update: com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files. at com.google.appengine.tools.admin.Application.compileJsps(Application.java: 456) at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java: 334) at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java: 282) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 48) at com.google.appengine.tools.admin.AppCfg $UpdateAction.execute(AppCfg.java:596) at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:157) at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:65) at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:61) com.google.appengine.tools.admin.AdminException: Unable to update app: Failed to compile jsp files. at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java: 289) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 48) at com.google.appengine.tools.admin.AppCfg $UpdateAction.execute(AppCfg.java:596) at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:157) at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:65) at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:61) Caused by: com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files. at com.google.appengine.tools.admin.Application.compileJsps(Application.java: 456) at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java: 334) at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java: 282) ... 5 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.
[appengine-java] Appengine Rest Services
Hi, i'm doing some ressearch, because i want to do some rest services. I can do this by uusing Spring MVC + Jackson But i'm thinking in use some kind of stuff that integrates better with appengine. Im thinking in use : Guice + Jersey . But, i could not find some good examples on the web. I found this : http://blog.iparissa.com/jersey-guice-on-google-app-engine-java/ but i cant find the jersey-guice(wich contains GuiceContainer). Is this the best way to build a rest service in Java + Appengine? May i use Spring or Guice to acomplish this? 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] remote_api get and put
Dear All, I'm trying to use remote_api to query and update an entity on datastore. I read the following article and successfully query the data. http://code.google.com/intl/en/appengine/docs/java/tools/remoteapi.html But the poor thing is, after the query, I would like to update the entity. But it didn't work without any error message. Here is part of my code. Would you plz help to check it?? Thanks!! === public class RemoteApiExample { public static void main(String[] args) throws IOException { String username = System.console().readLine(username: ); String password = new String(System.console().readPassword(password: )); RemoteApiOptions options = new RemoteApiOptions() .server(9x9tvqa.appspot.com, 443) .credentials(username, password); RemoteApiInstaller installer = new RemoteApiInstaller(); installer.install(options); try { DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); //System.out.println(Key of new entity is + //ds.put(new Entity(Hello Remote API!))); // My code is beginning here Key k0 = KeyFactory.createKey(MsoChannel, 7); Entity e0; e0 = ds.get(k0); String langCode = (String) e0.getProperty(langCode); System.out.println(Key=7, langCode= + langCode); // -- this works, langCode=en System.out.println(Now we are going to modify it to be langCode=\zh\...); e0.setProperty(langCode, zh); ds.put(e0); } catch (EntityNotFoundException e) { System.out.println(Exception caught!); } finally { installer.uninstall(); } } } -- 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: Objectify-Appengine 2.1 released, supports Partial Indexes
Hi There, Can you tell me a little about how partial indexes are implemented in objectify? Is it supported in the underlying API or is it solely implemented in objectify? Kind regards Tobias. -- 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/-/AcFUXARv3sEJ. 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] JDO NucleusObjectNotFoundException Exception: Could not retrieve entity of kind ? with key ?
Hello, I have a (owner) one-to-many bidirectional relationship. A product can have multiple formats, but a format can only be associated with a product. public class Product{ @PrimaryKey @Persistent private Key id; // string, by application ... @Persistent(mappedBy = product) private List Format formats; } public class Format{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; //numeric, autogenerated ... @Persistent private Product producto; } Users select a format in a web page (radio button html) and application (servlet) must load the object identified by id. My code: forma = (Format) pm.getObjectById(Format.class, formatId); // formatId = 985 but I get: Could not retrieve entity of kind Format with key Format(985) Datastore Viewer shows a entity with ID/Name column = 985. How I must load object? What is wrong? Thank you! -- 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] Is fetching 1 big entity group faster than fetching all multiple ones?
I have an Entity called Movie. I want to have a get_or_create method for the Movie entity. Right now each Movie entity is in its own Entity group. I read I have to put them in the same entity group and use transactions to avoid duplicate entities. I could also perhaps choose my own unique key which would result in overwriting a few entries (idempotent) without any effect. The movies count can be from 1-5. At some point I want to fetch them all. Would it be faster executing a query against a single entity group or multiple entity groups? Is it faster because an entire entity group is stored in a specific node? Thanks! -- 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/-/qBrtdIfgWDAJ. 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] javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender
Hi, Please i need your help. When i try to send an email i get this error: java.lang.RuntimeException: javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Illegal Arguments (java.lang.IllegalArgumentException: Unauthorized Sender: Unauthorized sender)) But i still using my admin adress also my adress work correctly in GAE account. Also, the sending mail worked very fine yesterday and i didn't modify my code. I don't understand what happened, i created another application identifier but i still get the same error. Please do you have any idea to solve this problem. -- 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] Appengine Rest Services
I'm using VRaptor with Guice, which is much faster than Spring, for RESTful resources. Vraptor is a very productive MVC/RESTful web framework and there's a blank GAE project for a quick start. Pico is very fast too. You can also use a static component scanner for even faster startup (around 3 secs for me). http://vraptor.caelum.com.br/documentation/resources-rest/ On Wed, Aug 10, 2011 at 5:37 PM, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: Hi, i'm doing some ressearch, because i want to do some rest services. I can do this by uusing Spring MVC + Jackson But i'm thinking in use some kind of stuff that integrates better with appengine. Im thinking in use : Guice + Jersey . But, i could not find some good examples on the web. I found this : http://blog.iparissa.com/jersey-guice-on-google-app-engine-java/ but i cant find the jersey-guice(wich contains GuiceContainer). Is this the best way to build a rest service in Java + Appengine? May i use Spring or Guice to acomplish this? 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. -- Bruno Fuster -- 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: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender
I have the same problem. Sending emails worked OK until about 14h ago (and no changes were made). The user is added to permissions list as Developer. I tried changing it to Owner but it doesn't work. On Aug 12, 6:36 pm, Bruno Fuster brunofus...@gmail.com wrote: Hi! Is the sender email you're using configured in the permission list? On Fri, Aug 12, 2011 at 10:35 AM, asmaa EL MOKHTARI elmokhtari.as...@gmail.com wrote: Hi, Please i need your help. When i try to send an email i get this error: java.lang.RuntimeException: javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Illegal Arguments (java.lang.IllegalArgumentException: Unauthorized Sender: Unauthorized sender)) But i still using my admin adress also my adress work correctly in GAE account. Also, the sending mail worked very fine yesterday and i didn't modify my code. I don't understand what happened, i created another application identifier but i still get the same error. Please do you have any idea to solve this problem. -- 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. -- Bruno Fuster -- 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: Objectify-Appengine 2.1 released, supports Partial Indexes
It is supported in appengine. Every time you set a property in an Entity (appengine Entity) you can specify if that property is indexed or not. The partial indexing support just lets you control that on a per instance basis instead of having the field always indexed or not. On Fri, Aug 12, 2011 at 11:14 AM, Tobias tgrundt...@gmail.com wrote: Hi There, Can you tell me a little about how partial indexes are implemented in objectify? Is it supported in the underlying API or is it solely implemented in objectify? Kind regards Tobias. -- 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/-/AcFUXARv3sEJ. 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.
Aw: Re: [appengine-java] javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender
Same problem here. -- 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/-/V5KAFTzYUUsJ. 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] com.google.apphosting.api.DeadlineExceededException
Getting a lot of:com.google.apphosting.api.DeadlineExceededException And my app is on HRD. -- 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/-/GQ2cagffTicJ. 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: com.google.apphosting.api.DeadlineExceededException
Back working now, thought HR was supposed to deal with these issues more elegantly than going down for over a half hour. -- 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/-/CnRKp-1YFHsJ. 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: Objectify-Appengine 2.1 released, supports Partial Indexes
Specifically, it's the difference between calling Entity.setProperty() or Entity.setUnindexedProperty() on the low level API. Objectify interacts with the datastore through the low level API, so there is always underlying support for features. Not necessarily in a convenient form, however. Jeff On Fri, Aug 12, 2011 at 8:40 AM, Scott Hernandez scotthernan...@gmail.com wrote: It is supported in appengine. Every time you set a property in an Entity (appengine Entity) you can specify if that property is indexed or not. The partial indexing support just lets you control that on a per instance basis instead of having the field always indexed or not. On Fri, Aug 12, 2011 at 11:14 AM, Tobias tgrundt...@gmail.com wrote: Hi There, Can you tell me a little about how partial indexes are implemented in objectify? Is it supported in the underlying API or is it solely implemented in objectify? Kind regards Tobias. -- 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/-/AcFUXARv3sEJ. 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. -- 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] Appengine Rest Services
I'm pretty happy with Resteasy: http://www.jboss.org/resteasy There was a minor trick to getting Guice integrated nicely (see my recent post on the resteasy-developers list). Other than that it works great, and you can use it to render HTML pages with a little extension: http://code.google.com/p/htmleasy/ It all works normally on appengine, no issues. Jeff On Wed, Aug 10, 2011 at 1:37 PM, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: Hi, i'm doing some ressearch, because i want to do some rest services. I can do this by uusing Spring MVC + Jackson But i'm thinking in use some kind of stuff that integrates better with appengine. Im thinking in use : Guice + Jersey . But, i could not find some good examples on the web. I found this : http://blog.iparissa.com/jersey-guice-on-google-app-engine-java/ but i cant find the jersey-guice(wich contains GuiceContainer). Is this the best way to build a rest service in Java + Appengine? May i use Spring or Guice to acomplish this? 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. -- 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: Re: [appengine-java] javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender
Please can any one help us to solve this problem because i passed several hours searching whitout any succes. any help would be appreciated. 2011/8/12 Daniel Florey daniel.flo...@gmail.com Same problem here. -- 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/-/V5KAFTzYUUsJ. 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] How do I decode a JPEG and access individual pixel colors?
I am trying to have my GAE app identify the primary colors used in an image. Unfortunately, perhaps I'm misunderstanding it but the ImageService.histogram() function appears useless for this, since it is a histogram *per color channel* rather than across the color spectrum. Actually, I'm not really sure what that could be useful for :-/ Anyway, so I need to be able to access the individual pixel colors in a downloaded image, and then feed this into some kind of clustering mechanism to find the most important ones. Not easy, but doable. Then I discover, to my surprise, that the Image class appears to provide no means to query individual pixel colors, something akin to BufferedImage.getRGB(). Now I'm getting worried. So I go on a hunt for pure Java JPEG decoders (all of the images I need to do this to are JPEGs) and it seems that the last time anyone wrote a Java JPEG decoder was some time in the late Cretaceous era - and their websites either 404 or the code won't even nearly compile. Surely there must be a way to do this, can anyone help? Ian. -- 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/-/9yfF7S43ALwJ. 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] Appengine Rest Services
You can also look at Greaze: http://code.google.com/p/greaze/ I authored this framework and have used it to write JSON-based REST services on GAE and access them from Android clients. Inder --- Checkout my Android app PowerVocab: https://market.android.com/details?id=com.applimobile.powervocab On Fri, Aug 12, 2011 at 12:42 PM, Jeff Schnitzer j...@infohazard.orgwrote: I'm pretty happy with Resteasy: http://www.jboss.org/resteasy There was a minor trick to getting Guice integrated nicely (see my recent post on the resteasy-developers list). Other than that it works great, and you can use it to render HTML pages with a little extension: http://code.google.com/p/htmleasy/ It all works normally on appengine, no issues. Jeff On Wed, Aug 10, 2011 at 1:37 PM, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: Hi, i'm doing some ressearch, because i want to do some rest services. I can do this by uusing Spring MVC + Jackson But i'm thinking in use some kind of stuff that integrates better with appengine. Im thinking in use : Guice + Jersey . But, i could not find some good examples on the web. I found this : http://blog.iparissa.com/jersey-guice-on-google-app-engine-java/ but i cant find the jersey-guice(wich contains GuiceContainer). Is this the best way to build a rest service in Java + Appengine? May i use Spring or Guice to acomplish this? 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. -- 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] secure appengine urls with security constraints
Hi, I have a mobile application running on handsets and the backend runs on appengine. My mobile applications makes various backend hits to google appengine servers. I am already using https urls. I also looked at the security constraint setup to protect the urls with google authentication. I would like my backend (on appengine) available ONLY to my mobile application running on various handsets. Is there a way I can pass the login credentials as part of standard http request headers and google auth can handle it? The documentation says about redirecting to google login pages when security constraint is enabled which works great for web applications. But my use case is http requests coming from my mobile app on handsets. Another question : Can we disable http completelyand ONLY allow https? Thanks Neeli -- 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/-/jGH9HXZFMqsJ. 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.