Skip to main content

Tomcat introduction


Ø  Apache Tomcat, formerly Jakarta Tomcat, which most people just call "tomcat", is an HTTP server for running Java applications. Apache tomcat is an open source web container.

Ø  Apache tomcat is a webserver and can easy to deploy our web application on server. Specially java applications.
Ø  In the Java world, they decided to create small pieces of code to serve application requests, without having to worry about how HTTP requests/responses work.
Ø  The biggest advantage in a Java-centric environment: It’s open source, lots of people know how to work with it, and you can change something that you find doesn't work for whatever reason. Other advantages: It's smaller than some other Java-based solutions. If you’re deploying Servlets, going lightweight and small is a good thing.
Ø  Tomcat uses several Java EE specifications such as Java Servlet, (JSP), EL, and WebSocket, and provides a “pure Java” HTTP web server environment for Java concept to run in.
Ø  There is a built in web container called Catalina in the tomcat bin directory. It loads all http related request and has privilege to instantiate the GET and POST method's object.
Ø  Request and Response flow of Tomcat:
It receives a HTTP request over a TCP connection. It parses it into a Request object, and calls your Servlet. Your Servlet generates all the output in a Response object. Tomcat sends this back as a HTTP response over that TCP connection.




Comments

Popular posts from this blog

Jfrog Artifactory Installation single node with Docker

Before you proceed with the installation, review the system requirements. Artifactory System Requirements Artifactory system requirements depend mainly upon the expected amount of active clients. Number of Active Clients Processor Memory Disk Space 0-20 4 core CPU 4 GB Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. 0-100 4 core CPU 8GB Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. 100-200 8 core CPU 12 GB Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. Backup SAN is recommended. 200+ Contact  JFrog Support Contact  JFrog Support Based on the expected artifact storage volume. Fast disk with free space that is at least 3 times the total size of stored artifacts. Contact  JFrog Support Launch 1 Ec2-Instance  RAM -...

DevOps Course Structure

DevOps Module 1: What is DevOps? Definition of DevOps Overview of DevOps philosophy Key principles and practices History and Evolution of DevOps Origins of DevOps Evolution from Agile and Lean methodologies Module 2: Why DevOps? Benefits of DevOps Faster delivery and time-to-market Improved collaboration between teams Enhanced quality and reliability of software Increased efficiency and productivity Business Impact Case studies demonstrating the value of DevOps Metrics for measuring success in DevOps Module 3: DevOps Tools Overview of Tool Categories Version Control Systems (e.g., Git) Continuous Integration and Continuous Deployment (CI/CD) tools (e.g., Jenkins, GitLab CI) Configuration Management (e.g., Ansible, Chef, Puppet) Containerization (e.g., Docker, Kubernetes) Monitoring and Logging (e.g., Prometheus, ELK Stack) Tool Demonstrations Practical examples of using selected tools Module 4: Differences Between Traditional Methodologies and DevOps Approach Traditional Software Devel...

Tomcat Installation and Folder structure

Tomcat Installation: 1.        Basically all operating systems are understand only binary language , As we discussed earlier post that Tomcat have J2ee , servlet   container. 2.        This is Java based Web Application server . 3.        For this reason we need to install JDK before running Tomcat file 4.        Download the support JDK based on Tomcat version. Download JDK: Find the JDK for Linux 64bit here   j dk-8u161-linux-x64.tar.gz                              Find the JDK for Windows 64bit here jdk-8u161-windows-x64.exe Download Tomcat: Find the Tomcat here   and download the required version. If you can able to ping Google from your Linux , You can download with wget command. Step 1: ...