[英]What Java framework would you use with Google App Engine?
It's been a while since I've done any website with with Java, and am wondering what framework options are out there for Google App Engine. 自从我使用Java完成任何网站以来已经有一段时间了,我想知道Google App Engine的框架选项是什么。
What framework would you suggest for someone who has no real preference? 对于没有真正偏好的人,你会建议什么框架?
I like Ruby On Rails, and am getting into Django, and like that as well. 我喜欢Ruby On Rails,并且正在进入Django,并且也喜欢它。 Professionally I'm a ASP.NET developer so I have the most experience with that, but I'm looking to expand into other technologies, and patterns. 从专业角度来说,我是一名ASP.NET开发人员,所以我对此有最丰富的经验,但我希望扩展到其他技术和模式。
It would be nice to have more experience with MVC. 拥有更多MVC经验会很高兴。
thanks, Mark 谢谢,马克
The Spring Framework works, although you have to make sure commons-logging isn't called commons-logging-1.1.1.jar (as I had it in maven conventions, Google provides a jar with this same name and there are classloading issues as a result). Spring框架可以工作,虽然你必须确保commons-logging不叫commons-logging-1.1.1.jar(正如我在maven约定中所做的那样,Google提供了一个具有相同名称的jar,并且有类加载问题,如结果)。 So, Spring WebMVC is confirmed to work - which raises the possibility that its sister project Spring Webflow will work - though I can't say I really like where Webflow 2 completely diverged from Webflow 1. 因此,Spring WebMVC被确认可以工作 - 这提高了其姐妹项目Spring Webflow可行的可能性 - 尽管我不能说我真的喜欢Webflow 2完全偏离Webflow 1的地方。
Also, I have yet to find a framework that really encompasses the notion of "saving and continuing" well - users often like to do that, and Webflow 2 really tries to make programming that as difficult as possible if you use its persistence context inside the flows themselves. 此外,我还没有找到一个真正包含“保存和继续”概念的框架 - 用户经常喜欢这样做,而Webflow 2确实试图使编程尽可能地困难,如果你在其中使用它的持久化上下文自己流动。
I've had variable experiences with Vaadin on GAE. 我在GAE上与Vaadin有过不同的经历。 Some applications are almost as fast as with localhost, but sometimes the latency is freakish. 有些应用程序几乎和localhost一样快,但有时候延迟很奇怪。 Probably depends on which server geographically your application gets deployed on. 可能取决于您的应用程序在地理上部署在哪个服务器上。
试试ItsNat, 更多信息 。
Don't use it for a simple single reason - vendor lock in. 不要将它用于一个简单的原因 - 供应商锁定。
If you don't care about losing your effort and time invested and perhaps want a platform just to play with then I suppose it's OK but for anything serious stay away. 如果你不关心失去你的努力和投入的时间,也许想要一个平台只是为了玩,那么我认为这是可以的,但任何严重的事情都可以避开。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.