简体   繁体   English

Tomcat上的简单Java Web应用程序

[英]Simple Java web application on Tomcat

If we only need to graphically authorize a user, 如果我们只需要图形化授权用户,

view a few tables representation (from database), 查看一些表的表示形式(来自数据库),

ability to change data in the database visually 可视地更改数据库中数据的能力

what tools to use to write such a web application that will run on Tomcat? 使用什么工具来编写将在Tomcat上运行的Web应用程序?

What framework allows to do that in the most straightforward, easy-to-manage and elegant way? 什么样的框架允许以最直接,易于管理和优雅的方式做到这一点?

I would look at Spring Roo as the framework for building your app. 我会将Spring Roo视为构建您的应用程序的框架。 It will allow you quick construction of most of the features you are looking for in several minutes. 它可以让您在几分钟内快速构建所需的大多数功能。 (or so they claim) (或因此他们声称)

There are so many elegant web frameworks available to choose from... 有这么多优雅的Web框架可供选择...

A JSF solution is a one suggested by the Java EE standard - if you select JSF you'll have to be more verbose in the code, but you'll have the assistance of tools such as the Visual JSF designer in NetBeans. JSF解决方案是Java EE标准建议的解决方案-如果选择JSF,则代码中必须更加详细,但是需要诸如NetBeans中的Visual JSF设计器之类的工具的帮助。 Using JSF2 is a much better idea, IMO. IMO,使用JSF2是一个更好的主意。

I personally recommend you to have a look at Wicket - it's a great Java web framework, centered around ideas such as ellegance, simplicity and usability. 我个人建议你看看检票 -这是一个伟大的Java Web框架,围绕思想如ellegance,简单性和易用性为中心。

There are many more great frameworks out there, but this is a start. 还有更多很棒的框架,但这是一个开始。

You can also try Grails. 您也可以尝试Grails。 It's Java + Groovy scripting + Spring Framework + GORM + Spring Security. 它是Java + Groovy脚本+ Spring框架+ GORM + Spring Security。 Less boiler plate. 锅炉板少。

Tools: Spring Source Tool Suite (Eclipse based IDE). 工具:Spring Source Tool Suite(基于Eclipse的IDE)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM