SlideShare ist ein Scribd-Unternehmen logo
1 von 15
WEB SERVERS

By
- Kuldeep Kulkarni
WHAT ARE WEB SERVERS ?
The software (the computer application) that helps to
deliver content that can be accessed through the
Internet.
•

The most common use of web servers is to host
websites
•

There are other uses such as gaming, data storage or
running enterprise applications.
•

A web server serves web pages to clients across the
Internet or an Intranet. The web server hosts the pages,
scripts, programs, and multimedia files and serves them
using HTTP, a protocol designed to send files to web
browsers and other protocols.
•
EXAMPLE OF WEB SERVERS….
•

Apache HTTP Server

-Developed by Apache software foundation.
- Supports most of the OS like Unix, Linux, Novell
Netware, Windows, Mac OS X, Solaris, and FreeBSD.
•

Microsoft Internet Information Services (IIS)

- Supports only on Windows platform
•

Sun Java System Web Server

- Web Server is designed for medium to large business
applications. Sun Java System Web Server is available
for most operating systems.
HOW IT WORKS ….?
TOMCAT.
Tomcat is an open source web server and servlet
container developed by the Apache Software Foundation
(ASF).
•

•

What is servlet container?

- Servlet container (also known as a Web container) is the
component of a web server that interacts with the servlets.
A web container is responsible for managing the lifecycle
of servlets, mapping a URL to a particular servlet and
ensuring that the URL requester has the correct access
rights
Tomcat implements the Java Servlet and the JavaServer
Pages (JSP) specifications from Oracle Corporation, and
provides a "pure Java" HTTP web server environment for
Java code to run.
•
HOW CONTAINER HANDLES THE SERVLET REQ ?
HOW CONTAINER HANDLES… CONT.
HOW CONTAINER HANDLES… CONT.
COMPONENTS OF TOMCAT….
1.

Catalina

Catalina is Tomcat's servlet container. Catalina
implements Sun Microsystems' specifications for
servlet and JavaServer Pages (JSP). In Tomcat, a
Realm element represents a "database" of usernames,
passwords, and roles (similar to Unix groups)
assigned to those users. Different implementations of
Realm allow Catalina to be integrated into
environments where such authentication information
is already being created and maintained, and then use
that information to implement Container Managed
Security as described in the Servlet Specification. [2]
COMPONENTS CONT….

2. Coyote
Coyote is Tomcat's HTTP Connector component
that supports the HTTP 1.1 protocol for the web
server or application container. Coyote listens for
incoming connections on a specific TCP port on
the server and forwards the request to the Tomcat
Engine to process the request and send back a
response to the requesting client.
COMPONENTS CONT….

3. Jasper

Jasper is Tomcat's JSP Engine. Tomcat 5.x uses
Jasper 2, which is an implementation of the Sun
Microsystems's JavaServer Pages 2.0 specification.
Jasper parses JSP files to compile them into Java
code as servlets (that can be handled by Catalina). At
runtime, Jasper detects changes to JSP files and
recompiles them
TOMCAT VS. APACHE
•

The Apache Web server

-

Is faster than tomcat when it comes to static pages.

-

Is more configurable than tomcat

-

Is more robust than tomcat and

-

It supports CGI scripts, Server API modules, Perl,
PHP etc.

•

Hence for world’s web sites apache would generally
be a better choice than Tomcat, except that…

•

In itself, Apache doesn’t support Servlets or
JavaServer Pages !
TOMCAT VS. APACHE…CONT.
•The

solution of course is to allow the two
Webservers to work together.
•The

Apache server will be the principal server,
dealing with static documents
•Apache

will forward requests for Servlets or Javaserver pages to tomcat
HOW TO CONFIGURE TOMCAT ?

•LINUX

http://www.youtube.com/watch?v=jWDmG3JnNLE

•WINDOWS

http://www.youtube.com/watch?v=IX8xb-suzVg
THANK YOU !

•

I hope this was informative 

QUESTIONS …..?

Weitere ähnliche Inhalte

Was ist angesagt?

Web servers (l6)
Web servers (l6)Web servers (l6)
Web servers (l6)Nanhi Sinha
 
Web server
Web serverWeb server
Web serverSajan Sahu
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)Amit Nirala
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...rahul kundu
 
Web server
Web serverWeb server
Web serverAnkit Raj
 
WEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentWEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentRandy Connolly
 
Unit 1 introduction to web programming
Unit 1 introduction to web programmingUnit 1 introduction to web programming
Unit 1 introduction to web programmingzahid7578
 
Web application architecture
Web application architectureWeb application architecture
Web application architectureTejaswini Deshpande
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web developmentbethanygfair
 
Internet basic
Internet basicInternet basic
Internet basicargusacademy
 
Web Development
Web DevelopmentWeb Development
Web DevelopmentAditya Raman
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technologyvikram singh
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarniwebhostingguy
 

Was ist angesagt? (20)

Web servers (l6)
Web servers (l6)Web servers (l6)
Web servers (l6)
 
Web server
Web serverWeb server
Web server
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
 
Web technology
Web technologyWeb technology
Web technology
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
 
Web server
Web serverWeb server
Web server
 
IIS
IISIIS
IIS
 
Apache web server
Apache web serverApache web server
Apache web server
 
WEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web DevelopmentWEB I - 01 - Introduction to Web Development
WEB I - 01 - Introduction to Web Development
 
Unit 1 introduction to web programming
Unit 1 introduction to web programmingUnit 1 introduction to web programming
Unit 1 introduction to web programming
 
Web application architecture
Web application architectureWeb application architecture
Web application architecture
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
 
Internet basic
Internet basicInternet basic
Internet basic
 
Web Development
Web DevelopmentWeb Development
Web Development
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
Xml
XmlXml
Xml
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
 
Scripting Languages
Scripting LanguagesScripting Languages
Scripting Languages
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarni
 

Ähnlich wie Web servers

TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALATOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALASaikiran Panjala
 
Introduction of Tomcat
Introduction of TomcatIntroduction of Tomcat
Introduction of TomcatDebashis Nath
 
What is Web Server & It's Types.pdf
What is Web Server & It's Types.pdfWhat is Web Server & It's Types.pdf
What is Web Server & It's Types.pdfDinesh Katyare
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Type of Web server.pdf
Type of Web server.pdfType of Web server.pdf
Type of Web server.pdfHost It Smart
 
Presentation 1
Presentation 1Presentation 1
Presentation 1aisadhsa
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache TomcatAuwal Amshi
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache), webhostingguy
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache), webhostingguy
 
SHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsSHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsnick_garrod
 
SHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsSHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsnick_garrod
 
Tumbleweed intro
Tumbleweed introTumbleweed intro
Tumbleweed introRich Helton
 
01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setupdhrubo kayal
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC vipin kumar
 
Web Server Types - Understanding a Web Server
Web Server Types - Understanding a Web ServerWeb Server Types - Understanding a Web Server
Web Server Types - Understanding a Web ServerCloudtechtiq
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...Edward Burns
 

Ähnlich wie Web servers (20)

TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALATOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
TOMCAT WEB SERVER TECHNICAL BY SAIKIRAN PANJALA
 
Introduction of Tomcat
Introduction of TomcatIntroduction of Tomcat
Introduction of Tomcat
 
What is Web Server & It's Types.pdf
What is Web Server & It's Types.pdfWhat is Web Server & It's Types.pdf
What is Web Server & It's Types.pdf
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
bjhbj
bjhbjbjhbj
bjhbj
 
Type of Web server.pdf
Type of Web server.pdfType of Web server.pdf
Type of Web server.pdf
 
Presentation 1
Presentation 1Presentation 1
Presentation 1
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache Tomcat
 
Servlet by Rj
Servlet by RjServlet by Rj
Servlet by Rj
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
 
SHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsSHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applications
 
SHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsSHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applications
 
Tumbleweed intro
Tumbleweed introTumbleweed intro
Tumbleweed intro
 
01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup01 overview-servlets-and-environment-setup
01 overview-servlets-and-environment-setup
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
 
Apache tomcat
Apache tomcatApache tomcat
Apache tomcat
 
Web Server Types - Understanding a Web Server
Web Server Types - Understanding a Web ServerWeb Server Types - Understanding a Web Server
Web Server Types - Understanding a Web Server
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
 
Apache
ApacheApache
Apache
 

KĂźrzlich hochgeladen

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂşjo
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

KĂźrzlich hochgeladen (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

Web servers

  • 2. WHAT ARE WEB SERVERS ? The software (the computer application) that helps to deliver content that can be accessed through the Internet. • The most common use of web servers is to host websites • There are other uses such as gaming, data storage or running enterprise applications. • A web server serves web pages to clients across the Internet or an Intranet. The web server hosts the pages, scripts, programs, and multimedia files and serves them using HTTP, a protocol designed to send files to web browsers and other protocols. •
  • 3. EXAMPLE OF WEB SERVERS…. • Apache HTTP Server -Developed by Apache software foundation. - Supports most of the OS like Unix, Linux, Novell Netware, Windows, Mac OS X, Solaris, and FreeBSD. • Microsoft Internet Information Services (IIS) - Supports only on Windows platform • Sun Java System Web Server - Web Server is designed for medium to large business applications. Sun Java System Web Server is available for most operating systems.
  • 4. HOW IT WORKS ….?
  • 5. TOMCAT. Tomcat is an open source web server and servlet container developed by the Apache Software Foundation (ASF). • • What is servlet container? - Servlet container (also known as a Web container) is the component of a web server that interacts with the servlets. A web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access rights Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle Corporation, and provides a "pure Java" HTTP web server environment for Java code to run. •
  • 6. HOW CONTAINER HANDLES THE SERVLET REQ ?
  • 9. COMPONENTS OF TOMCAT…. 1. Catalina Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP). In Tomcat, a Realm element represents a "database" of usernames, passwords, and roles (similar to Unix groups) assigned to those users. Different implementations of Realm allow Catalina to be integrated into environments where such authentication information is already being created and maintained, and then use that information to implement Container Managed Security as described in the Servlet Specification. [2]
  • 10. COMPONENTS CONT…. 2. Coyote Coyote is Tomcat's HTTP Connector component that supports the HTTP 1.1 protocol for the web server or application container. Coyote listens for incoming connections on a specific TCP port on the server and forwards the request to the Tomcat Engine to process the request and send back a response to the requesting client.
  • 11. COMPONENTS CONT…. 3. Jasper Jasper is Tomcat's JSP Engine. Tomcat 5.x uses Jasper 2, which is an implementation of the Sun Microsystems's JavaServer Pages 2.0 specification. Jasper parses JSP files to compile them into Java code as servlets (that can be handled by Catalina). At runtime, Jasper detects changes to JSP files and recompiles them
  • 12. TOMCAT VS. APACHE • The Apache Web server - Is faster than tomcat when it comes to static pages. - Is more configurable than tomcat - Is more robust than tomcat and - It supports CGI scripts, Server API modules, Perl, PHP etc. • Hence for world’s web sites apache would generally be a better choice than Tomcat, except that… • In itself, Apache doesn’t support Servlets or JavaServer Pages !
  • 13. TOMCAT VS. APACHE…CONT. •The solution of course is to allow the two Webservers to work together. •The Apache server will be the principal server, dealing with static documents •Apache will forward requests for Servlets or Javaserver pages to tomcat
  • 14. HOW TO CONFIGURE TOMCAT ? •LINUX http://www.youtube.com/watch?v=jWDmG3JnNLE •WINDOWS http://www.youtube.com/watch?v=IX8xb-suzVg
  • 15. THANK YOU ! • I hope this was informative  QUESTIONS …..?