Java MVC Web development framework?

2020-06-19 06:17发布

问题:

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?

回答1:

I'd recommend Spring:

Developing a Spring Framework MVC application step-by-step



回答2:

Play Framework might be a good option because of its incredible simplicity.



回答3:

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.



回答4:

JRapid is very easy to use. You'll get a working application in minutes and it generates AJAX powered user interface.



回答5:

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.



回答6:

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.