简体   繁体   中英

which is best web server for java spring hibernate website

I have vps and i want to test the website using java spring hibernate mysql.

which is the best web server to install on linux server

You don't need a web server to test - Tomcat and Jetty both have HTTP servers built in that are perfectly adequate. You don't need IIS or Apache web servers, but you do need a servlet/JSP engine and JVM installed.

You don't say if your MySQL database is installed on a server that's separate from the servlet/JSP engine. I would recommend that you arrange things that way.

Spring tc server is a good option. It's based on tomcat.

I would say that Appache Tomcat, its lightweight and good for testing. If you would need to deploy EARs or need more J2EE functionality I would suggest Glassfish.

The beauty of Java is that your application can be relatively context-agnostic, so you should be able to use any generic server and have no problem later installing on a different one. As mentioned elsewhere, Tomcat is a very popular one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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