[appengine-java] Re: Both indexes required (ASC and DESC) for 1-N relationship mapped with a List?

2012-02-03 Thread Miguel
2012 02:04, Bruno Fuster brunofus...@gmail.com wrote: I'm not sure but maybe JDO is trying to query asceding to fetch the children before adding. On Thu, Feb 2, 2012 at 9:36 PM, Miguel doctormig...@gmail.com wrote: Hi, I am working on a simple structure similar to: class Parent

[appengine-java] Both indexes required (ASC and DESC) for 1-N relationship mapped with a List?

2012-02-02 Thread Miguel
Hi, I am working on a simple structure similar to: class Parent { ... ListChild children .. } class Child { .. Parent parent .. } mapped with a 1-N relation in JDO: field persistence-modifier=persistent name=children mapped- by=parent collection dependent-element=true

[appengine-java] Re: Ordered collection

2012-01-18 Thread Miguel
I found the property for the memcache L2!!! ;) For the ordered collection I see the v2 is yet in RC* status, so I prefer to stay on the v1 version .. I noticed if I set a collection datanucleus always complains because the owner set is different from the one it expects: Object

[appengine-java] Re: Ordered collection

2012-01-17 Thread Miguel
Ok, got it: I definitely have to switch to the new plugin .. Just a last thought: in this way I have to retrieve all the children each time I want to order the collection .. Am I right? I hope it is integrated with the second level caching system mechanism .. On Jan 16, 7:20 pm, datanucleus

[appengine-java] Ordered collection

2012-01-16 Thread Miguel
Hi guys, I have a common problem to solve: how to order a One-to-Many Relationships with JDO? I have parent Parent, with several children implemented in this way: ListChildren childrens My .jdo file is: field persistence-modifier=persistent name=childrens mapped- by=parentcollection

[appengine-java] Design principles for a class with a lot of parameters

2011-12-14 Thread Miguel
I am designing the model of an app that needs a lot of values to be stored and I am thinking about which is the best in terms of retrieving-time: - define an array with all of them inside - define a property for each of them My fear is that in the second case I will have a lot of column in the

[appengine-java] Re: Show project: Neytap (classifieds)

2011-11-21 Thread Miguel
Hi, it's very interesting project. I have a question: how do you deal with authentication? Have you tried to integrate the Facebook authentication with Google App Engine? Thank you Michele On Nov 20, 9:52 pm, Thomas Wiradikusuma wiradikus...@gmail.com wrote: Hi guys, Last night I launched my

[appengine-java] Re: Upload files through backend

2011-11-12 Thread Miguel
blobstoreService.createUploadUrl(/upload) Att On Wed, Nov 9, 2011 at 6:34 PM, Miguel doctormig...@gmail.com wrote: Hi everyone, I need to upload big files to the Google App Engine blobstore and I was thinking about a possible solution .. The problem with the normal frontend is the 60

[appengine-java] Upload files through backend

2011-11-09 Thread Miguel
Hi everyone, I need to upload big files to the Google App Engine blobstore and I was thinking about a possible solution .. The problem with the normal frontend is the 60 seconds timeout, but from what I understood about backends the problem there is that I have to pass from a queue and so the

[appengine-java] Re: Wrap the blobstore upload

2011-11-07 Thread Miguel
any news regarding this issue? .. On Oct 26, 2:16 am, Miguel doctormig...@gmail.com wrote: .. with a RESTful web-service. I was wondering if anyone has tried to do something similar .. In fact I am interested in creating a whole RESTful implementation with Google App Engine as backend

[appengine-java] Re: Strange behavior with OpenID

2011-11-07 Thread Miguel
button, the UserService still see the attribute user in the session; so it seems it is logged .. Why am I doing wrong? Thank you Miguel On Nov 1, 8:03 pm, Miguel doctormig...@gmail.com wrote: Yes thank you again Jose, probably there was a misunderstanding in my last post: I was thinking about

[appengine-java] Re: Strange behavior with OpenID

2011-11-01 Thread Miguel
Yes thank you again Jose, probably there was a misunderstanding in my last post: I was thinking about the session in my web-app (Google App Engine) and not in OpenID providers! Thanks Michele On Oct 31, 11:47 am, Jose Montes de Oca jfmontesde...@google.com wrote: Hi Miguel, I do not think you

[appengine-java] Is it suggested to use DatastoreMutationPool

2011-11-01 Thread Miguel
.. in normal writes to datastore? Or it is suggested only in using with mapreduce? http://code.google.com/p/appengine-mapreduce/source/browse/trunk/java/src/com/google/appengine/tools/mapreduce/DatastoreMutationPool.java I was thinking about a persistence layer who writes on memcache and append

