[appengine-java] Re: Users management for non-google accounts
Sounds like you want OpenId This may help: http://code.google.com/appengine/docs/java/users/ Extract: Note: The 1.3.4 release includes support for authentication via OpenID as an experimental feature. OpenID allows users to authenticate by supplying a URL that identifies them with an OpenID provider, a service where the user has previously created an account. Because OpenID support is an experimental feature, the API may change in future minor releases of the SDK. Let us know what you think! On Jul 23, 4:09 pm, cghersi cristiano.ghe...@gmail.com wrote: Good afternoon, I'm very new to GAE, and I cannot understand how may I merge the account management for users having and not having a Google account. I would like to have a single sign-in page (google style) where users with google accounts can type their Google credentials and enter in my app, while users without google accounts can type their MyApp- customized credentials and enter the same. Is it feaseable? Or do I have to create my own Users table and replicate the users accounts for the users provided with Google accounts? Thank you very much! Bye -- 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-j...@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] String.Matches(regex) dont work in GAE
my code String text=[reset]; String regex=\\[reset\\]; boolean result=text.matches(regex); when i test it in java main, it return true however, when i delpoy it to app engine, String.matches(regex) return false doesn't GAE support the String class? as stated in http://code.google.com/appengine/docs/java/jrewhitelist.html -- 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-j...@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: String.Matches(regex) dont work in GAE
nvm, the text that i get from the client might be unicode. On Jul 24, 8:58 pm, Alex monsterno...@gmail.com wrote: my code String text=[reset]; String regex=\\[reset\\]; boolean result=text.matches(regex); when i test it in java main, it return true however, when i delpoy it to app engine, String.matches(regex) return false doesn't GAE support the String class? as stated inhttp://code.google.com/appengine/docs/java/jrewhitelist.html -- 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-j...@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] Channel api / Dance dance robot: what is ApplicationError: 2:
Hello there, I am trying out the Channel API with my own project and the Google demo app Dance Dance Robot. In both cases I get ApplicationError 2 when trying to push a message. There is no doc but all libraries are available in the lastest GAE release. Here is the error: com.google.appengine.api.channel.ChannelFailureException: An unexpected error occurred. Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: See trace below. What is ApplicationError2, how to fix it? Any help / pointer would be appreciated. Thanks. Daniel SEVERE: Failed to push the message com.metadot.book.stalkrapp.shared.mess...@1010a3b to client channel- a4kt0t-stalkrappt...@example.com-1 com.google.appengine.api.channel.ChannelFailureException: An unexpected error occurred. at com.google.appengine.api.channel.ChannelServiceImpl.sendMessage(ChannelServ iceImpl.java: 59) at com.metadot.book.stalkrapp.server.PushServer.sendMessageToOneUser(PushServe r.java: 82) at com.metadot.book.stalkrapp.server.FriendsServiceImpl.getFriend(FriendsServi ceImpl.java: 283) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.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: 562) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi ceServlet.java: 188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi ceServlet.java: 224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract RemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 713) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.metadot.book.stalkrapp.server.servlets.LoginFilter.doFilter(LoginFilter .java: 31) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi lter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans actionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile Filter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn gineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java: 755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: at com.google.appengine.api.channel.dev.LocalChannelService.sendChannelMessage (LocalChannelService.java: 91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at
Re: [appengine-java] Re: Desarrollo de Aplicaciones con Eclipse
Como puedo empezar a utilizar las API que ofrece Google APP para integrarlas en mi aplicación?. -- 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-j...@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] deleting entities from the datastore- JPA
Hi, I am trying to delete entities from the datastore using JPA's entityManager remove method as in the following code. When I execute, the entities are not removed from the datastore but when I use the Delete x from Node x query, the entities are removed from the datastore. Query query = em.createQuery(SELECT x FROM Node x); ListNode results = (ListNode) query.getResultList(); try { for (Node result : results) { Node removeNode = em.find(Node.class, (int) (result.getKey().getId())); em.remove(removeNode); } } finally { em.close(); } Can someone please explain if I have done anything wrong in the above code/ why remove does not delete the entries from the datastore? The delete query works , but I'd like to know if it's good programming practice to use the delete query instead of the entity manager's remove method, Thanks, Deepika -- 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-j...@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] Datastore.Text didn't work after deploy
Hi everyone, i've implemented a small application with ... @Persistent private Text content; ... When I test it locally and store this into the datastore everything works fine, when i deploy the app nothing get stored in that field content. What am I doing wrong? I see no errors or exceptions in the admin menu. Greets Poe -- 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-j...@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: Desarrollo de Aplicaciones con Eclipse
Antes de empezar a desarrollar una aplicación para app engine, LEE muy bien las restricciones de app engine, puede que tu projecto pueda fracasar por culpa de tales restricciones, o pierdas demasiado tiempo tratando de evitarlas. Saludos On Sat, Jul 24, 2010 at 5:42 PM, Edixon Polanco edixon...@gmail.com wrote: Como puedo empezar a utilizar las API que ofrece Google APP para integrarlas en mi aplicación?. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Nicolás Meléndez Java Software Developer 1) Google App Engine works: 1.a) http://www.clasificad.com.ar (Local free classifieds for housing, sale, services, local community, curses,jobs, and events - GAE/J + Wicket + YUI) 1.b) http://www.chessk.com (Massive multiplayer chess online GAE/J + Applets + Wicket) 2) Linkedin: http://ar.linkedin.com/in/nicolasmelendez -- 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-j...@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] Discussion on will-it-play-in-app-engine
Creating a Spring Roo application and deploying on Google App Engine http://java.dzone.com/articles/creating-application-using -- 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-j...@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] polymorphism, inheritance really not supporting?
Hi! I have a problem when I attempt persist an object,calling the next code: par1 = new Partido(ss, new Empate(), eq1b, eq2b, fecha, hora); //The class Empate extends of class Resultado, and the error says: Received a child of type model.Empate for a field of type model.Resultado. Unfortunately polymorphism in relationships is not yet supported. I read the documentation of google but he does not say anything, neither he denies the support of the inheritance. It wanted to know if really he supports. The classes(Have I some mistake in the annotations for the inheritance???): @PersistenceCapable(identityType = IdentityType.APPLICATION,detachable=true) @Inheritance(customStrategy = complete-table) public class Resultado implements Serializable{ @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; private static final long serialVersionUID = 3039288063578312662L; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public static long getSerialversionuid() { return serialVersionUID; } } @PersistenceCapable(identityType = IdentityType.APPLICATION,detachable=true) @Entity public class Empate extends Resultado implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; private static final long serialVersionUID = 3039288063578312662L; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public static long getSerialversionuid() { return serialVersionUID; } } Thanks and Regards Lisandro -- 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-j...@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.