Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat are the specific uses of Java Application Server that cannot be done with web servers?
    text
    copied!<p>I am a little confused about the roles of a java application server and its differences from a web server.<br> I found many sites explaining the same difference between the two but not to my satisfaction.<br> So please explain me about the two following cases:- </p> <p><strong>1)App. Server and its difference with web server:</strong> </p> <p>From these two links:<br> <a href="https://stackoverflow.com/questions/5039354/difference-between-an-application-server-and-a-servlet-container">Difference between an application server and a servlet container?</a><br> <a href="https://stackoverflow.com/questions/936197/what-is-the-difference-between-application-server-and-web-server">What is the difference between application server and web server?</a> </p> <p><strong><em>web server:</em></strong> It handles everything through http protocol by accepting requests from clients and sending<br> responses to them with the help of its servlet container(<strong>e.g Apache Tomcat</strong>)<br> <strong><em>App. Server:</em></strong> An application server supports the whole of JavaEE like JMS,JPA,RPC etc. </p> <p>Now what I am confused with is that how can I use a lot of JavaEE APIs like JMS,JPA etc. with my Tomcat<br> by adding their <strong>jar</strong> files in my web application ?<br> Does that mean that if I use an appliation server I don't have to add those <strong>jar</strong> files?(<em>I don't think so</em>) </p> <p><strong>2)The roles of an appl. server</strong> (This is very important to me) </p> <p>From Wikipedia<br> <a href="http://en.wikipedia.org/wiki/Application_Server" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Application_Server</a> </p> <p>An application server provides services such as security,transaction support etc.<br> <em>"The term is often used for web servers which support the JavaEE"</em> -- It sounds like if we add the required <strong>jar</strong> files of JavaEE APIs a web server becomes an appl. server.<strong>What about it.</strong> </p> <p>Now my question is <strong>how an application server performs the tasks of security control or transaction management by itself</strong> ?<br> <strong>E.g.</strong> in my web application using Spring framework I am providing security by using spring-security and transaction management by using @Transactional annotation and all those things you know.<br> So does the appl. server have anything to do with my security or transaction management or it has its own ways ? </p> <p><em>Forgive my ignorance.</em></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload