(B17) Middleware - Web Server , Application Server, Database



Published
20220528 171726
Middleware


1. Web Servers
2. Application servers
3. Database Servers
4. DB Connector

Web Servers:
-Provide web services
-Client 'Request' for Web page/content - Server Send 'Response' to client
-Web server maintain -content of web site

Static WebSite
-When client request for page , server search in web content, sends as respose to client in html format
-if server didnt find page in content , it sends '404 page not found' error


Dynamic Web Site
-when client send http request,server check requests - application take inputs from request, process it
get data from database, build a html page for http response - deliver to client
-----------------
http method:
GET
POST
PUT
HEAD
DELETE
PATCH
OPTIONS
CONNECT
TRACE

GET - to get infromation from server

POST - to submit infromation to server

--
Web server:
Apache HTTP
MS IIS
Lighttpd
Sun Java System Web Server
Jigsaw Server

Application Server:
-support different type of applications

-php
-java servlet
-python
-ms asp.net,c#.net
-
*application server contains web server

application server: Web server + Applications
TOMCAT -- php, servlets.. -- not ejb
NGINX
GlassFish
-----------------------
to run enterprise - we use EJB - enterprise java beans

runs ejb container- deploys war, jar

war, jar - java archives

to run ejbs,

oracle weblogic server
ibm websphere
redhat jboss/wildfly
-------------------------------

Programs:
fornt end technology: web server
html
css
javascript

Server/application: middleware
php
Java Servlets
ejb
java
python

Backend: database
oracle db
mysql
mariadb
postgresql

-------
connecting App to DB

JDBC - java database connector - connect java app to db
ODBC
Connect/J
Python - MySql connecter
------------
API - Application program interface

REST API, SOAP, JSON, YMAL..
-------------
Category
Web design
Be the first to comment