SlideShare a Scribd company logo
WEB Basics
SAGAR PUDI | SOFTWARE DEVELOPER
CONNECT ME HERE : IN.LINKEDIN.COM/IN/SAGARPUDI
AGENDA
• CLIENT-SERVER ARCHITECTURE
• HTTP PROTOCOL
• THICK CLIENT
• THIN CLIENT
• WEB SERVER
• APPLICATION SERVER
• PACKAGING APPLICATIONS FOR DEPLOYMENT (JAR, WAR, EAR)
• DEPLOYMENT DESCRIPTOR (WEB.XML)
• URL
CLIENT-SERVER ARCHITECTURE
Fig.1.1 Client-Server Architecture
EXAMPLE OF CLIENT-SERVER ARCHITECTURE
Fig.1.2 Example of Client-Server Architecture
HTTP METHODS
• OPTIONS
• GET
• HEAD
• POST
• PUT
• DELETE
• TRACE
• CONNECT
HTTP STATUS CODES• 1XX –INFORMATIONAL
• 2XX –SUCCESS
• 3XX –REDIRECTION
• 4XX –CLIENT ERROR
• 5XX –SERVER ERROR
THICK CLIENT(FAT CLIENT)
• A THICK CLIENT IS A COMPUTER THAT DOES NOT REQUIRE A CONNECTION TO A
SERVER SYSTEM IN ORDER TO RUN (UNLIKE A THIN CLIENT), ALTHOUGH THEY CAN
BENEFIT FROM BEING CONNECTED TO A NETWORK AND A SERVER.
FIG.1.3. PERSONAL COMPUTER, A FORM OF THICK CLIENT.
• THICK CLIENTS HAVE THEIR OWN OPERATING SYSTEM AND SOFTWARE
APPLICATIONS AND CAN BE USED OFFLINE.
THIN CLIENT
• THIN CLIENTS ARE NOT TYPICAL COMPUTERS, BUT RATHER A TERMINAL THAT RELIES ON
ANOTHER COMPUTER SYSTEM (USUALLY A SERVER) TO SUPPLY THE OPERATING SYSTEM AND
SOFTWARE APPLICATIONS NEEDED BY THE USER.
FIG.1.4. THIN CLIENTS CONNECTED TO THEIR SERVER VIA A COMPUTER NETWORK.
WEB SERVER
• A WEB SERVER IS A COMPUTER SYSTEM THAT PROCESSES REQUESTS VIA HTTP,
THE BASIC NETWORK PROTOCOL USED TO DISTRIBUTE INFORMATION ON
THE WORLD WIDE WEB.
• THE TERM CAN REFER EITHER TO THE ENTIRE SYSTEM, OR SPECIFICALLY TO THE
SOFTWARE THAT ACCEPTS AND SUPERVISES THE HTTP REQUESTS.
• APACHE AND IIS ARE THE MOST USED WEB SERVERS ON THE INTERNET.
APPLICATION SERVER
• AN APPLICATION SERVER CAN BE EITHER A SOFTWARE FRAMEWORK THAT PROVIDES
A GENERALIZED APPROACH TO CREATING AN APPLICATION-SERVER
IMPLEMENTATION, REGARD TO WHAT THE APPLICATION FUNCTIONS ARE, OR THE
SERVER PORTION OF A SPECIFIC IMPLEMENTATION INSTANCE.
• IN EITHER CASE, THE SERVER'S FUNCTION IS DEDICATED TO THE EFFICIENT
EXECUTION OF PROCEDURES (PROGRAMS, ROUTINES, SCRIPTS) FOR SUPPORTING ITS
APPLIED APPLICATIONS.
PACKAGING JAVA APPLICATIONS
• JAR –JAVA ARCHIVE
• JAR (JAVA ARCHIVE) IS A PACKAGE FILE FORMAT TYPICALLY USED TO
AGGREGATE MANY JAVA CLASS FILES AND ASSOCIATED METADATA AND
RESOURCES (TEXT, IMAGES, ETC.) INTO ONE FILE TO DISTRIBUTE APPLICATION
SOFTWARE OR LIBRARIES ON THE JAVA PLATFORM.
PACKAGING JAVA WEB APPLICATIONS
• WAR –WEB APPLICATION ARCHIVE
PACKAGING JAVA ENTERPRISE APPLICATIONS
• EAR –ENTERPRISE APPLICATION ARCHIVE
DEPLOYMENT DESCRIPTOR
• A DEPLOYMENT DESCRIPTOR IS AN XML DOCUMENT WITH AN .XML EXTENSION
THAT DESCRIBES THE DEPLOYMENT SETTINGS OF AN APPLICATION, A MODULE,
OR A COMPONENT. BECAUSE DEPLOYMENT DESCRIPTOR INFORMATION IS
DECLARATIVE, IT CAN BE CHANGED WITHOUT THE NEED TO MODIFY THE
SOURCE CODE.
• AT RUNTIME, THE JAVA EE SERVER READS THE DEPLOYMENT DESCRIPTOR AND
ACTS UPON THE APPLICATION, MODULE, OR COMPONENT ACCORDINGLY.
( E.G. : WEB.XML, APPLICATION.XML )
WEB.XML
• A WEB APPLICATION'S DEPLOYMENT DESCRIPTOR DESCRIBES THE CLASSES,
RESOURCES AND CONFIGURATION OF THE APPLICATION AND HOW THE WEB
SERVER USES THEM TO SERVE WEB REQUESTS.
• WHEN THE WEB SERVER RECEIVES A REQUEST FOR THE APPLICATION, IT USES
THE DEPLOYMENT DESCRIPTOR TO MAP THE URL OF THE REQUEST TO THE
CODE THAT OUGHT TO HANDLE THE REQUEST.
• WEB.XML IS PART OF THE SERVLET STANDARD FOR WEB APPLICATIONS.
1. CONFIGURING AND MAPPING A SERVLET
2. SERVLET INIT PARAMETERS
3. SERVLET LOAD-ON-STARTUP
4. CONTEXT PARAMETERS
URL
• URL IS AN ACRONYM FOR UNIFORM RESOURCE LOCATOR AND IS A REFERENCE (AN
ADDRESS) TO A RESOURCE ON THE INTERNET.
URL=PROTOCOL IDENTIFIER + RESOURCE NAME
[SCHEME://HOSTNAME:PORT/PATH?NAME=VALUE]
MAKE THINGS AS SIMPLE AS YOU CAN BUT NOT
SIMPLER EINSTEIN
THANK YOU

More Related Content

What's hot (20)

PDF
Application Development with Apache Cassandra as a Service
WSO2
 
PDF
Weblogic configuration
Aditya Bhuyan
 
PDF
(ATS6-DEV06) Using Packages for Protocol, Component, and Application Delivery
BIOVIA
 
PDF
(ATS6-GS02) Integrating Contur and HEOS
BIOVIA
 
PPT
Amazon simple db
Dayanand Shanmugham
 
PDF
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2
 
PPTX
Always on in SQL Server 2012
Fadi Abdulwahab
 
PPTX
ETL in data warehouse as a service enviornment
Sanil Mhatre
 
PPT
Coast gis talk
Carl Sack
 
PPTX
Getting Started, Low Hanging Fruit: Our First Experiences with Oracle Managem...
Lucas Jellema
 
PDF
Delivering Pluggable Database as a Service
Pete Sharman
 
PPTX
The Essentials of Building Cloud-Based Web Apps with Azure
Ido Flatow
 
PDF
Datasheet weblogic midvisionextensionforibmraf
MidVision
 
PPTX
SQL Server Deployments made easy with DACPAC
Sanil Mhatre
 
PPTX
Manageability Enhancements of SQL Server 2012
Microsoft TechNet - Belgium and Luxembourg
 
PDF
How Kafka and MemSQL Became the Dynamic Duo (Sarung Tripathi, MemSQL) Kafka S...
HostedbyConfluent
 
PDF
SpringPeople Introduction to MongoDB Administration
SpringPeople
 
PPTX
Change Data Capture using Kafka
Akash Vacher
 
PPTX
Lamar University CAS HA
srinivasvaradaraj
 
PDF
Enterprise Integration with the WSO2 ESB
WSO2
 
Application Development with Apache Cassandra as a Service
WSO2
 
Weblogic configuration
Aditya Bhuyan
 
(ATS6-DEV06) Using Packages for Protocol, Component, and Application Delivery
BIOVIA
 
(ATS6-GS02) Integrating Contur and HEOS
BIOVIA
 
Amazon simple db
Dayanand Shanmugham
 
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2
 
Always on in SQL Server 2012
Fadi Abdulwahab
 
ETL in data warehouse as a service enviornment
Sanil Mhatre
 
Coast gis talk
Carl Sack
 
Getting Started, Low Hanging Fruit: Our First Experiences with Oracle Managem...
Lucas Jellema
 
Delivering Pluggable Database as a Service
Pete Sharman
 
The Essentials of Building Cloud-Based Web Apps with Azure
Ido Flatow
 
Datasheet weblogic midvisionextensionforibmraf
MidVision
 
SQL Server Deployments made easy with DACPAC
Sanil Mhatre
 
Manageability Enhancements of SQL Server 2012
Microsoft TechNet - Belgium and Luxembourg
 
How Kafka and MemSQL Became the Dynamic Duo (Sarung Tripathi, MemSQL) Kafka S...
HostedbyConfluent
 
SpringPeople Introduction to MongoDB Administration
SpringPeople
 
Change Data Capture using Kafka
Akash Vacher
 
Lamar University CAS HA
srinivasvaradaraj
 
Enterprise Integration with the WSO2 ESB
WSO2
 

Viewers also liked (20)

PPTX
Basics of html for web development by software outsourcing company india
Jignesh Aakoliya
 
PPTX
Basic Web Development
Jason Castellano
 
PPT
Web Basics
Lisa Lindsay
 
PPSX
Putting SOAP to REST
Igor Moochnick
 
PDF
HTML & JavaScript Introduction
Alexe Bogdan
 
PPT
Web 2.0 Introduction
Steven Tuck
 
PPTX
Fundamentos técnicos de internet
Aitor Andrés Sánchez
 
PPT
Fundamentos técnicos de internet
Sandra Cecilia Regel
 
PPTX
Fundamentos técnicos de internet
David Cava
 
PPTX
DNS & HTTP overview
Roman Wlodarski
 
PDF
Html,javascript & css
Predhin Sapru
 
PPSX
DIWE - Coding HTML for Basic Web Designing
Rasan Samarasinghe
 
PDF
An introduction to Web 2.0: The User Role
Kiko Llaneras
 
PPT
Introduction to Web 2.0
Jane Hart
 
PPT
Dns introduction
sunil kumar
 
PPT
Web of Science: REST or SOAP?
Duncan Hull
 
PPTX
TCP/IP and DNS
Biswadip Dey
 
DOCX
Kanchan Ghangrekar_SrTestingAnalyst
Kanchan Ghangrekar
 
PPTX
TCP/IP Protocols
Danial Mirza
 
Basics of html for web development by software outsourcing company india
Jignesh Aakoliya
 
Basic Web Development
Jason Castellano
 
Web Basics
Lisa Lindsay
 
Putting SOAP to REST
Igor Moochnick
 
HTML & JavaScript Introduction
Alexe Bogdan
 
Web 2.0 Introduction
Steven Tuck
 
Fundamentos técnicos de internet
Aitor Andrés Sánchez
 
Fundamentos técnicos de internet
Sandra Cecilia Regel
 
Fundamentos técnicos de internet
David Cava
 
DNS & HTTP overview
Roman Wlodarski
 
Html,javascript & css
Predhin Sapru
 
DIWE - Coding HTML for Basic Web Designing
Rasan Samarasinghe
 
An introduction to Web 2.0: The User Role
Kiko Llaneras
 
Introduction to Web 2.0
Jane Hart
 
Dns introduction
sunil kumar
 
Web of Science: REST or SOAP?
Duncan Hull
 
TCP/IP and DNS
Biswadip Dey
 
Kanchan Ghangrekar_SrTestingAnalyst
Kanchan Ghangrekar
 
TCP/IP Protocols
Danial Mirza
 
Ad

Similar to Web basics (20)

PDF
WSO2 Application Server - 5.0.0
WSO2
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PDF
Stay productive_while_slicing_up_the_monolith
Markus Eisele
 
PDF
Data power v7 update - Ravi Katikala
floridawusergroup
 
PPT
SaaS External Presentation
Shivanshu Upadhyay
 
PDF
Oracle COTS Applications on AWS
Tom Laszewski
 
PPTX
SimplifyStreamingArchitecture
Maheedhar Gunturu
 
PDF
Paa sing a java ee 6 application kshitiz saxena
IndicThreads
 
PDF
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
Spark Summit
 
PDF
BDTC2015 hulu-梁宇明-voidbox - docker on yarn
Jerry Wen
 
PDF
What's New and Noteworthy on Oracle CAF 12.1.3
Bruno Borges
 
PPTX
Enabling DevOps to optimize application and server performance
ManageEngine, Zoho Corporation
 
PDF
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
Michael Hichwa
 
PPTX
Oracle Solutions on AWS : May 2014
Tom Laszewski
 
PDF
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
Juarez Junior
 
PDF
Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux
John Burwell
 
PDF
C4 optimizing your_application_infrastructure
Dr. Wilfred Lin (Ph.D.)
 
PDF
VMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
VMworld
 
PPTX
Modern DevOps across Technologies on premises and clouds with Oracle Manageme...
Lucas Jellema
 
PDF
Practical lessons from customers performing digital transformation with Azure
Edward Burns
 
WSO2 Application Server - 5.0.0
WSO2
 
Stay productive while slicing up the monolith
Markus Eisele
 
Stay productive_while_slicing_up_the_monolith
Markus Eisele
 
Data power v7 update - Ravi Katikala
floridawusergroup
 
SaaS External Presentation
Shivanshu Upadhyay
 
Oracle COTS Applications on AWS
Tom Laszewski
 
SimplifyStreamingArchitecture
Maheedhar Gunturu
 
Paa sing a java ee 6 application kshitiz saxena
IndicThreads
 
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
Spark Summit
 
BDTC2015 hulu-梁宇明-voidbox - docker on yarn
Jerry Wen
 
What's New and Noteworthy on Oracle CAF 12.1.3
Bruno Borges
 
Enabling DevOps to optimize application and server performance
ManageEngine, Zoho Corporation
 
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
Michael Hichwa
 
Oracle Solutions on AWS : May 2014
Tom Laszewski
 
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
Juarez Junior
 
Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux
John Burwell
 
C4 optimizing your_application_infrastructure
Dr. Wilfred Lin (Ph.D.)
 
VMworld 2013: Architecting VMware Horizon Workspace for Scale and Performance
VMworld
 
Modern DevOps across Technologies on premises and clouds with Oracle Manageme...
Lucas Jellema
 
Practical lessons from customers performing digital transformation with Azure
Edward Burns
 
Ad

Recently uploaded (20)

PPTX
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PPTX
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
PPTX
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
PPT
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Translation_ Definition, Scope & Historical Development.pptx
DhatriParmar
 
PPTX
Digital Professionalism and Interpersonal Competence
rutvikgediya1
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PPTX
Introduction to Probability(basic) .pptx
purohitanuj034
 
PPTX
LDP-2 UNIT 4 Presentation for practical.pptx
abhaypanchal2525
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
PPTX
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PDF
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
Translation_ Definition, Scope & Historical Development.pptx
DhatriParmar
 
Digital Professionalism and Interpersonal Competence
rutvikgediya1
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
Introduction to Probability(basic) .pptx
purohitanuj034
 
LDP-2 UNIT 4 Presentation for practical.pptx
abhaypanchal2525
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
EXCRETION-STRUCTURE OF NEPHRON,URINE FORMATION
raviralanaresh2
 

Web basics

  • 1. WEB Basics SAGAR PUDI | SOFTWARE DEVELOPER CONNECT ME HERE : IN.LINKEDIN.COM/IN/SAGARPUDI
  • 2. AGENDA • CLIENT-SERVER ARCHITECTURE • HTTP PROTOCOL • THICK CLIENT • THIN CLIENT • WEB SERVER • APPLICATION SERVER • PACKAGING APPLICATIONS FOR DEPLOYMENT (JAR, WAR, EAR) • DEPLOYMENT DESCRIPTOR (WEB.XML) • URL
  • 4. EXAMPLE OF CLIENT-SERVER ARCHITECTURE Fig.1.2 Example of Client-Server Architecture
  • 5. HTTP METHODS • OPTIONS • GET • HEAD • POST • PUT • DELETE • TRACE • CONNECT
  • 6. HTTP STATUS CODES• 1XX –INFORMATIONAL • 2XX –SUCCESS • 3XX –REDIRECTION • 4XX –CLIENT ERROR • 5XX –SERVER ERROR
  • 7. THICK CLIENT(FAT CLIENT) • A THICK CLIENT IS A COMPUTER THAT DOES NOT REQUIRE A CONNECTION TO A SERVER SYSTEM IN ORDER TO RUN (UNLIKE A THIN CLIENT), ALTHOUGH THEY CAN BENEFIT FROM BEING CONNECTED TO A NETWORK AND A SERVER. FIG.1.3. PERSONAL COMPUTER, A FORM OF THICK CLIENT. • THICK CLIENTS HAVE THEIR OWN OPERATING SYSTEM AND SOFTWARE APPLICATIONS AND CAN BE USED OFFLINE.
  • 8. THIN CLIENT • THIN CLIENTS ARE NOT TYPICAL COMPUTERS, BUT RATHER A TERMINAL THAT RELIES ON ANOTHER COMPUTER SYSTEM (USUALLY A SERVER) TO SUPPLY THE OPERATING SYSTEM AND SOFTWARE APPLICATIONS NEEDED BY THE USER. FIG.1.4. THIN CLIENTS CONNECTED TO THEIR SERVER VIA A COMPUTER NETWORK.
  • 9. WEB SERVER • A WEB SERVER IS A COMPUTER SYSTEM THAT PROCESSES REQUESTS VIA HTTP, THE BASIC NETWORK PROTOCOL USED TO DISTRIBUTE INFORMATION ON THE WORLD WIDE WEB. • THE TERM CAN REFER EITHER TO THE ENTIRE SYSTEM, OR SPECIFICALLY TO THE SOFTWARE THAT ACCEPTS AND SUPERVISES THE HTTP REQUESTS. • APACHE AND IIS ARE THE MOST USED WEB SERVERS ON THE INTERNET.
  • 10. APPLICATION SERVER • AN APPLICATION SERVER CAN BE EITHER A SOFTWARE FRAMEWORK THAT PROVIDES A GENERALIZED APPROACH TO CREATING AN APPLICATION-SERVER IMPLEMENTATION, REGARD TO WHAT THE APPLICATION FUNCTIONS ARE, OR THE SERVER PORTION OF A SPECIFIC IMPLEMENTATION INSTANCE. • IN EITHER CASE, THE SERVER'S FUNCTION IS DEDICATED TO THE EFFICIENT EXECUTION OF PROCEDURES (PROGRAMS, ROUTINES, SCRIPTS) FOR SUPPORTING ITS APPLIED APPLICATIONS.
  • 11. PACKAGING JAVA APPLICATIONS • JAR –JAVA ARCHIVE • JAR (JAVA ARCHIVE) IS A PACKAGE FILE FORMAT TYPICALLY USED TO AGGREGATE MANY JAVA CLASS FILES AND ASSOCIATED METADATA AND RESOURCES (TEXT, IMAGES, ETC.) INTO ONE FILE TO DISTRIBUTE APPLICATION SOFTWARE OR LIBRARIES ON THE JAVA PLATFORM.
  • 12. PACKAGING JAVA WEB APPLICATIONS • WAR –WEB APPLICATION ARCHIVE
  • 13. PACKAGING JAVA ENTERPRISE APPLICATIONS • EAR –ENTERPRISE APPLICATION ARCHIVE
  • 14. DEPLOYMENT DESCRIPTOR • A DEPLOYMENT DESCRIPTOR IS AN XML DOCUMENT WITH AN .XML EXTENSION THAT DESCRIBES THE DEPLOYMENT SETTINGS OF AN APPLICATION, A MODULE, OR A COMPONENT. BECAUSE DEPLOYMENT DESCRIPTOR INFORMATION IS DECLARATIVE, IT CAN BE CHANGED WITHOUT THE NEED TO MODIFY THE SOURCE CODE. • AT RUNTIME, THE JAVA EE SERVER READS THE DEPLOYMENT DESCRIPTOR AND ACTS UPON THE APPLICATION, MODULE, OR COMPONENT ACCORDINGLY. ( E.G. : WEB.XML, APPLICATION.XML )
  • 15. WEB.XML • A WEB APPLICATION'S DEPLOYMENT DESCRIPTOR DESCRIBES THE CLASSES, RESOURCES AND CONFIGURATION OF THE APPLICATION AND HOW THE WEB SERVER USES THEM TO SERVE WEB REQUESTS. • WHEN THE WEB SERVER RECEIVES A REQUEST FOR THE APPLICATION, IT USES THE DEPLOYMENT DESCRIPTOR TO MAP THE URL OF THE REQUEST TO THE CODE THAT OUGHT TO HANDLE THE REQUEST. • WEB.XML IS PART OF THE SERVLET STANDARD FOR WEB APPLICATIONS. 1. CONFIGURING AND MAPPING A SERVLET 2. SERVLET INIT PARAMETERS 3. SERVLET LOAD-ON-STARTUP 4. CONTEXT PARAMETERS
  • 16. URL • URL IS AN ACRONYM FOR UNIFORM RESOURCE LOCATOR AND IS A REFERENCE (AN ADDRESS) TO A RESOURCE ON THE INTERNET. URL=PROTOCOL IDENTIFIER + RESOURCE NAME [SCHEME://HOSTNAME:PORT/PATH?NAME=VALUE]
  • 17. MAKE THINGS AS SIMPLE AS YOU CAN BUT NOT SIMPLER EINSTEIN

Editor's Notes

  • #15: Web Application Deployment Descriptor: A web application's deployment descriptor describes the classes, resources and configuration of the application and how the web server uses them to serve web requests. When the web server receives a request for the application, it uses the deployment descriptor to map the URL of the request to the code that ought to handle the request.  This file is named web.xml, and resides in the app's WAR under the WEB-INF/ directory. web.xml is part of the servlet standard for web applications. 1.     Configuring and Mapping a Servlet 2.     Servlet Init Parameters 3.     Servlet Load-on-Startup 4.     Context Parameters