tomcat

Showing posts with label tomcat. Show all posts
Showing posts with label tomcat. Show all posts

Web server vs Application server


Web vs application serversIntroductionThe application server is the super one.Each application server contains an inbuilt web server.If you are not satisfied with the inbuilt server, you can add another web server to the application server. What is the difference?Web serverApplication serverEx:...

jar vs war in Spring Boot


 Use jar not warIf you run mvn clean install in Spring Boot, you will get a fat jar file.It contains everything like dependencies, embedded web server... etc.You can just run java -jar jarFile in a JVM, the default is Tomcat embedded server or you can use Jetty.You don't need any web server or...