Re: [appengine-java] Signing into multiple Apps Simultaneously
Hi! 2010/6/22 terran terran.le...@gmail.com: Hey fellas, I've created multiple applications for basic functions, blog/forums/ chat that I want to share across 3 or 4 domain specific applications. Is there a way that I can have a user sign into one application and also automatically sign them into the other applications? So that way if they're using a chat webservice I've exposed on one of the sites, it's using their User credentials without asking for a separate login. Hmm, maybe this may be problematic, because the apps may act as one which is not allowed by the terms of service. -- Mit freundlichen Grüßen, // Bye, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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] one project access classes in another project in same account
Hi! 2010/5/4 bhomass bhom...@gmail.com: using tomcat, I have been able to have one central web app access classes from surrounding web apps by simply using URLClassLoader based on the file path of the class folder. is there a way to do the same once I deploy to GAE? I don't think that this is allowed, as different GAE apps are not allowed to act as one app and this is really going into that direction. So I think it's technically possible, but not allowed. -- Mit freundlichen Grüßen, // Bye, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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: Classloader that uses datastore as backend?
Hi! It looks like this mail didn't got through, please ignore this repost if the original has already reached you. Am 25. April 2010 15:08 schrieb Patrick Cornelißen corne...@pcornelissen.de : Hi! I have just subscribed to this list, so please be gentle. ;-) I am trying to build a portal server like app engine application (inspired by JSR168/286) as an open source project. In the last few weeks, I was playing around a lot with different aspects like request dispatching to allow modular output generation in the modules and a few other areas related to the task... These modules should be as protected from one another as possible and it would be very neat if you could reload/update modules without redeploying the portal. While I was reading the documentation about JCL, I got the idea that it may be possible to load classes/resources/jar-files from the datastore and provide a simple classloader interface to be as compatible with other libraries as possible. Do you think that this would work? I don't want to run 2 weeks in the wrong direction and I was hoping that someone here has some insight. Another advantage that I see is that this would circumvent the 10MB limit for the deployed war file, which may become a problem when you're trying to build a big/complicated portal with lots of modules. BTW: If someone is interested to participate, feel free to contact me. The project is still in a very early stage, so you have the chance to influence the project in more or less all areas. Thanks in advance! -- Bye, Patrick Cornelissen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- Mit freundlichen Grüßen, // Bye, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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] online exam
Hi! 2010/5/3 k.jansi rani k.jansirani@gmail.com hi can any one tell me how to develop online exam and online quiz in google app engine using javabean, jsp, servlet. thank you, There are a few example projects out there. One is a guestbook. You can use this as a start. The most techniques should be already in the example, so you can directly play around with it. -- Mit freundlichen Grüßen, // Bye, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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] setting mail sender address to Google apps address
Hi! 2010/5/3 Joe Fawzy joewic...@gmail.com: Hi all i deployed my application on appengine, set my domain name to point to it through google apps as described and now google apps also manage my email addresses such as i...@my-domain.com so, is it possible to use this address to send emails using the mail api currently i got illegalArgumentException , unAuthorized sender , so is it possible to add google apps managed email addresses as an authorized snders There are hints regarding that in the documentation for the appengine. You can only send from an administrators address or from the address of the currently logged in user, when he is logged in with his google account. http://code.google.com/intl/de-DE/appengine/docs/python/mail/sendingmail.html Quote: The sender address can be either the email address of a registered administrator for the application, or the email address of the current signed-in user (the user making the request that is sending the message). This also applies for the Java api. -- Mit freundlichen Grüßen, // Bye, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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: Writing to a local file in development environment
Hi! 2010/4/28 Jaroslav Záruba jaroslav.zar...@gmail.com But when you asked... :) When debugging I'm linking the sources individually, one script/ element per JS-file. Then I want to be able to join them into single (static) JS-file which is how the code is served usually. Since when I realized I can not create the static resource within my app* this particular issue has turned into 'playing with Java on GAE'. Keeping the 'big JS' in memory and sending it via servlet does make much sense to me. I will create the static file using Apache and only this JS-compilation will be deployed to GAE-server. Hmm, you could merge the JS files in memory and serve it as stream via servlet and when you want to cache it use memcache. There are many classes which let you concatenate them in memory. Simple ones like Stringbuffer, BufferedOutputStreams for direct streams etc. Have you tried that? -- Mit freundlichen Grüßen, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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] Writing to a local file in development environment
Hi! 2010/4/27 Jaroslav Záruba jaroslav.zar...@gmail.com Due debugging purposes, and only in development environment, I need to manipulate with a text-file. Obviously I ran into following message... access denied (java.io.FilePermission F:\workspace\AppEngine1\war\js\main.js delete) I thought adding the permission to java.policy would cure this, so I modified all three I have on my system*, adding following line to the 'default' grant-block permission java.io.FilePermission F:\\workspace\\AppEngine1\\war\\js\\*, read,write,delete; (I hope the syntax is OK.) But that did not help. :( You could also start a dedicated tomcat with a simple servlet that just receives a http get or post and writes the file for you. Your logging would call this URL instead of writing into the file. As long as it's not pure binary stuff, this should work. If it's binary, you could base64 it for the transport. Sorry for CC'ing you, but I think I am still blocked from posting to this list because I have not been cleared by the list owner yet :-( -- Bye, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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] AJAX on Google App Engine using JAVA
Hi! 2010/4/27 Thato Selebogo mahla...@gmail.com Has anyone used AJAX to enable client RPC requests using JAVA. On the Google App Engine website Paul Peavyhouse does exactly the same thing but he is using Python. Does anyone know how to do the same thing but using JAVA? Maybe I am not understanding you right, but AJAX requests in a java app are more or less just http calls with a decoding step afterwards, depending on your requested content type. Have you checked: http://firestormws.sourceforge.net/ or other libraries that offer for example client side rest support for java? -- Bye, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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: Writing to a local file in development environment
Hi! 2010/4/27 Jaroslav Záruba jaroslav.zar...@gmail.com On Apr 27, 7:39 pm, Patrick Cornelißen corne...@pcornelissen.de wrote: You could also start a dedicated tomcat yes, the workaround here is easy... but so far i'm looking for a solution, also i must!!!11 know why this is not working, i guess you know that feeling :P Hmm, but what would you write to the file that you wouldn't be able to just dump out using the regular logging facility? -- Mit freundlichen Grüßen, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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] Classloader that uses datastore as backend?
Hi! I have just subscribed to this list, so please be gentle. ;-) I am trying to build a portal server like app engine application (inspired by JSR168/286) as an open source project. In the last few weeks, I was playing around a lot with different aspects like request dispatching to allow modular output generation in the modules and a few other areas related to the task... These modules should be as protected from one another as possible and it would be very neat if you could reload/update modules without redeploying the portal. While I was reading the documentation about JCL, I got the idea that it may be possible to load classes/resources/jar-files from the datastore and provide a simple classloader interface to be as compatible with other libraries as possible. Do you think that this would work? I don't want to run 2 weeks in the wrong direction and I was hoping that someone here has some insight. Another advantage that I see is that this would circumvent the 10MB limit for the deployed war file, which may become a problem when you're trying to build a big/complicated portal with lots of modules. BTW: If someone is interested to participate, feel free to contact me. The project is still in a very early stage, so you have the chance to influence the project in more or less all areas. Thanks in advance! -- Bye, Patrick Cornelissen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- 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.