A simple try for Google App Engine for Java
I saw Google release a early access for App Engine for java language and take try(It also support Python as well). I am fetching RSS feed from different blogs and show it locally on system. It works great! You can take a look on my trial page
Nowaday, Google only provide development plugin for Eclipse. I still prefer to code in NetBeans. So I use Netbeans to coding and it work:
- Create a web project and choose any container during creation
- Manually put Google's lib into project I need call it's service.
- Manually create 'appengine-web.xml' file under directory 'WEB-INF' and remain 'sun-web.xml' as while.
- Clean and build it in NetBeans(Please don't run it in NetBeans as Google app engine use a different container)
- Run app engine in console 'dev_appserver.sh <project base>build/web' and access it in your browser by http://localhost:8080/
- Upload it to your application by 'appcfg.sh update <project base>/build/web' after you already apply an application id on google(Please apply one from Google if you haven't)
- Access your online application by http://<Application ID>.appspot.com/.
The only pity is I don't find a easy way to debug it directly in Netbeans.
Google give a quota for free trial. It is enough for me nowaday. I am just worry about upcoming quota change and not sure it can match user needs for free.
hmm.
Posted by Nitin on April 13, 2009 at 11:56 PM PDT #
can you provide full detail step by step article to create java apps in appengine?
Posted by Nitin on April 14, 2009 at 12:32 AM PDT #
this is a great post ... but not working for me ... just need a little bit more detail ... if you have a couple of minutes, a little bit more on this would be VERY helpful. Thanks
Posted by 65.123.160.130 on April 14, 2009 at 09:40 AM PDT #
What's type of issue did you meet? This is only work for JSP and Servlet part. I am still look for a way to support JDO/JPA part. Maybe we have to create free-form project in netbeans as a workaround.
Posted by Jian-Guo Leon Fan on April 15, 2009 at 01:34 AM PDT #