SlideShare a Scribd company logo
1 of 14
Sasidhar
JAVA SERVLETSJAVA SERVLETS
SASIDHAR
Sasidhar
2
Web Server
A web server is a network server that manages
access to files, folders and other resources over
Internet or local Intranet via HTTP
◦ Handle permissions
◦ Execute programs
◦ Keep track of directories and files
◦ Communicate with client computers
A web server consists of a computer with:
◦ a suitable operating system
◦ a suitable file system
◦ a network connection
◦ web server software – which accepts requests from
browsers such as IE and Netscape
Sasidhar
Web Server ………
 A Web server handles the HTTP protocol.
 When the Web server receives an HTTP request, it
responds with an HTTP response, such as sending back an
HTML page.
 To process a request, a Web server may respond with a
HTML page or image, send a redirect, or delegate the
dynamic response generation to some other program such
as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs
(Active Server Pages), server-side JavaScripts, or some
other server-side technology.
 such server-side programs generate a response, most often
in HTML, for viewing in a Web browser.
.
Sasidhar
Web Server ……..
Web server's delegation model is fairly simple.
When a request comes into the Web server, the
Web server simply passes the request to the
program best able to handle it.
The Web server doesn't provide any functionality
beyond simply providing an environment in which
the server-side program can execute and pass
back the generated responses.
The server-side program usually provides for itself
such functions as transaction processing, database
connectivity, and messaging.
Sasidhar
Web Server …….
While a Web server may not itself support
transactions or database connection pooling,
it may employ various strategies for fault
tolerance and scalability such as load
balancing, caching, and clustering—features
oftentimes erroneously assigned as features
reserved only for application servers
Sasidhar
6
Web Architecture
Multi-tier architecture:
◦ Application-level or middleware: has an application
server, which is used to find requested data and
services, makes them available for viewing, and carries
out transactions.
◦ Data and service level: has a variety of data and services
accessible by the application server.
Database
server
Client computers
with web
browsers
Web server
Internet
HTTP request
HTTP response
Presentation
level
Content level
Data and
service level
Application
server
Application
level
Billing
system
Sasidhar
Application Server
Application server exposes business logic to
client applications through various protocols,
including HTTP.
Application server provides access to
business logic for use by client application
programs. The application program can use
this logic just as it would call a method on an
object (or a function in the procedural
world).
Sasidhar
Application Server
Application server clients can include GUIs
(running on a PC, a Web server, or even
other application servers.
The information traveling back and forth
between an application server and its client is
not restricted to simple display markup.
 Instead, the information is program logic.
Since the logic takes the form of data and
method calls and not static HTML, the client
can employ the exposed business logic
however it wants.
Sasidhar
Application Server
In most cases, the server exposes this
business logic through a component API,
such as the EJB (Enterprise JavaBean)
component model found on J2EE (Java 2
Enterprise Edition) application servers.
 Moreover, the application server manages
its own resources that include security,
transaction processing, resource pooling, and
messaging.
Like a Web server, an application server may
also employ various scalability and fault-
tolerance techniques.
Sasidhar
Application Server
Sasidhar
Web serversWeb servers
Internet Information Server
Personal Web Server
Java Web Server
Apache Tomcat Server
Web Logic
Sasidhar
Tomcat web serverTomcat web server
 For the deployment the steps are to be followed:
1. Put the source code for the servlet in the
Server_root/webapps/ROOT/WEB-INF/classes directory
This is a standard location for servlet class files.
2. Include server_root /lib/servlet.jar somewhere in class
path so that the two packages will be included in the class
path.
3. Compile the servlet using javac filename.java
4. After compiling start the server by looking the startup.sh
script in the server root/bin directory
Sasidhar
To access the servlet, type the URL in the
browser as (if the server is on the local machine)
http://localhost :8080/servlet/passwordcheck.
Tomcat web serverTomcat web server
Sasidhar
Introduction to servletsIntroduction to servlets
Servlet runs on the server and will respond to a
request from the client either in the form of
HTML pages, dynamic pages or indeed applets.

More Related Content

What's hot

Module – administer ca service desk
Module – administer ca service deskModule – administer ca service desk
Module – administer ca service deskArshad Havaldar
 
Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3Mike Taylor
 
State management
State managementState management
State managementIblesoft
 
Session and state management
Session and state managementSession and state management
Session and state managementPaneliya Prince
 
Internet server components
Internet server componentsInternet server components
Internet server componentsJay Patel
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and softwareHumma Rashid
 
State management
State managementState management
State managementteach4uin
 
SharePoint Saturday bmore2015
SharePoint Saturday bmore2015SharePoint Saturday bmore2015
SharePoint Saturday bmore2015Bhakthi Liyanage
 
05 asp.net session07
05 asp.net session0705 asp.net session07
05 asp.net session07Vivek chan
 
State Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVCState Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVCjinaldesailive
 

What's hot (16)

Module – administer ca service desk
Module – administer ca service deskModule – administer ca service desk
Module – administer ca service desk
 
Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3
 
State management
State managementState management
State management
 
Session and state management
Session and state managementSession and state management
Session and state management
 
Websphere - Introduction to SSL part 1
Websphere  - Introduction to SSL part 1Websphere  - Introduction to SSL part 1
Websphere - Introduction to SSL part 1
 
Internet server components
Internet server componentsInternet server components
Internet server components
 
Web servers
Web serversWeb servers
Web servers
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
State management
State managementState management
State management
 
SharePoint Saturday bmore2015
SharePoint Saturday bmore2015SharePoint Saturday bmore2015
SharePoint Saturday bmore2015
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
 
05 asp.net session07
05 asp.net session0705 asp.net session07
05 asp.net session07
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
 
State Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVCState Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVC
 
Aqua presentation
Aqua presentationAqua presentation
Aqua presentation
 
State management in ASP .NET
State  management in ASP .NETState  management in ASP .NET
State management in ASP .NET
 

Viewers also liked

Spilltidslinje
SpilltidslinjeSpilltidslinje
SpilltidslinjeHjoorten
 
Servicio tecnico secadora Alaquas - 96.393.63.43
Servicio tecnico secadora Alaquas - 96.393.63.43Servicio tecnico secadora Alaquas - 96.393.63.43
Servicio tecnico secadora Alaquas - 96.393.63.43Solucion Facil
 
Google place company listing work
Google place company listing workGoogle place company listing work
Google place company listing workPatel Infosoft
 
Enterprise java evolució, avagy java ee (
Enterprise java evolució, avagy java ee (Enterprise java evolució, avagy java ee (
Enterprise java evolució, avagy java ee (Attila Balogh-Biró
 
Pe estimate ratgal
Pe estimate ratgalPe estimate ratgal
Pe estimate ratgalscpvinod
 
Tawajod Company profile 2015
Tawajod Company profile 2015Tawajod Company profile 2015
Tawajod Company profile 2015Emeline Marteja
 
6) what have you learnt about technologies
6) what have you learnt about technologies6) what have you learnt about technologies
6) what have you learnt about technologiesntoner463
 

Viewers also liked (16)

Kata nasihat
Kata nasihatKata nasihat
Kata nasihat
 
Spilltidslinje
SpilltidslinjeSpilltidslinje
Spilltidslinje
 
Servicio tecnico secadora Alaquas - 96.393.63.43
Servicio tecnico secadora Alaquas - 96.393.63.43Servicio tecnico secadora Alaquas - 96.393.63.43
Servicio tecnico secadora Alaquas - 96.393.63.43
 
Franchisee dealership
Franchisee   dealershipFranchisee   dealership
Franchisee dealership
 
Email sending work
Email sending workEmail sending work
Email sending work
 
Google place company listing work
Google place company listing workGoogle place company listing work
Google place company listing work
 
Appreciation Certificate
Appreciation CertificateAppreciation Certificate
Appreciation Certificate
 
BEP MG
BEP MGBEP MG
BEP MG
 
Enterprise java evolució, avagy java ee (
Enterprise java evolució, avagy java ee (Enterprise java evolució, avagy java ee (
Enterprise java evolució, avagy java ee (
 
CAP MG
CAP MGCAP MG
CAP MG
 
Informenla historia escolar.
Informenla historia escolar.Informenla historia escolar.
Informenla historia escolar.
 
Pe estimate ratgal
Pe estimate ratgalPe estimate ratgal
Pe estimate ratgal
 
Tawajod Company profile 2015
Tawajod Company profile 2015Tawajod Company profile 2015
Tawajod Company profile 2015
 
6) what have you learnt about technologies
6) what have you learnt about technologies6) what have you learnt about technologies
6) what have you learnt about technologies
 
Diapositivas trastornos
Diapositivas trastornosDiapositivas trastornos
Diapositivas trastornos
 
rukun iman
rukun iman rukun iman
rukun iman
 

Similar to Servers names

web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt20521742
 
Server side programming
Server side programming Server side programming
Server side programming javed ahmed
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web ServerGagandeep Singh
 
java Servlet technology
java Servlet technologyjava Servlet technology
java Servlet technologyTanmoy Barman
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing Techglyphs
 
Peoplesoft PIA architecture
Peoplesoft PIA architecturePeoplesoft PIA architecture
Peoplesoft PIA architectureAmit rai Raaz
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache TomcatAuwal Amshi
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02kishore2526
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)slire
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questionsgummadi1
 
WEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxWEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxkarthiksmart21
 
0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdfZani10
 
UNIT-3 Servlet
UNIT-3 ServletUNIT-3 Servlet
UNIT-3 Servletssbd6985
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music storeADEEBANADEEM
 

Similar to Servers names (20)

Unit5 servlets
Unit5 servletsUnit5 servlets
Unit5 servlets
 
Ecom 1
Ecom 1Ecom 1
Ecom 1
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
 
Server side programming
Server side programming Server side programming
Server side programming
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
JAVA
JAVAJAVA
JAVA
 
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web Server
 
java Servlet technology
java Servlet technologyjava Servlet technology
java Servlet technology
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing
 
Servlet by Rj
Servlet by RjServlet by Rj
Servlet by Rj
 
Peoplesoft PIA architecture
Peoplesoft PIA architecturePeoplesoft PIA architecture
Peoplesoft PIA architecture
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache Tomcat
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questions
 
WEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxWEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptx
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
 
0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf
 
UNIT-3 Servlet
UNIT-3 ServletUNIT-3 Servlet
UNIT-3 Servlet
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 

More from Sasidhar Kothuru (20)

Spsl vi unit final
Spsl vi unit finalSpsl vi unit final
Spsl vi unit final
 
Spsl iv unit final
Spsl iv unit  finalSpsl iv unit  final
Spsl iv unit final
 
