[JAVA] What is a Servlet?

Summary because I don't understand Jakarta

I hear about Servlet, but I don't understand it, so I will summarize it. I don't understand the difference between jboss and tomcat containers, so I will summarize them.

What is a Servlet?

It runs on a web server (on the background). java program. Since it is a java program, an execution environment is required. That is the Servlet container. It also receives http in the Servlet content and operates the Servlet. ⚠️ This is communication such as get, post, etc. ⚠️ HTTP stands for "Hyper Text Transfer Protocol" http communication is performed regardless of java. (php etc.) In case of java Inherit the httpRequest class to get and use http Servlet.

What is a Servlet container?

Execution environment for running java Servlet

As an example

Apache Tomcat、JBoss Application Server、Apache Geronimo、Webspehere、Jetty

What is Apache

The official name is (apache http server) This is an http server. That is, it is not a java Servlet container.


https://qiita.com/yuji38kwmt/items/267d4ce618e80785f03d https://qiita.com/7968/items/4bf4d6f28284146c288f https://spring.pleiades.io/specifications/platform/8/apidocs/javax/servlet/http/HttpServletRequest.html

Recommended Posts

What is a Servlet?
What is a constructor?
What is a stream
What is a wrapper class?
What is a boolean type?
What is a Ruby module?
What is a floating point?
What is a meaningful comment?
What is a jar file?
What is a Java collection?
What is a lambda expression?
What is a fa⁉ enum?
What is a snippet in programming?
What is a column Boolean type?
What is a reference type variable?
What is a lambda expression (Java)
[Swift] What is "inheriting a class"?
What is a Ruby 2D array?
What is Cubby
What is Docker?
What is null? ]
What is java
What is Keycloak
What is maven?
What is Jackson?
What is Docker
What is Jenkins
What is ArgumentMatcher?
What is IM-Juggling?
What is params
What is SLF4J?
What is Java <>?
What is Gradle?
What is POJO
What is Java
What is centOS
What is RubyGem?
What is programming?
What is before_action?
What is Byte?
What is Tomcat
What is a class in Java language (3 /?)
What is a terminal? -Absolute path & relative path-
What is a Spring Boot .original file?
[For programming beginners] What is a method?
What is a class in Java language (1 /?)
What is a class in Java language (2 /?)
[Rails] What is a dot (.) Or a colon (:)?
What is a request scope? Image commentary
What is Maven Assembly?
What is vue cli
Introduction to Recursive Functions: What is a Recursive Function?
What is an interface?
What is the Java Servlet / JSP MVC model?
What is Ruby's self?
What is hard coding?
What is Ruby's attr_accessor?
What is Java Encapsulation?
What is permission denied?
What is instance control?
What is an initializer?