Difference between Web Server and Application Server! Apache Http Server ,Weblogic,Tomcat, Jboss

Digitalk Systems
13 Mar 202319:19

Summary

TLDRDieses Video klärt den Unterschied zwischen Webservern und Anwendungsservern auf. Es erklärt, dass Webserver für statische Inhalte wie Text, Bilder und Videos gedacht sind, während Anwendungsserver für dynamische Inhalte und Geschäftslogik benötigt werden, die oft mit Datenbanken interagieren. Der Fokus liegt auf Java-basiertem Anwendungsserver wie Tomcat, WebLogic und JBoss, die Servlets und JSPs ausführen. Es unterscheidet zwischen kleinen Anwendungsservern, die Servlet-Container bieten, und vollständigen Anwendungsservern, die auch EJB-Container für große, verteilte Geschäftsanwendungen bieten.

Takeaways

  • 🌐 Der Hauptunterschied zwischen Webservern und Anwendungsservern liegt in ihrer Funktion: Webserver dienen zur Bereitstellung statischer Inhalte, während Anwendungsserver sowohl statische als auch dynamische Inhalte verwalten können.
  • 📄 Statische Inhalte beinhalten Text, Bilder, PDF-Dateien und andere Dateien, die nicht oft geändert werden und keine Geschäftslogik erfordern.
  • 🔧 Dynamische Inhalte umfassen Datenbanktransaktionen, die durch Servlets und JSPs (Java Server Pages) auf Java-basierende Anwendungsserver wie Tomcat ausgeführt werden.
  • 🏢 Geschäftslogik bezieht sich auf die internen Abläufe und Richtlinien einer Organisation, die oft mit Hilfe von Standardsoftware oder benutzerdefiniertem Code automatisiert werden.
  • 🛠 Enterprise JavaBeans (EJBs) sind für die Entwicklung von Geschäftslogik in größeren, verteilten Anwendungen verwendet und erfordern eine vollständige Java-fähige Anwendungsserver wie WebLogic oder JBoss.
  • 🔗 Webserver wie der Apache HTTP Server sind für die Bereitstellung statischer Inhalte konzipiert und benötigen keine Java-Umgebung.
  • 💾 Tomcat ist ein Beispiel für einen kleinen Java-fähigen Anwendungsserver, der Servlets und JSPs ausführen kann, um dynamische Inhalte bereitzustellen.
  • 🔄 In der Enterprise-Welt ist es erforderlich, Anwendungsserver mit Funktionen wie Hochverfügbarkeit, Skalierbarkeit, Lastverteilung und Fehlertoleranz zu verwenden.
  • 🌐 Die Integration von verschiedenen Anwendungen und Datenbanken in der Enterprise-Welt erfordert eine komplexe Architektur, die oft auf vollständigen Java-fähigen Anwendungsservern basiert.
  • 🔑 Die Wahl zwischen Webservern und Anwendungsservern hängt von den spezifischen Anforderungen ab, wie zum Beispiel die Art des Inhalts, der bereitgestellt werden muss, und die Komplexität der Geschäftslogik.

