Deploy Spring Boot App as Traditional WAR on Tomcat Server
Learn to configure and deploy a Spring Boot application as a traditional .war file into an external tomcat application server.
Learn to configure and deploy a Spring Boot application as a traditional .war file into an external tomcat application server.
Learn to modify the default embedded tomcat configurations via override respective properties in application.properties file in spring boot application.
In this maven tutorial, learn to add and configure tomcat plugin to pom.xml and use it deploy the web application without any tomcat installation in machine.
Mostly for logging and security purposes, we need the IP address information for incoming requests. 1. HTTPServletRequest.getRemoteAddr() In a Java web application, we can get IP address using HTTPServletRequest.getRemoteAddr() method. String ipAddress = httpServletRequest.getRemoteAddr(); BUT, if our application is running behind a load balancer proxy and we would like to …
Tomcat directory listing allows the users to see a list of files and directories when they navigate to a directory. Learn to enable or disable this feature.
Secure Socket Layer (SSL) is a secure transfer protocol used for communication on the Internet using cryptographic methods. The main purpose of the SSL protocol is to guarantee that no one can tamper with the communication between a browser and the server where the web application is deployed. Another purpose …
By default, Tomcat is configured to run on port 8080. That’s why all the deployed web applications are accessible though URLs like http://localhost:8080/yourapp. If you want to run an application on URL like http://localhost/yourapp, then you will need to change the default port 8080 to 80, which is default port …
We already learnt how webservers work in general when you deploy your web application on server and access from a browser. Now let’s learn the stuffs inside server which may not be used in day to day job, but they will certainly help you when you are configuring your application …
Many times we come to a situation where we need to modify the server configuration such that it is specific to an application. And if we got more than one such application and we want each application to have its own defined configuration options, then it needs some sort of …
RESTEasy example web application to to create REST APis using maven and tomcat server. This resteasy tutorial helps in create restful webservices.
HowToDoInJava provides tutorials and how-to guides on Java and related technologies.
It also shares the best practices, algorithms & solutions and frequently asked interview questions.