Java MVC Web开发框架?
我想用java开发一个网站,但我在java web开发方面是绝对的初学者。
我想使用一个使用 MVC 模式和 Ajax 的框架。
我做了一些搜索,发现 Spring 或 Struts 合适,但我不确定。
您能推荐一个框架吗?
I want to develop a website with java but I'm absolute beginner in java web development.
I want to use a framework that uses the MVC pattern and Ajax.
I did some search and found that Spring or Struts are suitable but I'm not sure.
could you please recommend a framework?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
Play Framework 可能是一个不错的选择,因为它非常简单。
Play Framework might be a good option because of its incredible simplicity.
我推荐 Spring:
逐步开发 Spring Framework MVC 应用程序-步骤
I'd recommend Spring:
Developing a Spring Framework MVC application step-by-step
Stripes 框架也值得考虑,可以与 Spring 一起使用。
http://www.stripesframework.org
它易于使用且易于配置。与 Struts 不同,Struts 现在已经相当古老了。
现在有太多的框架,值得检查每个框架是否适合您的需求。这是个人的事情,而且我们不只局限于少数人,这很好。
The Stripes Framework is also worth consideration and can be used along with Spring.
http://www.stripesframework.org
It's easy to use and easy to configure. Unlike Struts, which is fairly old hat these days.
There are a plethora of frameworks now and it's worth checking each one that will suit your needs. It's a personal thing and it's good that we're not all restricted to a few.
JRapid 非常易于使用。您将在几分钟内获得一个可以运行的应用程序,它会生成 AJAX 支持的用户界面。
JRapid is very easy to use. You'll get a working application in minutes and it generates AJAX powered user interface.
我使用 Spring Webflow - 基于 Spring MVC 的技术。 Webflow在官方帮助中描述得非常好。个人认为 Webflow 比纯粹的 Spring MVC 好用得多,但总有人不同意。
而且Spring(不是专门谈论MVC)可以在Web项目之外使用,所以在我看来这是Spring的优势。
不能说任何关于Struts 的事情。
I work with Spring Webflow - technology based on Spring MVC. Webflow is described in official help pretty well. Personally, it think Webflow is much more usable than bare Spring MVC, however there are always someone who disagrees.
Moreover Spring (not talking about MVC specifically) can be used outside of web projects, so it seems to me it is advantage of Spring.
Cannot say anything about Struts.
我建议使用 GRAILS 进行快速 Web 应用程序开发,其中包括脚手架功能和基于数据模型的网页生成。
https://grails.org/learn
这是 MVC 开发人员最快的方法。
I would recommend GRAILS for fast rapid web application development, that includes scaffolding functionality and web page generation based on data models.
https://grails.org/learn
It is the fastest way for MVC developers.