简体   繁体   English

Tomcat上的Web应用程序

[英]web application on Tomcat

I am planning to build a web application using eclipse and tomcat and this application would contain below features. 我打算使用eclipse和tomcat构建一个Web应用程序,这个应用程序将包含以下功能。 1. New user sign up/Existing user sign in(Session management) 2. User would be able to save some data using forms(Database connection) Could you please let me know how good tomcat is for such application or I should use jboss? 1.新用户注册/现有用户登录(会话管理)2。用户可以使用表单保存一些数据(数据库连接)你能否让我知道tomcat对于这样的应用有多好,或者我应该使用jboss? Thanks in advance. 提前致谢。

For your needs, Tomcat and JBoss are similar enough that it doesn't matter which one you go with. 根据您的需求,Tomcat和JBoss足够相似,无论您选择哪一个都无关紧要。 Just select the one with the clearest documentation/tutorials in your eyes. 只需选择您眼中最清晰的文档/教程即可。

Tomcat is light weight server than Jboss and easy to learn. Tomcat是比Jboss轻便的服务器,易于学习。
It also depends on which framework you will be using . 它还取决于您将使用的框架。 For only servlet container , tomcat is best . 对于只有servlet容器,tomcat是最好的。

JBoss is bundled with the fork version of Tomcat. JBoss与Tomcat的fork版本捆绑在一起。 So JBoss inherently contains Tomcat. 所以JBoss固有地包含Tomcat。 And coming to lightweight, Tomcat is light weight and JBoss can be configured to work as lightweight container. 而对于轻量级,Tomcat重量轻,JBoss可以配置为轻量级容器。

You should select based on your application requirements. 您应该根据您的应用要求进行选择。 If you dont need any Application server features you can go with Tomcat. 如果您不需要任何应用程序服务器功能,可以使用Tomcat。

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

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