Spsl v unit - final
Spsl v unit - finalSpsl v unit - final
Spsl v unit - final
 
Spsl iv unit final
Spsl iv unit  finalSpsl iv unit  final
Spsl iv unit final
 
Spsl v unit - final
Spsl v unit - finalSpsl v unit - final
Spsl v unit - final
 
Spsl by sasidhar 3 unit
Spsl by sasidhar  3 unitSpsl by sasidhar  3 unit
Spsl by sasidhar 3 unit
 
Spsl unit1
Spsl   unit1Spsl   unit1
Spsl unit1
 
Spsl II unit
Spsl   II unitSpsl   II unit
Spsl II unit
 
Jdbc sasidhar
Jdbc  sasidharJdbc  sasidhar
Jdbc sasidhar
 
Servlets
ServletsServlets
Servlets
 
Servers names
Servers namesServers names
Servers names
 
Web Technologies -- Servlets 4 unit slides
Web Technologies -- Servlets   4 unit slidesWeb Technologies -- Servlets   4 unit slides
Web Technologies -- Servlets 4 unit slides
 
Xml quiz 3 unit
Xml quiz   3 unitXml quiz   3 unit
Xml quiz 3 unit
 
Web technologies quiz questions - unit1,2
Web technologies quiz questions  - unit1,2Web technologies quiz questions  - unit1,2
Web technologies quiz questions - unit1,2
 
Web technologies 4th unit quiz
Web technologies 4th unit quizWeb technologies 4th unit quiz
Web technologies 4th unit quiz
 
Xml quiz 3 unit
Xml quiz   3 unitXml quiz   3 unit
Xml quiz 3 unit
 
Web technologies quiz questions - unit1,2
Web technologies quiz questions  - unit1,2Web technologies quiz questions  - unit1,2
Web technologies quiz questions - unit1,2
 
Jsp sasidhar
Jsp sasidharJsp sasidhar
Jsp sasidhar
 
Xml sasidhar
Xml  sasidharXml  sasidhar
Xml sasidhar
 
Java script -23jan2015
Java script -23jan2015Java script -23jan2015
Java script -23jan2015
 

Recently uploaded

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
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
 
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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
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
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
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
 
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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 

Servers names

  • 2. Sasidhar 2 Web Server A web server is a network server that manages access to files, folders and other resources over Internet or local Intranet via HTTP ◦ Handle permissions ◦ Execute programs ◦ Keep track of directories and files ◦ Communicate with client computers A web server consists of a computer with: ◦ a suitable operating system ◦ a suitable file system ◦ a network connection ◦ web server software – which accepts requests from browsers such as IE and Netscape
  • 3. Sasidhar Web Server ………  A Web server handles the HTTP protocol.  When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page.  To process a request, a Web server may respond with a HTML page or image, send a redirect, or delegate the dynamic response generation to some other program such as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs (Active Server Pages), server-side JavaScripts, or some other server-side technology.  such server-side programs generate a response, most often in HTML, for viewing in a Web browser. .
  • 4. Sasidhar Web Server …….. Web server's delegation model is fairly simple. When a request comes into the Web server, the Web server simply passes the request to the program best able to handle it. The Web server doesn't provide any functionality beyond simply providing an environment in which the server-side program can execute and pass back the generated responses. The server-side program usually provides for itself such functions as transaction processing, database connectivity, and messaging.
  • 5. Sasidhar Web Server ……. While a Web server may not itself support transactions or database connection pooling, it may employ various strategies for fault tolerance and scalability such as load balancing, caching, and clustering—features oftentimes erroneously assigned as features reserved only for application servers
  • 6. Sasidhar 6 Web Architecture Multi-tier architecture: ◦ Application-level or middleware: has an application server, which is used to find requested data and services, makes them available for viewing, and carries out transactions. ◦ Data and service level: has a variety of data and services accessible by the application server. Database server Client computers with web browsers Web server Internet HTTP request HTTP response Presentation level Content level Data and service level Application server Application level Billing system
  • 7. Sasidhar Application Server Application server exposes business logic to client applications through various protocols, including HTTP. Application server provides access to business logic for use by client application programs. The application program can use this logic just as it would call a method on an object (or a function in the procedural world).
  • 8. Sasidhar Application Server Application server clients can include GUIs (running on a PC, a Web server, or even other application servers. The information traveling back and forth between an application server and its client is not restricted to simple display markup.  Instead, the information is program logic. Since the logic takes the form of data and method calls and not static HTML, the client can employ the exposed business logic however it wants.
  • 9. Sasidhar Application Server In most cases, the server exposes this business logic through a component API, such as the EJB (Enterprise JavaBean) component model found on J2EE (Java 2 Enterprise Edition) application servers.  Moreover, the application server manages its own resources that include security, transaction processing, resource pooling, and messaging. Like a Web server, an application server may also employ various scalability and fault- tolerance techniques.
  • 11. Sasidhar Web serversWeb servers Internet Information Server Personal Web Server Java Web Server Apache Tomcat Server Web Logic
  • 12. Sasidhar Tomcat web serverTomcat web server  For the deployment the steps are to be followed: 1. Put the source code for the servlet in the Server_root/webapps/ROOT/WEB-INF/classes directory This is a standard location for servlet class files. 2. Include server_root /lib/servlet.jar somewhere in class path so that the two packages will be included in the class path. 3. Compile the servlet using javac filename.java 4. After compiling start the server by looking the startup.sh script in the server root/bin directory
  • 13. Sasidhar To access the servlet, type the URL in the browser as (if the server is on the local machine) http://localhost :8080/servlet/passwordcheck. Tomcat web serverTomcat web server
  • 14. Sasidhar Introduction to servletsIntroduction to servlets Servlet runs on the server and will respond to a request from the client either in the form of HTML pages, dynamic pages or indeed applets.