This tutorial provides a step-by-step guide on how to create a windows task which restarts the tomcat service at a specific time frame. 1. Create a batch file for stopping/starting...
In this tutorial, we describe how to deploy a Tomcat web application on port 80. As known, 80 is the default port of the web, every time you access a...
This tutorial describes how to install a single SSL certificate on multiple Tomcat nodes. 1. Generate CSR The first thing you should do before generating an SSL certificate is to...
In order to access a web application deployed on Tomcat, it is required by default to write the application name in the URL. However, getting rid of the application name...
In this tutorial, we describe 2 ways for deploying Java web applications on Tomcat application server. 1. War file The typical way for deploying a Java web application on Tomcat...
By default, web applications are deployed under this path: “WORKSPACE/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps” . Here below we define the needed steps to change the default deploy directory of Tomcat in Eclipse. 1- Custom Deploy Directory...
In any web application, there exists a folder named WebContent that automatically holds .class and jar files. When running a web application in eclipse or when deploying a war file to an...
By default, Spring Boot applications run on an embedded Tomcat via port 8080. In order to change the default port, you just need to modify server.port attribute which is automatically...
This tutorial provides a step-by-step guide on how to build a restfull web service using Spring Boot. Prerequisites: Eclipse IDE (neon release) Maven 4 Java 1.8 1. Create maven web...
This guide shows how to create a simple MVC web application using Spring Boot. Prerequisites: Eclipse IDE (neon release) Maven 4 Java 1.8 1. Create maven web project Open eclipse...
This tutorial provides a step-by-step guide on how to build and deploy JAX-WS web service on Tomcat. Throughout this tutorial, we create a very simple SOAP web service and finally...
Spring Boot provides an embedded servlet container which makes it very easy to setup and deploy web applications, by default all Spring Boot applications are exported as a runnable jar...
This tutorial provides a step-by-step guide on how to build REST web service using Spring framework. Prerequisites: Eclipse IDE (Mars release) Java 1.8 Apache tomcat 8 1. Create Maven web...
In this tutorial, we provide a step-by-step guide on how to create a web project using Maven in Eclipse. Prerequisites: Eclipse IDE (Mars release) Java 1.8 Apache tomcat 8 1....
In this tutorial, we provide a step-by-step guide on how to setup and configure Tomcat in Eclipse. Prerequisites: Eclipse IDE (Mars release) Java 1.8 Step-1 Download and install Apache Tomcat...
RESTEasy is yet another popular framework which implements JAX-RS specification and is widely used for building REST web services in java. In this tutorial, we provide a step-by-step guide for...
Since Java 5, JAX-RS specification has been announced in order to support building REST web services according to the REST architectural pattern. JAX-RS is a set of interfaces or APIs...
In some circumstances, it is mandatory to deploy your application on multiple tomcat instances instead of a single one, this usually happens when working with a heavy application which consumes...
By default, the memory size allocated for tomcat is not enough to handle heavy applications which require high memory usage, several OutOfMemoryError exceptions will be thrown if you keep the default...
Here below we provide a step-by-step guide for installing and setting up tomcat in unix environment, for those who are interested in windows machines you can refer to this guide. 1. Prerequisite...