[appengine-java] Re: Strange behavior with OpenID

2011-10-27 Thread Miguel
again, Michele On Oct 27, 12:14 pm, Jose Montes de Oca jfmontesde...@google.com wrote: Hi Miguel, This is an expected behavior. The other way around is also true: if your user logout of you application, they will still be login onto their OpenID provider. The OpenID Provider (Identity

[appengine-java] Re: Strange behavior with OpenID

2011-10-26 Thread Miguel
, Miguel doctormig...@gmail.com wrote: I don't understand if it is a bug or I am doing something wrong .. I am using the federated login: when I logout from Google I still remain logged in my web-application. I do the authentication in that way .. Is it wrong? UserService userService

[appengine-java] Wrap the blobstore upload

2011-10-26 Thread Miguel
.. with a RESTful web-service. I was wondering if anyone has tried to do something similar .. In fact I am interested in creating a whole RESTful implementation with Google App Engine as backend and from the API I see this task could be a problem Thank you, Michele -- You received this message

[appengine-java] Strange behavior with OpenID

2011-10-18 Thread Miguel
I don't understand if it is a bug or I am doing something wrong .. I am using the federated login: when I logout from Google I still remain logged in my web-application. I do the authentication in that way .. Is it wrong? UserService userService = UserServiceFactory.getUserService(); User

[appengine-java] Re: Selecting 100 records from 789 taking 2.5 seconds

2011-10-17 Thread Miguel
Just to have an idea if I am on the right way. I use the low-level API to do the query and jdobridge to cast all the entities. I have these performances for a query that retrieves 100 records: datastore_v3.RunQuery takes 45ms (real time) and 195ms (api time) datastore_v3.Next takes 24ms (real

[appengine-java] Re: Session/Cookie problem with redirect

2011-10-06 Thread Miguel
I am really interested in oauth authentication. Can you post pieces of your code to explain how did you do to integrate with the GAE session? Thank you On Aug 29, 6:12 pm, Anders blabl...@gmail.com wrote: I think I have solved it now. The application passed an object from a third party library

[appengine-java] Re: Authentication and session best-practices

2011-10-06 Thread Miguel
another topic: - which is the difference between filter the HTTP request and the auth-constraint in web.xml. I think it is the same. Am I right? On Oct 6, 5:47 pm, Miguel doctormig...@gmail.com wrote: Hi, in the application I am developing I need to authenticate REST api- calls that are used

[appengine-java] Problems with JDO, one-to-many relationship and indexes

2011-10-04 Thread Miguel
Hi, I am stuck with a big problem that involves a one-to-many relationship, the jdo mapping (done via xml-metadata) and the index I have to create to mantain an order .. Here it is the main class: public class Album { [..] protected ListMedia medias = null; [..] } .. then the JDO mapping: field

[appengine-java] Re: ScriptEngine

2011-08-18 Thread Miguel
I solved using bsf-api-3.1.jar and now it works! This is the maven complete definition: groupIdorg.apache.bsf/groupId artifactIdbsf-all/artifactId version3.0-beta3/version On Jun 20, 1:35 am, keyvez key...@gmail.com wrote: I also have to put a jsr223 implementation jar in the WEB-INF/lib folder

[appengine-java] Re: ScriptEngine

2011-08-18 Thread Miguel
I solved using bsf-all-3.0-beta3.jar and now it works! This is the maven complete definition: groupIdorg.apache.bsf/groupId artifactIdbsf-all/artifactId version3.0-beta3/version On Jun 20, 1:35 am, keyvez key...@gmail.com wrote: I also have to put a jsr223 implementation jar in the WEB-INF/lib

[appengine-java] Intermittent Datastore query exception: com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException using task queues on a backend

2011-08-11 Thread Miguel Angel De la Torre Martínez
Hello I been experiencing a load of problems executing queries in a task queue running on a backend. The log goes like this: Uncaught exception from servlet com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call datastore_v3.RunQuery() took too long to respond and was

[appengine-java] Re: How to get the userID? The one could be actually be used with buzz API to get user profile?

2011-07-28 Thread Miguel
I am interested in this topic .. From my side I would like to integrate an existing GAE application with Google Identity Toolkit .. And I want understand how to get this userId: which is the algorithm to get this information from an OpenID account? Thank you Miguel On Jul 25, 8:21 pm, wei yi

[appengine-java] Blob Store Service and GWT

2011-03-13 Thread Miguel Angel De la Torre Martínez
Hello I'm new to the Blobstore so please help. I'm trying to use a really standard GWT RPC like this: public String askForBlobStoreURL() { try { return BlobstoreServiceFactory.getBlobstoreService() .createUploadUrl(/complejidad/u); } catch

[appengine-java] Re: Session object or memcache?

2010-06-13 Thread José Miguel Bataller
. Hope this help, Regards, Jose Miguel Bataller On Jun 11, 4:12 pm, RAVINDER MAAN rsmaan...@gmail.com wrote: I was not aware about loss of session objects.strange!! On Fri, Jun 11, 2010 at 8:39 PM, Rahul rahul.jun...@gmail.com wrote: No doubt if your application is low traffic you

Re: [appengine-java] GAE/J 1.3.4 in http://dl.google.com/eclipse/plugin/3.5

2010-05-21 Thread Miguel Méndez
options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Miguel -- 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

Re: [appengine-java] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken

2010-04-19 Thread Miguel Méndez
On 5 Apr, 15:04, Miguel Méndez mmen...@google.com wrote: Can you file a bug with a project that reproduces the problem? I think that will be the best way to get to bottom of what is going on. -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: [appengine-java] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken

2010-04-05 Thread Miguel Méndez
...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Miguel -- 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

[appengine-java] Re: Blobstore UploadBlobServlet.java NPE

2010-03-29 Thread Miguel
I have the same problem. It does not matter the url to the servlet i use to work with de keys of the blobs, i always have the same NPC. Any help about what we are doing wrong ? Thanks On 11 feb, 21:21, Stevko andy.ste...@gmail.com wrote: I'm trying to post files into theblobstoreon my dev

Re: [appengine-java] How to Install Google App Plugin for Eclipse Galileo

2010-02-24 Thread Miguel Méndez
-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. -- Miguel

Re: [appengine-java] update to sdk1.3.1

2010-02-19 Thread Miguel Méndez
at http://groups.google.com/group/google-appengine-java?hl=en. -- Miguel -- 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

Re: [appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-17 Thread Miguel Méndez
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. -- Miguel -- You received this message because you

Re: [appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-09 Thread Miguel Méndez
-java?hl=en. -- Miguel -- 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

Re: [appengine-java] Re: ByPassing Google App Engine SDK to allow black listed classes

2010-01-22 Thread Miguel Méndez
would still need to deploy my web application into another web container such as tomcat, while it makes the development of the web application very complex. I hope anyone from google could pin-point a way to do this. On Jan 22, 1:24 pm, ivanceras ivance...@gmail.com wrote: Hello Miguel

Re: [appengine-java] ByPassing Google App Engine SDK to allow black listed classes

2010-01-21 Thread Miguel Méndez
options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Miguel -- 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...@google

Re: [appengine-java] Way to enforce Appengine Whitelist in Eclipse?

2009-12-28 Thread Miguel Méndez
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. -- Miguel -- You received this message because you are subscribed to the Google Groups

Re: [appengine-java] Re: eclipse plugin and maven?

2009-12-18 Thread Miguel Méndez
.. (which is awful, i know..) I haven't tried this configuration yet, but it seems to me, that this should work. I will try to come up with an example project, where this is done. On Dec 15, 8:16 pm, Miguel Méndez mmen...@google.com wrote: Here are somethings, that I'm aware of, that make it hard

Re: [appengine-java] Re: eclipse plugin and maven?

2009-12-15 Thread Miguel Méndez
...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Miguel -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] Re: Eclipse GWT update error

2009-09-15 Thread Miguel Méndez
to add a GWT SDK you need to navigate to *Window Preferences*, or *Eclipse Preferences* if you are on Mac OS X. Open the * Google* entry in the left pane and select *Web Toolkit.* On Tue, Sep 15, 2009 at 10:57 AM, AndrewG andrew.g...@rcrt.co.uk wrote: Miguel, I have now tried this - but not had

[appengine-java] Re: Eclipse GWT update error

2009-09-15 Thread Miguel Méndez
Let us know when you have something. On Tue, Sep 15, 2009 at 12:43 PM, AndrewG andrew.g...@rcrt.co.uk wrote: Miguel, I have sorted that last problem out - when I switched versions some 'phantom' jar references appeared in the build path - which I have removed. There is something else

[appengine-java] Re: Appengine Jetty Stuck at checking for update

2009-09-08 Thread Miguel Méndez
and no direct access to internet it takes a long time to start the jetty server. This is probably because of the default update check that appengine dev app server is doing at startup. How can I disable this from eclipse ??? -- Abhinav -- Miguel

[appengine-java] Re: problem in updating to 1.2.5 in eclipse

2009-09-04 Thread Miguel Méndez
www.sakshum.blogspot.com -- Miguel --~--~-~--~~~---~--~~ 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