Q & A

  • Was ist der Hauptunterschied zwischen einem Webserver und einem Anwendungsserver?

    -Ein Webserver dient zur Bereitstellung statischer Inhalte wie Text, Bilder und Videos, während ein Anwendungsserver für die Verarbeitung von dynamischen Inhalten und Geschäftslogik verantwortlich ist, die oft mit Datenbanken interagieren.

  • Welche sind die drei Konzepte, die man verstehen muss, um den Unterschied zwischen Webserver und Anwendungsserver zu verstehen?

    -Die drei Konzepte sind statische Inhalte, dynamische Inhalte und Geschäftslogik.

  • Was ist ein Beispiel für statische Inhalte auf einer E-Commerce-Website?

    -Statische Inhalte auf einer E-Commerce-Website könnten Produktbeschreibungen und herunterladbare PDF-Dateien mit detaillierter Produktinformation sein.

  • Was bezeichnet man als private Inhalte und warum sind sie als privat angesehen?

    -Private Inhalte beziehen sich auf Geschäftsfunktionen und -codes, die spezifisch für eine Organisation sind und nicht für die Öffentlichkeit bestimmt sind, weil sie interne Richtlinien und Funktionen betreffen.

  • Wie werden servlets in der Java-Programmierung definiert und wofür werden sie verwendet?

    -Servlets sind Java-Programme, die auf einem Java-fähigen Anwendungsserver ausgeführt werden und für die Verarbeitung von dynamischen Funktionen benötigt werden, die eine Verbindung zur Datenbank herstellen.

  • Was ist JSP und wie wird es in Webanwendungen verwendet?

    -JSP steht für JavaServer Pages und wird verwendet, um Java-Code in HTML einzubinden, um dynamische Inhalte in Webanwendungen zu ermöglichen.

  • Warum benötigt man einen EJB-Container, wenn man Enterprise Java Beans (EJBs) verwendet?

    -Ein EJB-Container ist erforderlich, um die Geschäftslogik auszuführen, die in EJBs entwickelt wurde, und bietet Unterstützung für erweiterte Funktionen wie Hochverfügbarkeit, Skalierbarkeit und Lastenausgleich.

  • Was ist der Unterschied zwischen einem Java-fähigen Kleinst- und einem Vollstreck-Anwendungsserver?

    -Ein Java-fähiger Kleinst-Anwendungsserver wie Tomcat kann Servlets und JSPs ausführen, während ein Vollstreck-Anwendungsserver wie WebLogic oder JBoss auch EJBs ausführen kann und umfangreichere Funktionen für große, verteilte Anwendungen bietet.

  • Welche Fähigkeiten erfordert eine Anwendung in der Enterprise-Welt, die EJBs verwendet?

    -In der Enterprise-Welt, bei der EJBs verwendet werden, sind Fähigkeiten wie Hochverfügbarkeit, Skalierbarkeit, Lastenausgleich, Fehlertoleranz und Integration mit mehreren Datenbanken und Anwendungen erforderlich.

  • Wie können Webserver und Anwendungsserver in einer Enterprise-Umgebung koordiniert werden?

    -In einer Enterprise-Umgebung können Webserver für die Bereitstellung statischer Inhalte und Anwendungsserver für die Verarbeitung von dynamischen Inhalten und Geschäftslogik koordiniert werden, um eine vollständige und skalierbare Anwendungsarchitektur zu bieten.

Outlines

00:00

🌐 Unterschied zwischen Webserver und Anwendungsserver

Der erste Absatz stellt die Frage nach dem Unterschied zwischen Webservern und Anwendungsservern und führt verschiedene Server-Typen wie Apache HTTP, Tomcat, Weblogic und JBoss ein. Es wird betont, dass selbst erfahrene Ingenieure manchmal Schwierigkeiten haben, diese zu unterscheiden. Der Sprecher erklärt, dass man drei Konzepte verstehen muss: statische Inhalte, dynamische Inhalte und Geschäftslogik. Als Beispiel wird eine E-Commerce-Website genannt, die sowohl öffentliche Inhalte (z.B. Produktbeschreibungen und PDFs) als auch private Inhalte (z.B. interne Geschäftsfunktionen und Richtlinien) umfasst.

05:01

📄 Webserver und Anwendungsserver für statische und dynamische Inhalte

Der zweite Absatz erklärt, dass Webserver für die Bereitstellung statischer Inhalte wie Text, Bilder, Audio- und Videodateien gedacht sind, die nicht oft geändert werden. Diese Inhalte werden auf dem Server gespeichert und müssen nur angezeigt werden, ohne zusätzliche Geschäftslogik. Im Gegensatz dazu sind dynamische Inhalte, die Datenbanktransaktionen beinhalten, komplexer und erfordern Java-Programme wie Servlets und JSPs. Diese werden auf Java-fähigen Anwendungsservern ausgeführt, die auch als Servlet-Container bezeichnet werden.

10:02

🏢 Enterprise JavaBeans (EJB) und vollständige Anwendungsserver

Der dritte Absatz führt Enterprise JavaBeans (EJB) als eine Spezifikation für die Entwicklung großer, verteilter Geschäftsanwendungen auf der Java-Plattform ein. EJBs ermöglichen es, die Geschäftslogik einer Organisation zu entwickeln, was in einer vollständigen Java-fähigen Anwendungsumgebung ausgeführt wird, die auch als EJB-Container bezeichnet wird. Der Sprecher unterscheidet zwischen kleinen Java-fähigen Anwendungsservern, die für Servlets und JSPs konzipiert sind, und vollständigen Anwendungsservern, die auch EJBs unterstützen und für große Unternehmensszenarien mit hohen Anforderungen an Verfügbarkeit, Skalierbarkeit und Fehlertoleranz geeignet sind.

15:03

🌟 Graphische Darstellung von Web- und Anwendungsservern in der Enterprise-Welt

Der vierte Absatz verwendet eine grafische Darstellung, um die Rolle von Webservern für statische Inhalte und Java-fähigen Anwendungsservern für dynamische Inhalte und Geschäftslogik zu veranschaulichen. Es wird erklärt, dass Webserver für die Bereitstellung von statischen Inhalten über das Internet an Endbenutzer gedacht sind, während Java-fähige Anwendungsserver für die Ausführung von Servlets, JSPs und EJBs benötigt werden. In der Enterprise-Welt, wo Integration mit mehreren Anwendungen und Cloud-Diensten, hohe Verfügbarkeit, Fehlertoleranz und Lastverteilung erforderlich sind, werden vollständige Anwendungsserver wie WebLogic, JBoss und WildFly eingesetzt.

Mindmap

Keywords

💡Webserver

Ein Webserver ist ein Computerserver, der Anwendungen hostet, die über das Internet zugänglich sind. Er dient statischen Inhalten wie Text, Bilder, Audio- und Videodateien und ist in der Lage, diese auf dem Browser des Endnutzers anzuzeigen. Im Kontext des Videos wird er als Ausführungsmaschine für öffentliche Inhalte beschrieben, die für die Öffentlichkeit bestimmt sind und über das Internet zugänglich sind.

💡Application Server

Ein Anwendungsserver ist ein Server, der Anwendungen ausführt, die dynamische Inhalte und Geschäftslogik umfassen. Er wird für die Verarbeitung von Transaktionen benötigt, bei denen Daten in einer Datenbank eingefügt, aktualisiert, gelöscht oder abgerufen werden. Im Video wird er als Ausführungsmaschine für dynamische Inhalte und Geschäftslogik dargestellt, die für die Automatisierung interner Geschäftsfunktionen notwendig sind.

💡Statische Inhalte

Statische Inhalte beziehen sich auf Daten, die sich nicht oft ändern oder keine Geschäftslogik für die Anzeige im Internet erfordern. Beispiele sind Texte, Bilder, Audio- und Videodateien. Im Video wird darauf hingewiesen, dass Webserver für die Bereitstellung solcher statischen Inhalte verwendet werden.

💡Dynamische Inhalte

Dynamische Inhalte sind solche, die sich ändern können und normalerweise mithilfe von Geschäftslogik und Datenbanktransaktionen generiert werden. Diese Art von Inhalt erfordert einen Anwendungsserver, um die Interaktion mit der Datenbank und die Durchführung von Transaktionen zu ermöglichen, wie im Video beschrieben.

💡Geschäftslogik

Die Geschäftslogik umfasst die Regeln und Prozesse, die eine Organisation für die Durchführung ihrer Kerngeschäftstätigkeit verwendet. Im Video wird betont, dass die Implementierung von Geschäftslogik oft mit Hilfe von Standardsoftware oder benutzerdefiniertem Code erfolgt und dass Anwendungsserver für die Ausführung dieser Logik erforderlich sind.

💡Servlet

Ein Servlet ist ein Java-Programm, das auf einem Java-fähigen Anwendungsserver ausgeführt wird und für die Erstellung dynamischer Inhalte und die Ausführung von Geschäftslogik verantwortlich ist. Im Video wird erklärt, dass Servlets für die Verbindung mit der Datenbank und die Durchführung von Transaktionen benötigt werden.

💡JSP

JSP steht für JavaServer Pages und ist eine Technologie, die es ermöglicht, Java-Code in HTML einzubinden. Im Video wird JSP als eine Methode beschrieben, um HTML-Code mit Java-Code zu erweitern, um dynamische Inhalte zu erstellen und auf Webservern auszuführen.

💡Enterprise JavaBeans (EJB)

EJB ist eine Spezifikation für die Entwicklung von verteilten Geschäftsanwendungen auf der Java-Plattform. Im Video wird EJB als eine Technologie für die Entwicklung von Geschäftslogik in großen, verteilten Systemen betrachtet, die High Availability, Skalierbarkeit und Lastenausgleich erfordern.

💡Konnektivität

Konnektivität bezieht sich auf die Fähigkeit, verschiedene Systeme und Anwendungen miteinander zu verbinden, um Daten und Transaktionen auszutauschen. Im Video wird betont, dass Anwendungsserver in der Enterprise-Welt eine wichtige Rolle bei der Integration mit anderen Anwendungen und bei der Verwaltung von verteilten Transaktionen spielen.

💡Lastenausgleich

Lastenausgleich ist ein Prozess, bei dem die Arbeitslasten auf mehrere Server oder Ressourcen verteilt werden, um die Leistung zu optimieren und die Verfügbarkeit zu gewährleisten. Im Video wird der Lastenausgleich als ein Feature von vollständigen Anwendungsservern beschrieben, die für die Unterstützung von Geschäftslogik in der Enterprise-Welt erforderlich ist.

Highlights

介绍网络服务器和应用服务器的区别

讨论Apache HTTP、Tomcat、Weblogic和JBoss等服务器的特点

解释静态内容、动态内容和业务逻辑的概念

通过电子商务网站示例阐述公共内容和私有内容的区别

讨论如何通过ERP软件和自定义开发实现业务功能自动化

解释网络服务器在提供静态内容中的作用

讨论动态内容和数据库交互的必要性

介绍Servlet和JSP在动态内容处理中的角色

阐述Java启用的应用服务器在执行Servlet和JSP中的重要性

讨论Enterprise Java Beans (EJB) 在构建企业级应用中的作用

解释为什么需要EJB容器来执行业务逻辑

区分网络服务器、小规模应用服务器和全规模应用服务器的不同用途

通过图形化方式展示静态内容、动态内容和业务逻辑的执行过程

讨论在企业级应用中实现高可用性、可扩展性和负载均衡的重要性

解释为什么需要全规模应用服务器来处理复杂的企业级业务逻辑

总结网络服务器和应用服务器在不同场景下的应用

Transcripts

play00:00

foreign

play00:02

[Music]

play00:12

application server so in fact not only

play00:15

web server application server because we

play00:17

have a lot of different flavors of web

play00:19

servers and application servers in the

play00:20

market okay so apart from that we are

play00:23

going to discuss about what exactly is

play00:26

the difference between uh a particular

play00:28

web server like Apache HTTP Tomcat

play00:31

weblogic Wells parent gebos so I had a

play00:35

discussion with a lot of Engineers and

play00:36

not only freshers even the experienced

play00:38

persons are a lot of times get confused

play00:40

between what exactly the difference

play00:42

between a web server and application

play00:43

server and what are the situations or

play00:46

conditions where we need to implement

play00:47

the web server and where we need to

play00:49

implement the application servers like

play00:51

Tomcat weblogic web experience JBoss so

play00:54

I am going to cover all of the concepts

play00:56

in this video

play00:59

to understand the difference between a

play01:01

web server and application servers okay

play01:03

you need three concepts to be clear so

play01:06

what is static contents second is

play01:09

dynamic content and third is business

play01:11

logic

play01:13

so let us take a look with example what

play01:15

is the difference between static

play01:16

contents Dynamic contents and business

play01:17

logic suppose that I am running at

play01:19

e-commerce website okay and what exactly

play01:23

is there on the website uh I will

play01:25

display a lot of products along with the

play01:27

description and apart from that I could

play01:29

have a PDF file which is giving the more

play01:32

detailed information about our product

play01:33

right so which you can download from the

play01:36

website

play01:37

apart from that if someone want to do

play01:39

any kind of a shopping then I would have

play01:41

a shopping cart on my e-commerce website

play01:43

from there users can buy the products

play01:45

and then that means they are doing a

play01:46

certain kind of a transactions

play01:49

so this is specifically called public

play01:51

content why we are saying it is a public

play01:52

content because this is specifically

play01:54

designed for the public anyone can

play01:56

access the website and can see the

play01:58

contents and can download the public

play02:00

information PDF documents which is

play02:02

specifically related with the product

play02:04

anyone can access it anyone can download

play02:07

it so it can be defined as a public

play02:09

content right apart from that because I

play02:12

am running the e-commerce website so I

play02:14

have my own organization so if I have

play02:16

organization then I have my internal

play02:18

policies internal business

play02:20

functionalities okay because I have a

play02:22

different internal departments HR

play02:23

department manufacturing Department

play02:24

Supply Department technical department

play02:27

and I have my own business

play02:29

functionalities and if I am going to

play02:31

implement all my business

play02:33

functionalities

play02:34

from paper to computer right that means

play02:37

I am going for the automation of all the

play02:39

functionalities in that case I have to

play02:42

implement certain kind of a software and

play02:45

codes so what does it mean software and

play02:48

code

play02:49

[Music]

play02:51

so either I will use certain kind of a

play02:53

standard software for my organization

play02:55

okay those are available in the market

play02:57

okay or maybe I will go for the custom

play03:00

development of my business logic right

play03:02

so that means I am doing a certain kind

play03:04

of Auto automation of my business

play03:06

functionalities with the help of certain

play03:07

code and by using the certain kind of a

play03:10

standard software those are available in

play03:12

the market for example you have an Erp

play03:14

right for for a different kind of a

play03:16

business entities okay so whenever we

play03:19

want to automate our internal business

play03:21

functionalities we will uh we we buy the

play03:24

Erp software and then we internally

play03:25

implement it across all our departments

play03:28

okay and apart from that maybe that

play03:30

there are certain functionalities that

play03:32

is not

play03:33

in line with the the functionality that

play03:36

has been provided by my Erp software so

play03:38

for that I will go for the custom

play03:40

development of the uh business logic

play03:42

okay so that would be a combination of

play03:44

the standard software and apart from

play03:46

that there would be a custom code as

play03:48

well so okay in nutshell you can say

play03:50

that whenever I am going for the

play03:52

automation of my business

play03:53

functionalities okay for my organization

play03:55

then I have to implement certain kind of

play03:58

a software or maybe I have to implement

play03:59

a certain kind of a code uh

play04:02

implementations okay so this is called

play04:04

as a private content why disk and

play04:06

business function it is why it is called

play04:08

a private content because this is a

play04:10

private content that is specifically for

play04:12

my organization right I don't want to

play04:14

disclose this to the outer world because

play04:15

this is my own business function it is

play04:17

my own internal policies so now when we

play04:20

talk about the complete scope of the

play04:23

content okay so there would be a public

play04:25

content and apart from that we have a

play04:26

private content okay so public content

play04:28

is specifically designed for the public

play04:30

and it is available on the public domain

play04:31

which user can access over the Internet

play04:33

apart from that you have a private

play04:35

content and your business

play04:36

functionalities and code which is

play04:38

completely internal to your organization

play04:41

so as I said you have uh given I have

play04:44

given you the example of e-commerce

play04:46

website okay apart from that we have a

play04:47

different departments across the world

play04:49

for example we have a financial

play04:50

institute manufacturing Transportation

play04:52

Education Health entertainment

play04:53

agriculture so every organization has

play04:55

their own internal business

play04:57

functionalities and qualities right for

play04:59

example if I talk about the financial

play05:00

institute of banks uh the what is the

play05:03

business functionalities of a bank they

play05:04

have to open the account they have to

play05:06

close the account they have to give the

play05:07

loan and then apart from that they have

play05:09

a lot of internal function business

play05:10

functionalities those they Implement

play05:12

with the help of certain standard

play05:13

software or with the help of some custom

play05:15

development

play05:17

similarly if you go for the

play05:18

manufacturing Department transportation

play05:20

education help they all have their own

play05:22

business functionalities their own way

play05:23

to work they have their own internal

play05:25

policies so again if they are going for

play05:27

the automation then they have to

play05:28

implement all the Technologies either

play05:30

with the help of standard software or

play05:32

with CN Pro standard code

play05:34

okay so this is all about the content

play05:37

public content private content and

play05:39

business functionality and let us talk

play05:41

about uh more on the

play05:46

web server and application server part

play05:48

right so when we say that we have a

play05:51

public content and or even it is a

play05:53

private content or a business

play05:54

functionalities or business logic then

play05:56

for execution of your public content

play05:59

okay or you can say about you want your

play06:01

content to be accessible for the outer

play06:03

world for that you will need a certain

play06:04

kind of execution engine which is called

play06:06

a web server and application server now

play06:08

what are the conditions when we need a

play06:10

web server and what are the conditions

play06:11

when we need our application

play06:14

server so let us talk about static

play06:16

content so it is also clear from the

play06:17

name the contents are static that is not

play06:19

going to be changed or not going to be

play06:22

changed very frequently or you don't

play06:24

need any kind of a if else then and but

play06:26

kind of the situations for displaying of

play06:29

the content

play06:31

for example you have a static content

play06:33

like text you have image then you have a

play06:35

audio file then you have a video file

play06:37

and then you have a HTML page you can

play06:39

take the example of a new Regency okay

play06:42

so for example if I take the example of

play06:44

a News website okay what exactly the

play06:46

content are there in the website you

play06:48

have a static text that is for the news

play06:50

whatever the news is there for that you

play06:52

have a static text and then apart from

play06:54

that you could have image you can have

play06:56

the audio file or video file of the news

play06:58

right so that is called a specifically

play07:00

called Static contest because that not

play07:02

going to be changed you don't need to

play07:04

execute any kind of a business Logic for

play07:06

displaying it over the internet you just

play07:08

you have a text which has been written

play07:11

and placed somewhere or you have an

play07:12

image audio file or video file which you

play07:14

have uploaded somewhere that need to be

play07:15

displayed on the browser and that if you

play07:18

have audio video file that can be played

play07:20

with the help of your any video player

play07:22

if you have an image or text file that

play07:24

also you can display over the website so

play07:25

you don't need any kind of a business

play07:27

Logic for the execution here right so

play07:29

all the contents are stored in the

play07:31

storage and that you want to display it

play07:32

over the web browser to the end user

play07:36

right and in a preformatted form right

play07:39

so for that you need a execution engine

play07:43

that would able to execute the static

play07:46

content because these are all called as

play07:48

a static content validated text image

play07:50

audio file video file and and and some

play07:54

more content that I'm going to discuss

play07:55

in the next few slides so these are

play07:57

called the static contents and the

play07:58

execution the engine that you need here

play08:01

is for the execution of your static

play08:03

contents okay and that is called a web

play08:05

server that means whenever you have a

play08:07

certain kind of a contents that you need

play08:10

for the execution of the static contents

play08:12

that is called a web server okay now

play08:14

second is called the dynamic contents

play08:16

now apart from the functionality which I

play08:19

have explained in the web server if you

play08:21

want to a certain kind of a dynamic

play08:22

content for example you have a database

play08:24

and you want to do certain kinds of

play08:26

transactions where your

play08:29

business functionality needs to insert

play08:31

some data in your database or it may

play08:33

need to delete update or view the data

play08:35

from the database let me see you have a

play08:36

database there you have certain

play08:37

candidate data which is displaying over

play08:40

your website and users are doing certain

play08:42

kind of transactions okay and that

play08:44

transaction may be inserting deleting or

play08:46

updating the data in your database this

play08:48

is called a certain kind of a dynamic

play08:50

contents okay and for that specifically

play08:53

we are talking about a Java so for that

play08:54

you have a functionalities or you are or

play08:57

a programming language that you can say

play08:59

as servlets and jsps so if you want to

play09:01

enhance your application with the

play09:04

dynamic contents or with the business

play09:05

functionalities where it can con connect

play09:08

with the database and can do certain

play09:09

kind of a transactions then you need a

play09:11

servlet and GSP so what exactly is

play09:12

servlet so servers are the Java programs

play09:15

that run on Java enabled application

play09:16

server so now here servers or you can

play09:19

say it is a Java program okay and why it

play09:22

is required when we need a certain kind

play09:23

of a dynamic functionalities where our

play09:24

business logic need to connect with the

play09:26

database for a certain kind of

play09:28

transactions so now because what I'm

play09:30

saying is that this is a Java program

play09:31

okay so you need a Java enable

play09:34

application server for the execution of

play09:36

your business logic okay and what is JSP

play09:39

so JSP is adding Java code to HTML so if

play09:42

you want your HTML code which enabled

play09:46

with the Java code for execution of your

play09:48

Dynamic content so you can Club HTML

play09:50

code and then Java code in the jsps okay

play09:53

which is called Java server pages okay

play09:55

so these two technologies are

play09:57

specifically related with the Java and

play09:59

if you wanted to execute any code which

play10:02

is specifically related with the Java

play10:03

then you need a

play10:05

Java base or Java enabled application

play10:08

server okay and that is called a servlet

play10:11

container or you can also say a Java

play10:13

enabled application server Okay so

play10:17

servlet container is also a name for

play10:21

your Java enabled application server

play10:22

which is used for execution of your

play10:25

servlets and jsps so now third is your

play10:28

business logic so first we discuss about

play10:30

the web server which is a static

play10:31

contents and then we discuss about the

play10:32

dynamic contents where your business

play10:34

logic need to connect with the database

play10:36

for certain kind of executions where you

play10:38

are inserting updating or deleting some

play10:40

data in the database for that you will

play10:42

need a servlet container for execution

play10:44

of your servlets and jsps because that

play10:47

Dynamic functionalities you can achieve

play10:48

with the help of servers and jsps now

play10:51

apart from that you have a business

play10:52

logic so as we have discussed so far

play10:54

that you have a different kind of

play10:55

sectors across the world and every

play10:57

sector or organization has their own

play10:59

business logic own policies and then

play11:01

they Implement all those things with the

play11:03

help of standard software or maybe with

play11:05

the help of custom development custom of

play11:07

the course where they execute the

play11:09

business functionalities

play11:10

right and all these functionalities why

play11:12

these buttons functions are required

play11:14

that is required for high availability

play11:15

scalability load balancing and failure

play11:17

specifically in the Enterprise world

play11:19

where

play11:20

we have running a business which is

play11:22

scattered across the world we have a

play11:24

