What is the difference between Tomcat, JBoss and G

2020-01-27 08:28发布

I am starting to look into Enterprise Java and the book I am following mentions that it will use JBoss. Netbeans ships with Glassfish. I have used Tomcat in the past.

What are the differences between these three programs?

8条回答
够拽才男人
2楼-- · 2020-01-27 09:27

It seems a bit discouraging to use Tomcat when you read these answers. However what most fail to mention is that you can get to identical or almost identical use cases with tomcat but that requires you to add the libraries needed (through Maven or whatever include system you use).

I have been running tomcat with JPA, EJBs with very small configuration efforts.

查看更多
甜甜的少女心
3楼-- · 2020-01-27 09:32

jboss and glassfish include a servlet container(like tomcat), however the two application servers (jboss and glassfish) also provide a bean container (and a few other things aswell I imagine)

查看更多
登录 后发表回答