tag:blogger.com,1999:blog-694855878384792308.post4778276936139877579..comments2024-03-21T06:26:49.387-07:00Comments on Java67: 3 Difference between Web Server vs Application Server vs Servlet Containers - Apache vs JBoss vs Tomcatjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-694855878384792308.post-801645829158912652019-10-14T18:05:10.064-07:002019-10-14T18:05:10.064-07:00From this article what i understood is :
Web Serv...From this article what i understood is :<br /><br />Web Server - Serving Static Content like HTML,CSS. e.g. Apache & IIS<br />Application Server - Serving dynamic content like JavaEE application e.g. IBM Websphere, JBOSS<br />Servlet Container - To serve simple dynamic content like JSP/Servlet e.g. Tomcat,Jettyadminhttps://www.blogger.com/profile/09178825724585488959noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-57503652474121877012018-09-29T21:56:50.568-07:002018-09-29T21:56:50.568-07:00True apart from serving EJB I don't understand...True apart from serving EJB I don't understand why we need Application ServerAnonymoushttps://www.blogger.com/profile/18093933128515845854noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-14895441645881418132017-01-24T08:28:06.524-08:002017-01-24T08:28:06.524-08:00Thanks for the great article. However, it is still...Thanks for the great article. However, it is still not clear to me what is the difference between an app server and a web container. it seems like they are the same, only app server serves EJB. Mohammad Joudeh Musical bloghttps://www.blogger.com/profile/03130955623454574145noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-60170403815329320642016-12-04T07:34:56.686-08:002016-12-04T07:34:56.686-08:00No. Spring is used for developing applications and...No. Spring is used for developing applications and for deploying it, we can use either web/appn server whichever is suitable. <br />I prefer using apache tomcat in most of the cases.Anonymoushttps://www.blogger.com/profile/10885006207221225902noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-75856579357551188722016-12-04T06:13:38.492-08:002016-12-04T06:13:38.492-08:00You can use Tomcat also if you are using Spring fo...You can use Tomcat also if you are using Spring for web application.Anonymoushttps://www.blogger.com/profile/15925754811830769728noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-40055383590811845682016-12-02T21:04:56.881-08:002016-12-02T21:04:56.881-08:00but what if we are using Springs only , no EJBs th...but what if we are using Springs only , no EJBs then , do we need a application server?Anonymoushttps://www.blogger.com/profile/14101817148667741791noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-25537354760340788722016-07-05T08:48:35.646-07:002016-07-05T08:48:35.646-07:00Hello Swapnil,
You are right Tomcat provides datab...Hello Swapnil,<br />You are right Tomcat provides database connection pooling but it doesn't provide an EJB container to run EJB, that's the main difference between a servlet container like Tomcat and a JEE aplication server like Glassfish or WebSphere.Javinhttp://javarevisited.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-26631598271295068432016-07-02T06:35:31.846-07:002016-07-02T06:35:31.846-07:00As you mentioned ,"application server is resp...As you mentioned ,"application server is responsible for serving dynamic content, managing EJB pool, facilitating distributed transaction, facilitating application lookup over JNDI, application security and others. While web containers are only responsible for generating HTML by executing JSP and Servlet on Server side." <br /><br />But as far as i know,<br />you can configure <br /> -database pool using - tomcat pooling or dbcp<br /> - security - default or spring security<br /> - jndi lookup is supported by tomcat using resource-ref<br /><br />So, I am not able to understand full difference between container and application server.Anonymoushttps://www.blogger.com/profile/02360217492365602853noreply@blogger.com