문제

According to https://stackoverflow.com/a/5039371/769384, which clearly states the difference between servlet containers and app servers, it seems that a web container such as Tomcat should not be widely used in enterprise applications.

Lots of libraries would have to be installed additionally, so it's a lot easier to install an app server that provides it.

The question is - do I get it right? Are there any enterprise applications run on tomcat? What would be the benefit of deploying a Java EE (EJB+JPA+JSF+...) on a Tomcat instead of a GlassFish server?

도움이 되었습니까?

해결책

Servlet containers which can be also called web containers don't support EJBs', they only support Servlets and JSPs' along with other related technologies.

If you need to deploy and EJB, you'll then need an application server.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top