Java – which J2EE Web development framework to choose for easy-to-use applications?

I want to write a simple web application on J2EE, which has the following characteristics:

>I don't need any Ajax, it can even disable JavaScript on the browser. > This is a simple crud Application > I need complete control over the layout of each element on the page - don't sacrifice the look and feel of the GUI. > I can use normal old JDBC for data access - no o / R mapper is required > bookmarks on the page are necessary (as long as there are bookmarks). > Many of my users like tabbed browsing very much

The framework I want is:

>Give me a good abstraction to retrieve get and post parameters > give me a good tool to display authentication errors and other errors to users > provide a set of standard security functions - prevent cross site scripting and prevent users from setting the drop-down input to a value that does not exist in the drop-down list. Et.al > provide high performance for more than 200 concurrent users on less powerful servers, Scalability (no cluster – single node, shared application server with multiple production applications) > stable; Because I want this application to run for at least 3 – 4 years without major refactoring

I looked at several frames, and that's how I feel

>Ordinary servlets / JSPS – I need to write all the code myself – this takes time and may have many errors > struts (1. X) – does not provide much advantage over ordinary servlet methods; Although it does map post and get parameters to form beans, the other features I'm looking for don't exist; I need to spend a lot of time writing my own code > JSF - I'm afraid of it because of the performance problems I've read View construction and maintenance seem to take up too much memory In addition, JSF is not applicable to bookmarks and tabbed browsers. > Tapestry – I saw tapestry 5 Although it looks good, it also seems incompatible with tabbed browsing and bookmarking Although "activation context" is certainly supported, it is only a string It cannot restore state using get parameters and hidden form fields (not yet) In addition, there seems to be concern about the longevity of the framework - it seems to evolve without backward compatibility. > Apache turbine – looks good at first; But in fact, it's very old and doesn't have much activity to scare me

Any suggestions that will do me any good? thank you!

PS: I have to use products licensed under the Apache license (preferably V2) or BSD license

Solution

Spring MVC is another option to consider

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>