Re: [appengine-java] Re: custom vs. generated keys / storage?

2010-01-10 Thread Jeff Schnitzer
Please watch this in its entirety: http://www.youtube.com/watch?v=tx5gdoNpcZM The java Key class, the python Key class, the concept of MyEntity id #123, and the string aghtb2JjYS1zdHIOCxIHQ2hlY2tpbhjiQww are all various representations of some bit of binary data stored in the database. Just

[appengine-java] Re: jsp work directory

2010-01-10 Thread powell...@gmail.com
I am having the question with trying to find the work directory. I am running eclipse on a windows (vista) machine. I explored reference provided by sleeronm without any luck on my machine. Any suggestions? On Jan 10, 1:34 am, seleronm seler...@gmail.com wrote: Hi, The following links might

[appengine-java] Re: Where is jsp translation to servlet code stored

2010-01-10 Thread powell...@gmail.com
I am running on a Windows machine (Vista). I have not had success finding the translated code. Any ideas? Dave On Jan 9, 6:22 am, Qian Qiao qian.q...@gmail.com wrote: On Sat, Jan 9, 2010 at 19:15, powell...@gmail.com powell...@gmail.com wrote: When I upload a jsp to appengine with Ecllipse,

Re: [appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-10 Thread Prashant Gupta
I googled some keywords picked up from your reply and found some useful stuff and I think it will workout for me. Thanks a lot... 2010/1/10 Elias Mårtenson loke...@gmail.com On 9 Jan, 16:53, Prashant Gupta nextprash...@gmail.com wrote: I tried following code, getting null all the time.

Re: [appengine-java] Re: jsp work directory

2010-01-10 Thread seleronm
Hi, When it searches c:/Users/[username]/AppData/Local/Temp/ It might be found. Please try variously. thanks. I am having the question with trying to find the work directory. I am running eclipse on a windows (vista) machine. I explored reference provided by sleeronm without any luck on my

[appengine-java] Re: How to speed up JSP compile time?

2010-01-10 Thread Simon Vogensen
Hi When I start my project with appengine alone (without gwt devmode) it compiles fast - so this may be a problem with AppEngineLauncher? Here's my target starting appengine target name=server description=Run the AppEngine development server echo message=PLEASE BROWSE TO:

[appengine-java] org.datanucleus.exceptions.NucleusUserException: Object of type xxx and identity yyy was not detached correctly.

2010-01-10 Thread Prashant Gupta
Hi, I am getting this exception while trying to detach an entity of type xxx having a list of PersistentCapable entity of type zzz as its child. In short, I am getting this exception while detaching parent entity of a one to many owned relationship. Please help me to find out what to do to make

[appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-10 Thread Jorge
It's been some discussion about this topic. You may want to seek posts with words keep warm or cold start, for instance. See also the Tragedy of the Commons, and Cold Starts post in the Google Aps Forum

[appengine-java] AccessControlException Consequnces of not using Google App Engine

2010-01-10 Thread Vishal Shukla
Hello, I am not having any knowledge about google app engine. I am working on one enterprise application, in which I am using GWT, Struts2, Hibernate. Now I am integrating EJB session beans in business layer. I need to call session beans from GWT servlet. When I do JNDI lookup, I am getting

[appengine-java] My eclipse does not suspend at exception.

2010-01-10 Thread Hoon Hwangbo
My eclipse does not suspend at exception. Is this normal? Do you know about this case? I made a small test project and it runs well but it doesn't suspend at any exception. Eclipse console window and browser prints stack trace and error messages, but eclipse does not stop for debugging session.

[appengine-java] ResourceBundle - Default language without using ResourceBundle.Control

2010-01-10 Thread K
Hi all, I am trying to make en_US as the default locale, and when user requests a language that is not supported, ResourceBundle will default back to en_US. After some Googling, I found the following tutorial from Sun that covers my need:

[appengine-java] ImaHima looking for freelance Google App Engine/Java developer for Colabolo

2010-01-10 Thread Neeraj Jhanji
Hello, ImaHima is looking for senior Java developer(s) to help with the ongoing development of Colabolo. Colabolo is a light-weight issue- tracking service developed by ImaHima, a company based in Tokyo. You can see a quick video demo here: http://www.colabolo.com/en/product/index.html#video

[appengine-java] Re: how to get session id under a Class which doesn't extend HttpServlet?

2010-01-10 Thread A1programmer
You probably want to architect the classes in such a way that they are not tightly coupled to the http servlet session. Anyway, when you were working with ThreadLocal earlier, did you first set the ServletRequest from the filter? class UserService { private UserDAO userDAO; public

[appengine-java] GAE + GWT + ECLIPSE (GAE Arguments)

2010-01-10 Thread Sebastian Quiles
Hi... i want to use GAE + GWT but I need to set the --adress argument for GAE I've started on a working GAE project with the --address argument setted in the run configuration in the ecplise and in the arguments tabs in program arguments the --address argument... That's worked fine... now i ve

[appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-10 Thread mably
You might be interested in this issue : http://code.google.com/p/googleappengine/issues/detail?id=2456 On 10 jan, 14:34, Jorge athenas...@gmail.com wrote: It's been some discussion about this topic. You may want to seek posts with words keep warm or cold start, for instance. See also the

[appengine-java] Beginner question: one to many relationship

2010-01-10 Thread fhucho
Hi, sorry for beginner question. I have authors and books in the database. Every author has list of books in a one to many owned relationship. I know the author's name, how can I retrieve the author and his books from database? I know how to get the author but not his books (Author.books). -- You

[appengine-java] Re: How to speed up JSP compile time?

2010-01-10 Thread Steph
I now precompile my JSPs before deploying to production and they execute pretty fast there. But I still have the same problem with my local dev environment: takes about 3mns to compile any simple page, which do not even access the datastore. I've been meaning to profile all this but have not had

[appengine-java] Re: TaskQueue 10s limit? really?

2010-01-10 Thread jd
Tasks can use 30 seconds before a DeadlineExceededExecption is thrown. What you are seeing is a task being fired while your application is loading. If your app takes more than 10 seconds to load you can get these. The only solution is to improve the startup time of your app which can be a very