multiple stakeholders are connected with

play11:25

each other they are communicating with

play11:27

each other right for the executions of

play11:29

your business logic okay and for this

play11:32

kind of functionalities for execution or

play11:34

development of business logic we use the

play11:36

ejbs which is called Enterprise Java

play11:38

beans which is a concept of advanced

play11:40

Java so Enterprise Java beans ejb is a

play11:42

specification for developing large scale

play11:45

distributed business applications on the

play11:47

Java platform so if you need

play11:49

to develop the business logic of your

play11:51

organization okay so apart from servlets

play11:54

and jsps you need the Enterprise Java

play11:55

bins for the development of the or you

play11:58

can say for the programming of your

play12:01

business logic okay and pgb is also

play12:05

called as a several Java apis for

play12:07

construction of enterprise software so

play12:09

whenever we talk about that the

play12:11

Enterprise world or Enterprise

play12:12

applications okay there we develop the

play12:14

applications in Enterprise Java beans

play12:16

and when we have Enterprise Java beans

play12:19

for that we need to execute in the a

play12:21

separate application server or you can

play12:23

again say a Java enable application

play12:25

server which has the capability of ajb

play12:27

container because we are developing the

play12:30

business logic in ejps so we need a ejb

play12:33

container so now we have three things

play12:34

here one is the web server which we use

play12:36

for the uh static contents second we

play12:40

have a bit uh Dynamic contents right

play12:42

which is uh specifically for it with the

play12:45

transactions uh with the help of

play12:48

database okay and for that we have

play12:50

developed the application in servlets

play12:52

and jsues for that that we need this a

play12:54

servlet container which is also called

play12:55

Java enable application server but third

play12:57

layer is business logic when we are

play12:59

developing the business code with the

play13:00

help of ejbs then we need a full scale

play13:03

application server or full scale Java

play13:05

enable application server which has a

play13:06

capability of ejb container okay so for

play13:09

static contents you need a web server

play13:11

when we talk about the dynamic

play13:13

functionalities of dynamic content then

play13:14

you need a Java enabled small SQL

play13:16

application server why we are calling it

play13:18

a small scale because it doesn't contain

play13:19

the ejps it has the capabilities only

play13:22

web server along with that it has the

play13:24

capability of execution of your servlets

play13:26

and JSP okay that's why we are saying it

play13:29

as a Java enabled small scale

play13:31

application server

play13:32

but when we come for the execution of

play13:34

your business logic which is developed

play13:36

in ejbs you should need a high

play13:37

availability scalability load balancing

play13:39

and failure kind of a functionalities

play13:42

okay for that we need our Java enabled

play13:45

full scale application server okay so we

play13:48

have three kind of entities here

play13:51

web server and application server and

play13:53

application server for them we can

play13:54

divide into two categories one is the

play13:56

small scale application server and

play13:57

second is the full scale application

play13:59

server so here where the difference

play14:01

comes between the web server like Apache

play14:04

HTTP server tomcat and then weblogic web

play14:07

experience JBoss so Apache HTTP server

play14:10

is just a web server it has a capability

play14:12

only of to serve the static contents and

play14:15

second when we talk about

play14:16

the Tomcat so Tomcat is a small scale

play14:19

application server okay which is used

play14:21

for as a web server as well as to

play14:24

execute the diamond contents which is

play14:25

developed in your serverless and GSP so

play14:27

your Tomcat can execute the servlet and

play14:30

jsps okay because when we install the

play14:33

Tomcat we need a Java as well for

play14:35

installation of Tomcat but when we

play14:36

install your web server we don't need

play14:38

any Java because we are not executing

play14:40

any business functionalities but when we

play14:42

are installing the Tomcat we need a Java

play14:43

because we are going to execute the

play14:45

servlets and jsps which is a Java based

play14:47

programs and when it comes to ejbs we

play14:49

have apart from the static contents and

play14:51

and dynamic contents of servers and jsps

play14:54

we have a business code developed in

play14:56

ejbs then we need a ejb container which

play14:59

is the part of your full flash

play15:01

application server like

play15:02

weblogic web square and JBoss so in that

play15:06

case we need the full flash application

play15:08

servers

play15:10

so now let us take a look in the

play15:12

graphical way okay for example we have a

play15:14

certain kind of static contents which

play15:15

user are accessing over the uh internet

play15:18

with the help of internet from the

play15:19

browser for that we can Implement a web

play15:22

server where we can place our text

play15:25

images and video files and which can be

play15:27

displayed to the end user with the help

play15:29

of browser okay for that we need a web

play15:32

server and if you have a large number of

play15:35

user base you can have a multiple

play15:36

parallel web servers in parallel okay

play15:40

but now when we talk about the dynamic

play15:42

contents where you are uh application or

play15:45

your website need a certain kind of

play15:47

functionalities to connect with the

play15:48

database then your web server would not

play15:50

be sufficient for that one and for that

play15:52

you need a Java enabled small

play15:54

application server okay and which also

play15:57

called as subnet container and for that

play15:59

you have a tomcat okay and apart from

play16:01

that from Apache you have open source

play16:03

version of a small Java enable

play16:05

application server which is called Tom

play16:07

ee Tommy okay

play16:09

which is just a servlet container okay

play16:12

so that means when you have a web

play16:13

application which needs the support of

play16:15

your servlets and jsps as well that

play16:18

means you need a certain kind of support

play16:19

for dynamic contents okay then for that

play16:21

you need a smaller scale application

play16:23

server okay and when we talk about the

play16:26

business logic which is called an egbs

play16:28

then you need a ejp container apart from

play16:30

your Dynamic contents or you can sit

play16:32

apart from your servlet container right

play16:34

so for that you have a web apps for full

play16:36

flash website uh application servers

play16:38

like weblogic JBoss EAP wildfly and web

play16:41

sphere

play16:43

and this ejp application or this

play16:45

business logic may need to integrate

play16:46

with the certain Cloud applications this

play16:49

may need to communicate with some

play16:50

different application across the world

play16:51

in Enterprise world with the help of

play16:53

java mixing systems apart from that as I

play16:56

said it needs the high availability

play16:58

capabilities right and then it may need

play17:00

a station management failure

play17:02

capabilities and the scalability okay

play17:04

and there could be multiple database are

play17:07

involved in the transactions okay so

play17:10

that means this is the part of your

play17:12

Enterprise world the functionalities are

play17:15

getting increased because we are in the

play17:16

Enterprise world we have where we have

play17:18

integration with the multiple partners

play17:20

across the world and they are working

play17:22

all together at the real times right for

play17:24

to to complete our business

play17:26

functionalities so this is called

play17:28

Enterprise world and when we are in an

play17:29

Enterprise world where we need a such

play17:31

this kind of functionalities we have a

play17:33

multiple databases we have integration

play17:35

with the multiple applications like with

play17:36

the help of JMS we have a station

play17:38

management capabilities we have failure

play17:40

capabilities load balancing failure

play17:42

scalabilities

play17:43

for that we need a full scale

play17:45

application server okay and in this part

play17:50

where we are showing that HTTP call and

play17:52

RMI call that means if we have

play17:53

application which contain the static

play17:55

contents which contain the dynamic

play17:56

content which has the business logic as

play17:58

well like okay which is deployed on your

play18:01

full flash application server like

play18:02

weblogic JBoss or web Square so you are

play18:05

there for for

play18:06

to execute the business functionalities

play18:08

which is developed in your Java ejps

play18:10

okay uh your your circulates and jsps

play18:13

can connect to your ejps with the help

play18:15

of HTTP or https call or maybe with the

play18:17

help of RMI call that is a direct call

play18:19

uh from your thick client to your

play18:22

application server okay and you may need

play18:26

to have a GTA author transactions all

play18:28

right uh where your application doing a

play18:31

lot of transactions which is uh part of

play18:33

the distributed transactions okay and

play18:35

there you may need a connection pooling

play18:37

that means you need for performance

play18:38

enhancement you need a connection pools

play18:40

and data sources as well okay so for all

play18:43

of these functionalities you will have

play18:44

full flash application server

play18:46

now it will uh I hope it will clear to

play18:50

you what is the difference between a web

play18:51

server which is specifically designed

play18:52

for a static contents okay and then when

play18:54

we talk about a small scale application

play18:56

server for execution of dynamic content

play18:58

that is developed in tablets and jsps

play19:00

then you need you have a small scale

play19:01

application server that is called Tomcat

play19:03

but when we have a ejbs which need to

play19:05

execute in the ejp container you need a

play19:08

full flash application server where we

play19:10

have a weblogic JBoss and web square

play19:12

application server so thanks for

play19:14

watching this video and stay tuned for

play19:16

you for few more interesting videos

Rate This

5.0 / 5 (0 votes)

Связанные теги
Web-ServerAnwendungsserverApache HTTPTomcatWeblogicJBossE-CommerceBusiness LogicSkalierungLoad BalancingEnterprise Java
Вам нужно краткое изложение на английском?