Web Application:
Application servers contain web containers and EJB containers. Application servers are entirely responsible for creating an environment for enterprise applications.
These servers are capable of supporting HTTP as well as RPC and PMI protocols. Application servers consume more resources, like CPU and memory, as compared to web servers.
The web server is like a bridge between the client (usually a web browser) and the web application.
The app server, on the other hand, executes the application’s logic, processes data, and generates dynamic content based on user input.
The app server works closely with a web server to deliver complete web applications to users. Together, both of them make websites and web applications work smoothly.
Uses of the App Server:
Web server port:
Web server ports are the logical endpoints of a network connection that is used to exchange information between a web server and a web client.
Ports 80 and 443 are the two standard ports used by web servers to communicate with web clients.
We need a mutual connection between client and server. that we are using some protocols. The standard protocols are like HTTP (Hypertext Transfer Protocol) and HTTPS (Hypertext Transfer Protocol Secure).
Here,
HTTP — 80
HTTPS — 443
TCP — 2638
Mysql — 3306
Linux — 22
Context root in the web app:
The team “context root ” means, Think of a web application as a house, and the context root is like the street address of that house.
he context root is the part of the web address that comes after the main domain (like www.example.com) and before any specific page or resource.
For example, if your web app is named “MyApp” and you visit “www.example.com/MyApp," “MyApp” is the context root. It helps the web server know which web application you’re looking for.
Web server vs. web Application :