0 ratings 0% found this document useful (0 votes) 40 views 11 pages Web Tech Assignment 4
The document discusses web services and their role in modern web applications, emphasizing their ability to facilitate communication between different systems. It covers key concepts such as scalability, loose coupling, and various web service protocols like SOAP and REST. Additionally, it touches on the Single Thread Model in Java servlets and the Model-View-Controller (MVC) architecture for building web applications.
AI-enhanced title and description
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here .
Available Formats
Download as PDF or read online on Scribd
Go to previous items Go to next items
Save Web tech assignment 4 For Later ‘ role
Asher Yer Web Technology
TE Diwik elnsemare!
Roll n0:34 a
thssigamens__ 4-1
[Ide nti , & j ify the bencidegf using eee
Web senvicos ane aucial pant of modean web applications,
erabli am le ommunication betuxeen difjenent Syste me
wea __the inteanes-
a
lnteapoa bifidgs
One dowel ped iaas Ca a as wu) di
applications, seducing development tine & elfast. ____
Scalability & Fler ily :
HU [iat senriae eupfemSecletility 6 owing —cnul-ti ple. __§
access the same Seavi Simultaneously.
Leo pling. —
| Wels sea vit capa de loase Coupling aahich meanc that Cliend
oeclassmate |
3
Mechanicms such
Os _authenticasion, Onemuplion
ez
| bhat are wel senyicos? List 2 iseus
Socket Cec) can te implemen a
ane be vies 40 photecd sensit: ates
2m ponents of
¢g
sagand le pte plates ax
vin lly the in bemnes . They enable inteapemability best
paegnamming
3. Wes rx nse Stan dandl mmunicasi
protocols such NTT, xm me _& 2ecr to exchange
data
Componente o| Web. Seavites
a
Soap C Simple Object Access foto cold:
SoA js ve mei
Mj = be
i yl ae
J meccaged |4_ensuous
+o. [Link]
application, whore Peli abiliny 2—
secu. ernuctnned. date exchange between syst
. mize
Aedes! as 0.90 —wridely —used — in_ensenp
eewsp) C Web Services Pes cmiption Language)
PL is an _xate~ based Loagqua, thas desemibes 0 web
cenvices: It acdS asa megisiny vs heme Guitnesses Can
|_List theta web semvies fon otters to find 2 integnase.
Though its use hes declined
©__s]| porr C Univensal Rescarption Di
UDOT tg_4 dinectong senvi
|_publisk 2 dis coven web semvi
| hese buisne sse. List thei. b semvi Li
| otheas to find 2 integnate
d ¢
oJ GEST C kepng centrations State Tranglen>
Lezst san anchitectuna gle. Lon des going web Services
@ that se_standend Hrtp methods tke GET, Post, Put
| DELETE fon communication. LEST#ul eb seas
| 2% Igstusigns, fasten & cosien tom plemans 7207
Some = based vices»
3
we & Ison :
Web services ”
fom communication
in__soap> Gased semui
Prejennod ta ésT Jul[classmate
a Gea Assignment 4-2 aera ee
_@ i Wy, is the _Mse_of Ihnead Sele in J5t¢ Mss explain
Single Thevead Medel —in Ise. eta ncn fellate
|_In TSP on __Tav semen Pages, the. is Thread Safe adda bed
is oJ to conta nt ew Tse __p. handles roy Iki ple
| censantens nepaesin. ty dofanity 98 foes one thee ob = sa
________meaning muttiple thewads tan —oxscnte— the —20 me p2 Ge
Simuttal in wales.
su. iu Lables) m; i iateney,
The is Thneed Safe attmiblute ic St esithin the 2”. ge “wd
diguctine. :
Tre_single dhgead model Cstm) i an approach used _—+
¢ ?
new i
using the javarc. servlet. Single thested Medel Leafa ce, echt ;
ousiaiets JSP pages ts handle aly one fag asd at
Muy Iti ple_tastances ad, the seaele+
teod_a] chaning single instante “
ya. St page —implementc Single Thetead! Model, the seved
Containen createc epenade in stance Of dhe Det $$
Senet fon each _Peguest = _____
Thi prenen pulitpl Ehreap ale ss) azed
Plese uM ce, imtlterto usly » a suniag data cone iste ney —[classmate
|_public clase “y Servlet eseckends ries implements
enna a Threod Mode
Ziosteng variables ano thread ~ Safe becty gach —
264 ve st gets —a nets senvlet instance
| Pe icThnentSage ottnilute in JSP conin ol thread sodes
he Sin a a A dd
be handli : 4 peeloam
ia + i i
1 “Sehr spt hasbeen nepleus ly Letter Fe chnias like
|_cynemonizagy 2 peoe us mangement
@ || Was i tn
aie diflamen ce otuney, (nelude ttona 2 clade
Di tive in TS#-
=| _Gxample o} include dinecdtine +
27 @ include Giles" header. jsp" % =
Z body
u hI S Welcome 2/41
éLbady —— ae =[classmate]
Oak
EX bmple— a
AIS Welcome 427m1%
L
4, bodys
staclude age a “headen. jsp” yd
Include Dizecai
[nelude Acti o,
2D! |pcludes the contend at compile| ij'nelades the contens pt
dime Puntime .
Suntax: £%@ include “header |i) Syn saee:
t very 3
jspsinel ages ”
i meege d fi) The included Jil prvcessed a
in IS? bel ome Ponetely 2 the Led
2 d
W) More _elicon+ 2 Slightly sh 2
YI Used Jon Static contens |v) Used | cy aie tens =Classmate
Date
i Page
-frines of cine pamanonn |
—fopalea Myce Cmodel~ View. Contaollerd_
fon —beilding Sara. based wey “pplicadions 14 provides a
a Statetuned way to develop wel Opplica tione epee
= jp SS petati business. logic, Usen in Hemfate 2 condanl
i 4 low Below co me fey feast of SAmed : eee Eee 4
a - MYC Aon, Aitectuge
eee the
L = Conte} Sign padtemn ar
Sepanas. Model — Repnesenis busing = 2
views Handle the asen in +. Wslag OTe eee
Contasivea - Man a E
ages meg uest handing Using Aetian
Classes
thi
data.
oak : i
|| Action ~ based Foam
appl tation te de
. Config ns
PAOvides Cond naty,
Arete
nT —f} bes tah s a tptClassmate
[Bae]
Pap
web. xmt- Con{
igutes Stouts framework Componente.
q
Bie Cndmalize PP Meech Simplifies applicati
4] Tag Libpary Suppond:
|
| Stuy
Bens built-in tag Libpanes cver og: 4
fens. Custom tas a: os.
teats HT my tage = plifies foam handlin
ings
+ Sanee. Lee: tags = Provides (lous Condmo). =e
Studs Lean tegs = Accesses Tavs leane Piopersies. i
Validator Faamesonie- aaa
Stouts has a built to Validati. pramemonk 2 ale amas
jon validatj Pevelopers Can Peeidy validatr a, mul. —
in—an kt Pile inste gy
of erm g—tustom & valida Sa
legie in Tava code a@2)|| Draw 2 explain neat diagnam which depict MYe to
Strats anchitectune
| Stouts 2 is slightly diffenens fom a tmoditionnd
i
| __1s Some _osvenlap. _
MVC framewonk or here the action tobes the mole 4-
the model mathon than the condnollen although thane —
(Prowsen pe
|
— Results /Lesnt "ore |
peso
The above _ditsnan depicts the Medel, View & contnallen __-
4o_the Stout high level Onchitec-tune. The contmolen
is implemented vith «Sirus 2 _cispatch Seay @#classmate
Date
| €iltes as_
With Aetions & the view \8 Combsnation of Mesut wy pes
Welt 4£ Inden ceptors, this model 36 itr plemented -
_@& mesults. Te value Stack & OONML provides Common +thaend,
Linking & enabling inégnation betwen the osthea - a
| components» _ —__ te nie ae
Request Life Cycle a a
~ sen sends a PWesuest to the Server Joa Pepe ting Sore —
| fe sounce =
The 4, :
} Leen Bis pede looks 44 the 2equest Z_then the a
deteaminec the appropriate action - =
on in ten,
Age a, £0n, ig ned. : in Sercoptors ane appl do any =
e084 -prowsciny i] meyuined, . =
by the rent 2 pe bens
ee jfile ly He—nesult i SpPepaned
rt gesult to phe sen.& & EST
$ tade Tmansjan? age two Web 26avias Com municat) on
—protecols— used gon data exchange belucen Spplications.
Whi ont is a Protocol mith Stmict gules, PEST +
achitectumal style that provides blenibility ta
mm munica t
SOA ie @ protocol thas uses XML jpn message onmadtin
2 tg wi Re, StAte+ on, aad. like WSL Cwee Avi
caps an °: A Avice. [+ at
Open malt} ple +4ans port protocol includ tag ATE, SMTP
eirce making it More _veasitig but also mone complex.
LEST ic ay achitectusal tule that wobks 0 AYTe
mobi : i ight & fastea than soae. |t hallows
Fhe stateless model,meanisg Cech gg uect is inde pendené
& doee not stom lan _date @ESTJul senvices a
Standoos prep methods Such «, GET, pose, PUT. PELETE &
slate is OX ¢hange J —in foAmate Jike Ison,» AL HTML ote
plain text :