论坛首页 Java企业应用论坛

google appengine for java初体验

浏览 55566 次
该帖已经被评为良好帖
作者 正文
   发表时间:2009-04-12  
seemoon 写道
satanest 写道
使用build path引入的包,运行时都说找不到,难道要都放在lib下面吗


你用什么ide,用eclipse的话装了插件不用额外配置。

 

不适用额外的包就没问题,但是你试一下加上spring,或者其它jar,运行测试是它就会出现ClassNotFoundException

0 请登录后投票
   发表时间:2009-04-12  
laochake 写道
guoxu1231 写道
http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine

SSH三条腿少了一条腿....

Servlets
Support for version 2.4, including HTTPS.

Java Server Pages (JSP)
Mostly full support, including JSTL.

Java Persistence API (JPA)

Spring
You can use Spring on App Engine, for an example, take a look at the autoshoppe demo.

Hibernate
You cannot currently use Hibernate directly. The differences between the App Engine datastore and SQL were too great to get the standard Hibernate up and running under App Engine. However, App Engine does support JPA, so you may be able to convert your Hibernate code to use JPA.

Struts
Not supported.

spring的MVC用起来也很舒服的


看有没有人可以提供个spring mvc的例子啊,用在gae上的,
我弄了好久都不能成功运行
0 请登录后投票
   发表时间:2009-04-13  
呵呵,我得也ok了

http://guying1028.appspot.com/
0 请登录后投票
   发表时间:2009-04-13  
guying1028 写道
呵呵,我得也ok了

http://guying1028.appspot.com/

Error: Not Found
The requested URL /%E7%AB%99%E7%82%B9/Blog/Blog.html was not found on this server.


话说我申请的SMS很快就到了``比移动自己发的还要快```

不过`应用只能用ECLIPSE的插件上传吗??```


插件下的好慢啊``
0 请登录后投票
   发表时间:2009-04-14  
GAE支持的frameworks和libraries
http://spreadsheets.google.com/pub?key=pRJ_0hajVrhacLjp3HqD5ew
0 请登录后投票
   发表时间:2009-04-14  
Sign up to try Google App Engine for Java.
Thanks for signing up. Once your account is activated, you will receive an email with more information.

我等了三天了 还没给我开通  看来我是没希望上传java应用了 哭。。。
0 请登录后投票
   发表时间:2009-04-15  
pior 写道
guying1028 写道
呵呵,我得也ok了

http://guying1028.appspot.com/

Error: Not Found
The requested URL /%E7%AB%99%E7%82%B9/Blog/Blog.html was not found on this server.


话说我申请的SMS很快就到了``比移动自己发的还要快```

不过`应用只能用ECLIPSE的插件上传吗??```


插件下的好慢啊``


现在可以了
0 请登录后投票
   发表时间:2009-04-15  
这里有解决中文乱码的办法:http://www.jxva.com/blog/personal-diary/change-the-google-app-engine's-javac-compiler-encoding.html
0 请登录后投票
   发表时间:2009-04-16  
jxva 写道
这里有解决中文乱码的办法:http://www.jxva.com/blog/personal-diary/change-the-google-app-engine's-javac-compiler-encoding.html

http://mee-moo.appspot.com/downloads/appengine-tools-api.jar这里可以下载编译好的jar包了,
覆盖eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.0.v200904062334\appengine-java-sdk-1.2.0\lib下的源文件,重启eclipse就可以了
0 请登录后投票
   发表时间:2009-04-17  
有什么办法可以看Log么?
在管理页面里的Logs根本什么都没有啊!
我上传了一个应用,估计是有不支持的东西,就给一个:

Error: Server Error
The server encountered an error and could not complete your request.

If the problem persists, please report your problem and mention this error message and the query that caused it.

根本无法判断是哪的问题!
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics