Вы находитесь на странице: 1из 209

JavaEra.

com
A Perfect Place for All Java Resources



Core Java | Servlet | JSP | JDBC | Struts | Hibernate | Spring
Java Projects | FAQs | Interview Questions | Sample Programs
Certification Stuff | eBooks | Interview Tips | Forums | Java Discussions



For More Java Stuff Visit
www.JavaEra.com
A Perfect Place for All Java Resources






Servlets
(Natraj Notes)




www.JavaEra.com
--a
trti.resocrrCe
f'rDtfuYns
$eruldl{
ths
a*,bpcrne5
tl m
avc
hrJo
lgiq
4
ur-btesovse
F-g-"m
S
it
"tl
{ iv-b }d9g
frr!flrallt{
: Caeruralt,
.
4 fu
anelt,u,Hovl
iS t
tler;dtn crL
,o1oyr'[,utrce
F^?*
^:,
.
0
Stt,ri
.
ulr;vr-rzrtrwe
irng
Ate
, Jour,.
g6,1na
t'f1,1'4rr- yml,rz.rtS
11
-->
r^rba4PLbhoa ls a
I
tle-..na,
64
@
OX^"r.1.
I
I
,-'
I
,\-,
I
r
-T6
Qxe&{r
Jolo
a-$
hS 1^1t
vl-ed
OfrE-
+,IU ry
'-)
p t retul<
hnlet
F?
ri-tm-J
L5( need
Apler
Vrt
^rel
(A kmat'-
r'alador..l.
--j
ro
e elBlt 9r- t*
f'-
ry.,
r^r(
nee-d
gnI*
G^talwu,
Yb L e.a;rj<
Tst
fhN Fr4^-J
4^,c nreJ ]f
{cr*alru.,
.
'
--) vtht<..vca slp
LU,r^u--J-"^c"*)
(a++l}q
*C;, S-tLu-, Jrp Ccr.,.tr"4.'
& te Ca/tF
6[rn{^a/-r
l^rcJrl*aur
dlw,.[ L"t
ar\od/{
Ou-i'
rexxq
FF,S.
rJ"nd orr
qf
fFa-t^t.,
d
rran^; q-
a,n^d
Lel,
en
t l".!.(rce
fr.qlalh,J.
i; t1
lh9
fli,tq
i
t
the F^lo{,rfle
rLt
trs't}
n{ i-
cmd
SeuLk\
crrr
oP Sefca arP ortlcrf'p
li Cc'tl cn^
.
mc.dJntD
notl'Arl-tl.^
0
Q]
g*.zh*a,,a)
l^r.T'
ta
d toXr,'-
Pe!
olvP
tl co'rl
on
Brurra {ptndoto
ge-.T
.'reg
reyrerr
l-o
ffi&
tdgddla
ur,bk^rK,{ +.tue8
dle rerrrert- o^J
yqasd p&ssJ rle re *edt
6
6aarn-p+a',t
11rdorefarrce
ffrugr.am
op U:e,5a1pltctlc'r
.
(g1
(81
TDs
oudoveru<rvre- prnqacoT ari ll
lrrDceti
$e
regpcsl- a'nA g<rt^a+A rA<
ftlal K
,
f" d'tu
pruCels
tl.a
o.rt}t urtne
fr Srara
tailA
bfid
DSel;.
\(
reu,not'5
lJJa
Perarrrte
froflqrm
k-"'.&
ti.e
yaldt lD V>tLSa,^tq
lpLt,gr"u k & rle velcctrfo
tooolen
toinJocr
o-!
la+pry'w+raril<
ln
.t" l-"
tg
uuLry.-6 e,
SBr.kr"e
a3 hr
-w,v
cttly'l'ttaHa
lutr,a-rr'r
Da)
[nr.A
Dn s/u
)
0l
Nofil
':-
--
vrrh c,1+$carla'r
cM^k-
Ln^q
cd tlirue
r,ar
a4$SaAu
(1 ena
/try*:.
l)
iisl op
c)ior s;d
'iezbnDlo.fs
:"
noie
:- These ar
v.l-)
|d
6lsyelo
pe clieoi sid
cnxb
<,*tt, cts
..hrml,
Javos<ript,
\lBSctigr, AJAx
(
asgfrhf.indrs
java
scflPl' <ind xrnt
)
(v'lre)
toetsa.f4
tni.- rup,
\
tnargni
r*a;
n) liSr oF
Se.ivdr
Side
rcchnotgp6;_
rof oe
/
>o rr
.rc"r-J.ora (V)
r t" :,- Ttese GyE
Sive
n +u
d{rdopg g.-r\x4
6ide oxb
.rcsc-|]:rrz
pyD,rabs
.
5er vlcri
-'
(So
-;,-rr.;,
r.,.
l
crc,cre Cove)) Javabas? d
tn)
)
J'5P -
--)
(ft..-
srn rob
[crr.d(
(c.,p))
Iavabastd ,rl
J
,t)
php
(
p""<rt
l
Lo'r.
ong uk',gr,rr
o.,(t
plc".s
s
)
-
(
prc.,
inalq
.fzr"&+o^
Cold E-rsicrn __)
Asp
[,q.or*
.trut"
p.3e
)
fisp
,
net _,_ _- __-)
lt
-
ogt' cr;rrrrni\
Cavabata
I
n6n
-io,a
^
------J
r8.v,, rn;cno s.p*
lrorn
^tr^
rui
t
at
-,
I
-
ttoIl'
\)CLu
6
.r.-JD
L
seiwr5ide
Jruq
Scryior \
r
-
I'ran Mrsa,.p
n)
lisr
oP
a-rebse,
ver
sl,,l
s ( http g"u".,
sf uls
)
Todn+ Prom
APacbe
ljar"
lalea
)
Qesin fro,''
t?esi
nsu? r
[i-o
)
JerrS
+*^ Adobe
fjo"" )
t,^r1;*a-
+l-
$un
ms
(ial:^ )
n,).(e,'gor)
ho'.^ rnicmsu?| (rr.n
jo..,a
)
Sa\LY )
nuto(Nd"*\ , W
A1'-)'e (nn-attoa
)
\
fa,ttJOJ
I
I -rs (
t nfi"rux
,-_\ _
P--
rntcrro
stf+
(nrin-
jola
) \
3hh'rt!$rc'l
I
-
Q(Ve^ )
E)
lisr of
tr*1;q.,1,r.6
g,r,(^ slto;-
(c,'[otre vet o(
coebl"rtr
)
A
pliccrtlan
,Qowv sleo
',$
trl)ftncerner'}
o? c'r-bsevver
s/tn
'
6ehog
ic
rr6n-jdi\., a
u!i
non_j
ar:a
ta)
ts")
(s)
(td)
&xJosPtrre
JBoss
GtossF. h
JRr-)N
Orarre
toqA6
:
E:
c,,r
App\icr,Hcn 5,,u,(
*tr^ 8;ea s;"r.'ns
(arurt. C-e
)
tr
)
Pwm ::}u (
Itrr.l roHo',
Bts/
hc'j
vlac'u\
) .
(ru
)
&"^
An'ike (
e"an"r;
.Pram
g*nna
(xAt
a*) ttr)
P'ro*,
wtc.omed)
a ( a'"b
)
Pt-^ Otrr.le Coq
,)
s[ur' s a"e
]er:^
{foteJ So1u- gl-'s
*) To
\-,
m;U
faura'tf
(bo'\JladS U
oP DB6l@15
:-
orGle
.- o!.(le cafp
165*
oroess
-
rcrn
m i cn50f
I
Sgbt.se
-.
oF,n
(c'rlttrYlr'ly
$g ?
TGrl
(or,f|?nuj
o$ga L
-
0e{,eY $rn
vns)
fourre
corY
)
Sg,t
sz.wr
-
ft.^.
rr cYDsdf t:
.3
p
reu'"te
*r.,ori' l-?ilg"s"
d Loeb
Afler(ohc'n
chlose
aYtt Erc.o6e<
lto'
.h40se 6oe Gr)
rrst ClieYrr
<ide
chcose ov4
&talmse-
elto'
chcose JdJa b,lrcd
a*
aotlA?F)l'6$(Jn
e4uo^t
'
ch*<. Touc^ bcrced Se'\,e,r
s;de
-f4hnold8ie3
'
-b
"kLcl"
P
rrD0TaYnE
-
lrdrnrcfcrr
't
jctoobare J t.Lsu'\'td
aronrGcf;
(rft
Jdbc
O,f,neA"t@?ool:'n1 L\ts;nl
0
o
(e
(E
e
x)
Soce&te
io DrtloP rotcru ofr kcl,Dologias
baw d t'rcbAgaraa$on
<l. n
0 ,
e)
,
O
'
Somt
as
Jd!
(
Bc6(
J t'x'b
a$-tt"lo"
.\ L(e
tl
6&
mic.ruftfi
St"rr,r ( nos,
as)
QJ
ure Asr
(n0
Asp. n+ +o duA"P
SiryLft
siile uxlt
Qesa'u f.*flt-s
rl
pmte
d,rnt tu 4{1.'dop anJ aerrrte Prr
t
tarta
r'rr$q'&caHcrn
i'
0'O'O
sfr-{'s
c'TL
sar
'
ca
a-b\d
(9
u*
'{"""
"n"5
9,rutr
-ridc
Grbv..u1((
O
Lrr
pw
b
do'r'l'f
,i_"ror.o
urbslu".,)
flrrhicrrure
d
e"*-
|
JPr
otth
Tea$holqtks fo &teiD('
clent
-3ide ve\ntotxt
Pr5
*^"
9^c,zn
.4lzte t tbres.L'r
tt
tn"flo-S-
(S\u[a,
JsP
Fngmnr)
Oth!.
knt
i ce
loqe J l.eb
alplia+idn3
@(!
@
5V
r.1
a-
x) &iddleadrl.I Qr\riaes
dre rbe
ThJe &''vicrs
-)
lr/hen Servlet
f;6ilell!
&intui
net
'
mar\.es Bry
prl)rarns
aYr
cddi d.naJ,
o{)P ), cdtl 6n
5
lEre6hs
d
&.'t
JSP frrDgiarns a"r( re?es kd
ci-'r
) slu; o4puraflon
---/
->
'._>
0
ikt
"uso,.ce
.
6ervlet C.*-,t.""
IsP
conlz,i'cr
Jsp
fnosram.
Tbe tifecg
cle oR6.rtJcI
S
a.yr
0 obJ*
C-raH crn (
Io,siarafl.l9j
('n
)
0 *rt*"j 611664r-t{
on
f51
(,
o
Oit\
in3
tigeqrle rrtr{rodS
e^eutfin
4
*uJ,rre$
'Desrnrction
o+ dJ*
fi;,ed c;r, rlre etrrlr.
tL*
a-rz rai sed
ond ek.
-fora:Coi
i;le an aciyanw,o
1z.{'A
ef
*rrff
"n
)
.
TSPe I
).Jeb *..r"t
eltO
ve'rsi.$'.
6.0
t
co','',alctb'le
c')i
rh
ial'
t'6
+
)
Vror{cr : Afache
Fa'nlotit'n
C-rcot.( : f1r
, David
DunconScm
OBn
Sotr't
(
e $l
ul '
defa.,rt
6^r
no :
got'D
(chan3uure
)
F
daor,tood
thp s),o
: ,.Jtld
' o{uthe '
or1
fo,
d,ors cr. cl
felp i 1.1ww
.
aPocb
e
'
d
3
oame
{
rhe $rvlu ccrnnrher :
CATALIN'
A
( c'r"rlno
'j"r
)
hame
4
rhe
3sp cmraiht'r i JAs PEB
f
jo.et"t
''l^-t )
the
.rrrd,,sJo lib'ej op
f;''t"es
se'(ul
\tal
(4t-
*t"t'""tt
@
j,^t
--t
lovo
z.'r(hi
le
'ne"n!
&mP'scd
rla
cole
is o,
s/ur
oP*'Dcrl
ah d
&r.,t{grrc.l ,c,rui@s
drl rte daloqe| ux,bafil;cotlJqns
tnr.e
pen8ect- and
c,r]LL\at{.
',\
ao^
(<,rv
k/ fsrllai
aov
1*. eruu-uon
.
,\
,.^ 0s?
cs r'z,;nLr
J-
ur-*o^,
*nr ca- m,o8t
*,e ,ohoie l;Pegcle ,t ("r,1**,,
tur'dr
c&rt
4
th"
olh"te
.tife
qcle
i5
enk'nct
,ft-.rrt
+
&srulf*
Crn*rinar
4
&'rvlet
arJ
-brds
Pm6totnin6.
Crlre-f
tte 6;lr1te
);Pacgcte,f
'
--+ trve*XCo'tEircr ;5
"no',5etren*
anJ
Wbile io6r&lltnS
tord{df 6.o QJe
Deed lD cboose il?e
"glloariD8 i*
O
In6tc"Ilofr'trr 0
rder
g
Admln
OE:r
noroer
PAssuaYd
G)
Pct
t no
'.
to<o
(rD cha%e 603t:
)
D
\
torcar 5. o
( {r*-t-to-t'
canP
L------., x'rtt't
bin
L-.--.-.--o *. ere
(ta.ra-r6 '
exe)
tdbofpg
61orB
L--,
*ort*o
Other rnrsreltnee"s
9le
E
ib
L._.-
t-,
i-
I
senr
k-r
-
aPi '
j
ar ( Se'v
te't
oe i
)
Gfari n a
'd
aY
CSuruf.t
O-r"i
M
)
Jee- epr
.
jar
Cjs1,
api)
iaspcv
,ic!'v
$Sp
C"nrz"nc
)
+'ic.r (o*'e,
ia"E
)
drrl ,
d;r e,
(r"duou, ux! opp
liarH
on6
*,
r-,.)ar
PtPs
((JLctor.mlha*ron
6\rch;l' )
I
f-,
atr,
\'-_, *.,
'
(rr"
log c
L--+ +'txt
'I0
6f6r t forncalt
tl)dD
6u'{ueT "-
btp: i/ locotbxr
: aoao/
L,'
*rf* **
f
zror"c"i-ho,ne>
\bin\
btrsr6.exe F-"reJ
fO 6ee fie
horo. palt of i-bmcd,h ' -
0{tn bvoloser coindoco -----:
TSPe
thls
cr{\
httP
I l/
laorkst
: toao
/
L,b*,
*-.
,*r-.
E
ts{) Jf) dddrtss
4
O"g^r.f ,pt
,na
'
is ibsk'llcd
farnta-6-
j
I
)
\-./
'-
(tE
Rres
fuep
rn tract
4 &r*-, ofooncns)
a----
NoIE:-
Wben Jomcaf Serve:J
is erEty tcd
Clieni
rtltpes
F
Con t-inuotrstg .
Ane
decirnDrl pYDr SS
lisrc.,
io
@ilt 5e lasncb
lD
F6.ecL*yr
ta cbc.nSe
Po{f
no oP torrat
aPrc1
ifs insral)aj';crn '"-
9oto
Z tomcctt
-home
>\
crrn
e \
ge'ver.
x''.rt
&'te ond r',odifu the porr
arlr
i Lrte Val
ue
6F
f3f
/
cmneuion )
->
Resbrr
tte &rwr.
se'vel Sid e
Neb Tecbr-,ologie
5
1. Foces 5
.
-'> C(rI
Eased
?.'ftYead
Basd
t4
SErvEf
3
-
jsP
'-)
asP"
nl
t+r-,g
l'
-Ihe
sb dulln
3
6.0
pyu43sses aaves
rncre
H
me
-i on&r s ta
d'og
CC,rI
Enviranme
n I
A lighr
6e;gfrt grbp.Dcss
is
cjirea ru"aa.
05
cc'iDholes
prccesses
k
f
-ihrcad
s
Can
be
ccrrrholled
Ttc'nspering
Cdhtro 1
bLo tioo prcesss
[01)
6lt:
ti.ro
-lhreaA
S
is carre d
ag
u
GnE*t
grr,i
i.!," {o)
"
C-r.o
l jtrraping'
ld)
"
Skd,liyrg..
javc^
PvocYamt
n1,
pruces 5
t', ta, Lg a
Uiing JPE
suPF'r
-Tl'rEaa
3
6n
.Il'rreads
'
Comp're
to
dre
ebedr,\i
tt
iP;--
l--
\ fno+'.t,
?xhd.ut.rn
I
l'r
L_j"*11
"*."..
I
p,, Pz,P3
ote
Crycto$ng
fts
iem gro ces6g
rrrtre
firre
$e
C&l
web
c'oP1i cafi cl|
Ped
Pv{\ttntf
'
uill Lt
c.rp
q
ilrcn SirnrJll ehz oc-rslq -Ih: s v'nYes he C,lnz
U-
rzb aPpt
Coli
on<
'
Since pyoc55es
,1'11""'
con.r>
uxb c.pp Iictrti c'nS
besed ochcdulint louos
rrorti
ple YelrreJt 5
as re'n
-
Scr,tabte
i-ren ifaf opp licrrfi
cn
i5 coll.J
os
'ga\cLb\e
aw)'Y,rv\
sngl
+)
Ltrdersrandt
n
3
6cr!ler /
J5P Eovi
rrs''r6r*
tr, [2, t3
d.r the t$^cead
S goxcA
-in
MZtn
pyDce Sj
r*{":t
Yw(st6
(Frr\
to &'utet Pn8'
3'\Le
,
thdc{uyr g
a.n *frec,
d s
+ake6
lss
lirne
yhe c'loue
d'iaSram
bosed
"xh
o+p1'(:ffi
gl.,rs
6ood
ge< Po.
rnance
in ..1 si
tud5enr s
.
al,
s
rcaves
urcb
amlicaB
cr,, s
&'94-3'
appl
icllkl
croS '
bYo(r.str
LDirtl(url c.Va baScJ
by0cosc^ Loirdoui a
bEcrxt^ gu;rd
66)3
rr
'is
ihe
y,eornen de.l to use
Tlnec'd b&sed
coit&(
elde technologtes in
uf$ ofgllrrlHh deel"t;.,
5sltscr
pcPerna.{-e .
j
'.'./
ohq
'-'./
cne obJa-l--
-)
EverX
Se-r ulet
PrDgr
o rq i
s
c..
'
Sing le insibrx e
'n*'in;plt
*rrec'&
Crrnrcr' e'r*
ynLrltiple 7yreJrs a'tq
fll-cn
to
Servler
prugra6
"
*t
Scqulf
&nkr ine4
.&
*or
qe]v
ler Fog"a.
c las buf
r6lultiple
lkads
(.oirl
be sk!'61
YeFfticyl-h
n5
y.rulriple
rEA?sl-,
as Sl.pur
n aLot'e d;c'3rcv^.
fhof
rnect",t-ls
6"rolts cnll
,t art
,ftot
od
"rJ-
An5
i^lhor
is 6e-rr
lei
?
t
--o"
for,u, ia o
Java
ba6ed
0XJr Serve
t
ond applifaHcrrr
TL
Se-lvlets i5
f)tograms Gt
lr
---'-,,
sslvlgi-
is an Apr
$uide
linS
h
/a1cte
p
ag
h4s
c
pYDgt&yo41s
lo da,ct o p
(t
t2J
oq,pt
1
to e^ xr/ rte &mcHc.m\ t
Hes
oP
geav1 side technolog
5
Server
.')
a
Javc.bc.se
d Server
6ide
Java C'.r.!, dfplicaric,q la,Ji,,, the
to
der,tloP
dgr,aroi
c coebwsoc'rce
pnero!<
d3m-ic
c':d"na1cr
I
,,not-" 4
el-
t\
ur.d -/i"'Pot'
i" s
ds
rules
&oJ
;"o9
,olrr
be
us'd
b5
.Dob
lec),r,ol
o
91 "
(apabilirg
to
N0rE".-
cpctFi ccllicn , fu
toitt
Ue
ttg"d
h
9r!
ler Ccrrl-&incrv SaPftev"-g
anJ
jcrvc.
b,se
d
cocb YsalrYce plD
3f,ams
,
mut
ri
Ple
tfireadg
Priocl
ole
b..se
Sa"vt's;tle
terlano\oX
3
l|,
P*+
-)
Setvl(ts
i$ c.
l:gle
Insrante and
to cle,-el op
&.rv'l 6ide G:rnpcr.nenrs aS ut,
rt soulce
aallel as
"
co-ponettf A
YeIlsc{5le
java
o[jauF.
Ftrr
gqsics
oP
&rvlets
.rePe-(
?a8e
N0'5
is
Vc16io n
,D
Nzt."g
,
Si.:(vtets ,
ql,
{q
ana Lc
ave cotled JEE rnodule
iochnolbgles
' &.rt
JEE
mo&l'e'
k
noi & insf.^ll
c,.ble So ftccrc.g ' All trleb,g,,rren and
Applicarloa $ptst"
!f
urf s g;otlide
qre
3i1aa
bosed rrn
JEE
modrle
'
50, fo
insFad One cq cthen
Wb
ssv.a
toc6P-
urirh
SLy
ncAule
aod Tedlhoi
Odie.
t,x n"ed h
Lctt)
fip\lcafiur,
ftrrre'r
sf trrrs
Ja, P,'res
a{n^st''Hh3
l4'e
lil.{ tn,C*,
xlr.ni. {
ele
'
p.rDf,rarng
&
L''baf'earrans
-
36
16 31
qnj
+!
'+
Javcr
applitorl6ls a-ye
ylDRA
[xtltt
6'"19
Pun
AnX volrt
)
'
Jc,v
a cr:ob
alpl itzrri cm
g
ayE N6DA afelica-hco
lila"
-"n
f)a1"9
e An]
tl.,*
)
'
lateSr
cL,
b)'r
tb
{unnirg
Versic'n
t.q
in
,be 4"t' 4
pac.!c'3es
lnrln3
classe$
'
invr
.
6e1!le.t 6acl'r'ne
ie
In
UaVO
envi
ror,iney*
ApJ
Cc.rrr$
AnnofaHcmS
,
enLlrns
Ood
e\C.
- -.
5lvler
e.b API rrp
an s
jrrrrc,x, Se.\let
' hrn ftrclcd $e
Servler API
-Tldl-
gWares
als o
grpg)it
d
AP'i
. og
3EE
k
l,nol.gic{
i
5't'.'
-ttti
42i9
Ctrrftole
rrflocls
Io TorDcai Serue-r
Se{\,lel-
-aPi
'j..'r
isP-aPi
' irrr
Io
tdeblDglc Se.ive-t
iova
ee
'.11.t
wlT?sertg
ctl)
iee
aPi 6
3
imPor En t
rSourceg op eetl
tet
ap i
""-
S"ulet
d-P i
JsP aP ;
all
jee
aei s
cr'nia;nir'3
o0 ibsr.c.ct
rrr.rAod
3
'reFreleof
5
1.tInflenfs
hcblogi C
r j.r-{
yepyrseFfs
J-1D 6lass Esh Scru-t
'j
*>
iano.x
.
snvlet
'
S*trut (f)
imderncnt
5
an
obsrraLt
c l&s 5
--
I
I
.1hvax,
gvlet.
Sr.ncrrc6erre+
( [c
)
g,(
fend 3
javc,
r
.
s.rvtet
'
hW' flrP&nvle'r
(Ac
)
qb
srrclcl
clcrs s coo hove .lU_gTI".'_919
(ct)
ot borb.
ry
lltupSe,',let
:rn Java
[cr) otx
js
aols
b
.rrsour.es
4
9!v1t-t
fP[
reRry the
d-.ra-7 ro:n
g;rrtro
in
fle,rer.re
rueb Pc,'6er
, J[L.f{
clYe 3
o1F"a&er to
der.bP
$vler
;r'u,5ravns
is
a
Ja.va
class *&t
bscs
grvrerA
Pr hor:rn7
"r{e lo6le
}o
;rnplaragaHn3 Java
x '
fe,rvlet
- $t'le+
(t""' P-u
)
*4
all iLc 5
rneA"dg
4
flo'l-
I
^Jere"&
extendln3 +*^ Javal-
sa,rr,tei
' Genetit
$t'ret (ar*t
)
to
ge-rv ic(
(-r
'-)
t"uhod
Pt,
"etcrrtd
inPorroaHc.n crn
the aJcove
pate no : 5+
fiPProar*'
.t
'.-
grovide
Atp1Do+ ?;-
+ake
a
Jova
c\crt{
irn
p k rnt
"rotl
<rn fb
+zirve
a
Jb!,a
CleJs
Gnd
pxovide
;6rig\erncry
Puulia
Void
Apprco.h::-
Tars o
Over{lde
ontog
'.he
NLYE ' -
Use
Ai,proarh z
o
Jova
c)&ss
gxl-ndtnj
+isFl
koo service
L-'
-
) t-t'rfioa s
seav{ s c."e
desg.,"d bceod
ot'
tAa
fi> dcxel6p
he ptona I ht4
b'sed
javc-.x.
seov lt.l-
'
l'rrP'
Hresa,vler
Cctass) onJ
oye
Le fie
(erc
n doXx"
(-,-) r"r*'odi
-
Wtobl
h*g ;; ;6
Ye4oTp6doJ fu
.9e.ovefe*
1>mVc.mS
'
t3
|
ogl>orr
ql-
+n6:-
Ho<o mang
tgrts
oF
&rvtel-S
aye rtxtl
Tl"r're
is a poss;bitl\
oF devetopio.q
'n'
SmtP
Q.rvl(}
and
Qte. . .
Nq at
*e6e
ryrns
&
gczv
lers '
lil'
pnt
rlf*"?tv+
cro'*zs
''''
FrP
srw
te-t,,
bttt
5''r\)
r"
'
Ca.,P"r
t
&'"r
Ic+
is
ri<
.Clcrts\
c 5c*
t<+
Ct'mmc.n .Qg2a c
icss (cnfu)nio
X
Cnnm:n1mp',..)
Ls aoA
lo6i
cg
' &
'
ls nar c.
As o?
&euru se
ieprat fJPe
of
gi/ler.
servtu
A?T is
6ivtnX
A6
-u
gulbclas
ro
c.tl
wbk1vc.ls
orc
6les;6ned
b*d
cn $e Tanal
Geneti
"
*''tt(t
,/N
./ \\
HtpsewtQ
pipjlvru
Smrp
* rule-t
f)gv-lofmen
i
'-
^
'-'
clo.s
"
l+'ni'"'l'In
Gt*aclettt"
Ah Erc,rnple
oD Frsr Ncu
APlica'l-ion
*x
Am
(
Oepfoqnd
to$
fuplrccd
an
)
Dare
qnd
tirrr:
qt.il
tC
$$ 1or2
Tbe
ftocd.Lre
b develoP dnd exetutz the
crbow
Sluen
jo-n
slebc'pplic*)
cn
Dai.<*re ""-
SteP -a :-
credle Deploveemeoi
drtct
rq
grrr,.f-*
/
wb
hp|!'.nltcn P,a;n,,
Na det
h the
qfr,t'n
Web
aitPi i cc'riorl
E:\
J
$:-gnte a.bc\d
PcrcHo
g
r"c"ranit-
/
doplownett drrecr.*1
ctsrar clc!
)e
]s cotnmcto in a-u
gw
ET(
Ba+ lhis
direuz'l S kutlute
is
6e
destXrxA
b1 Sffmicro {Srcnr.
Ll wgB-r"r,
cic{ses/
rcb.rmt n -rfts ar
fixecl
oc.r.cs
(9
ru.
XtvtrottX
t
Lve
.the
rcrroe
4
ulLbcr+p\iLar4<t as
tl.,e name
4
hclroor
Par&'
5Ll1-
geiclop
ilr
&!!)et ftugrarrr
]'or'r n3
logic b
g",r,"oore
#
Curt".,r
\/oic
se,.rice
('lwre}fferguee
r
*4,
**rctQesrt.f,te
p.r;ny!,Jrittt
?ar
-- Ys'tel
h'
r
/';;;"bussrns*
14;c
/
tctru'st TrD'er4"II
lodl4
Date
d
=
c'es D'-Fe
t)
j
//nrirc
darc
an<l *ime
ta xrpc'st
obj
pco, print ln (n''|b>
Lcrnl<'t>
D4le
4nd
Tirne
i s ' +cl'
6
Srtng L)+
/1
close the
st*am fl=> rcs' sQrHcodel
l''"n"rr1""'ro')-
7 n.-
-.
R
.(lor ()',
o
J /, !aru{eGr _
).
DareSrv iav
o
Dal$v.
clats
D*e and
ticoe
aS "'P!I'otc
'
lmpo'r
l-
i-po,
t
i-(rffi
Pobli
c
t
fttbli4'
i
/J
set
tttft-se
Ccmle'rr fuPe
res
'
setG,"rcntTuPe
('te"rlbr-t"
)
rr.E S*n.r*t; JGo,
pr:nrlJritrr obj
?co
-- vts
'
Xer
Nli
t'r t)
rt sf t|,zocos
*'ovtet bu1,ton
"
'
aOEx(
cP Aon
javAx'&'{vlef,')t
)
Jovo
.
;6,
1*-;
jcux
'
u$t, *;
c)dss
D6*rsrv
ex|erds
Get-eci
c &tt\e+
(*rrovr.,"'
t
0eL'riPtte
gl
Wcb
cnnP'
3t'railc"'
0,ir c
)
" tlc^t"n
,
tln"" )l
drr
ol
t6
{or
ei-
ite
Tb c)a.s
v)sl bi
)i FU
&rvlet
pogram
rrr-6i
be +z( kcn as P&blla
Ci&SG
&rller Conrcrlnor .
ina.At
r ta wavnS
i- )
@ttt
bL+^+
4n
*l
9rl l4t
C.rrtalne.t
er.fL5
Ctrjeu
4
g$vler
c)csss ancl
Cc.tB
Sgrvrce
(-
rutYipl e
hmes
r
&r rnuiH
ple
re+leg./.,
Gh
ohe
ftn
relae s t
tasle
.
-
Rt **J
revjs
r ;s
Bn,"n
ro
9"rv ll pru3rarn
,L" s",rrt'
&rnEir'c'r
crrolzs
a6e
set
cf
Qlp*,
Tcrr/onse
) ohierrs a,e carls
grvLc
(- r-)
I*"in3
ryEplestr
rerPcms
D
bjetrs
,
^-..,r-ni55
hcrs ar5urn(ru
3'
ful
pm'rarna.r
fcdves
these
,"1u"t\
,rdsfi3nse
obie+l
as
^l^
'
o? 6n
service(-,
-)
c.nd uss thern o,hile
rr*riq
lo8rcs
i"
Itni;ce
(-'-)
lufoefzorr
\'r'J&^Js
k^vd}df' "'-"""""-'
tiu\*1vte+
-
c.Pi 'iat
P;re io C$se
pATH
enGrcnmen
t Vdt'lc'bte
'i
---+ Ctdvarte
t'tb -
>
T'v
Var
ia-lc
le 3 '---'--'--
qsxro
/use'l
vali4ble nd''t:
c IAS5PAT ll
valne
;
D\
l-cot
6'0\
\ib\ 6e'!Ier -&Pi
'ia1
i
'(o#cr
values >
; '
.-)
oL.
$e Jdv&
comPil?l
fjouat)
g,-"rvlJ
Pycof
clm6
'
ooirhaf
arldi
nl
qnf, values
the
&'rvtet
AP!
hlcd
JCLY
/
srv
'
jov<^)
glq9; eomPile
Qtt'r
Srrv\tl-
ptogrorn
f
Dor
6fP-JD:-
Add
<iorr. at
-
horre >\
t49 Corr,ffi,(x
Vroinb\es --->
-)
Ok -----+ Ola
9't
The abare
jar
9te
in ctnsS
PAT
H rnc'Ees
.
$ervtet
Apr
dutrn
5
The
CornP;ldflon
og
6trY
,
-lhe
APIS
of
61 6an
be Ltstd
fo diYa$lg
tervletAPl
i5
oor
0c1?r
4
far
AP:'s '
6o'
n&led ro
cLAsS PATH
'
fo T{o$niz
to
ctR'gsP^rt+
P;les
nrrg+
bt
g:\ rlxnre
\
NEg
-rNF
\
clcrsseS)
jorc^c
fhres.r
v
,
.Fva
itiep-s:
DcveloP
LDcb'
xm
\ krc os sr*L^n
balot.t
specifoinS
rbe
derdj
19 aLa(]l
cetrtin
6&9oL!\
Le an
d
se1vE
ctc6r;
z;n1
ftu.t
'rsoLt{
{
*Bse
Caled
a'S
Ev.f
carvti
prograrn rtrt1'st
be Ccrn
Bgurt
d in
cto!5
rnrrrr
and idtnH
r5
ro-c (ur:l
porrc"
)
to
&ulct
grogt
arn
,
rrrr)ciog le6la
\ag iog
c@fut"r|"n
6t
Qeso..oce
Ccl-t1S"tana'
uxb'ztnt
q"uIainS
103
i ca'{ ea6s'
cot r+$
aboLe
l
oglrcr
oor'e
)
ui
l-' Pdff,'n
in
'9nie'{
gostd e'rreatrrfnS
ux-ba+eu
a*lcm
'
fz,,
u-tt
grrvler
claas
/-aeb
- ct?P
2
L*.t\Qi
2
'
n'rff) 7
/l1r\u-to-
e >,-4j
d
r"ttt*
-
t"-:
:
Z Serrrttr
-
tto"
'"fr
s'"
4
|6e1v:1:c
loss
>
dL(t 6ftvler Prg
clcrtg
r)arfl<
4
sttuter
>
Z5e-{v
le}
-rn{4Pir'o
>
z6e.r!
rel
-nam.'
#*
;l?l*f'-*ff5i
z a'rl
-PaJt.{D
t
/+eatl
zl utl-patt'r
n >
A(.tvlet -wn?pioa>
otr fofic.n
zldxb-tLP?
loJical
name
becopes
ohie*
nam
e
NorE'r
I -$e
obc]ve
$wo
|-ohe'n
*r!
let Cc'nkd
nc'l
---+
E\rl$
9!!Bt [t
o5Ydrn
envil6n
rn e7Lt,
NorE :-
6Kp-
r
Credles
obied
+*
ib'
i 5 idmtr
fted
birh
ir5
->
$ewtt
ccrrfainol
veadg
drb'
xrnl
B
re
so,ir
i6 co.$ed
DD
ff'te tndqnt'"*nt
4 $<$te*
Corrcr;natl
,
os&
#(
ui
'
ctisflli
idenhff?cl
$g{ute-t
fto$lorn
{b"$t3b
idt*nh6
Se,r,l*g'tgvat''
tka*t5\
its
rhe
rmnrtnj
de/o
v
eeJ
Dlrr{l0rd)
rogtorns
a-J
is
lagrcal
YPme
Car )
clc'ss
rlme'
[Au [["rtcn
'
6ther{
69eb'reso'o
ce
C&nl
b
fiE
i,
)
i
\
\
{,
L,
t
es<
Blt
,*oa
S"S"nula,
Ct:nletY,ert
r"ecogn;zia5
rhe
sKe-s
i
ndicdfr
s
der')ot!
Prc(
nt
*r Wea
A
6eeborylicuhcrn
sieP-\n r
,5ir.rr
tbe tbrrft!-t S[nv
e'"{
'
06e
1tumcaf
-
bDme
>
\
bio\ toYcrd+
6'0
'
xe
F
re to-r)
Copt
6te-Wr:-
(or)
lTororar-bows> \bin
)
iavcl
Sftp-s:-
D.ploqee *e ort)o
-JAl
lcot*aP
'
jar
64p\i
car'on
h to
E',\ bdftAl'P
{ttder
to fovr{at'}orae
Tesl
rbe
[,reb o.ppl
icsfion
g,
5'"'9
*\4^t
Opn broor&'{
rcindau
TU?e
rbi6
L1FL
Ao rbe obd,\re Itv
leJ
Prograrn
:-
hrtp
T
<}loto I
ft
JFi6 6talemcnt
Y'nc'Les
U)eb
-se{wt
o,.'a*
-rc
&tP)e$
Jext
tcced
ft [!ss
hJe-bFa8c
+6
b$oscr
!trn\
&de
'
) lcrut"r
t8r
l"""
text
I
htm
t is
O*e{
rn
irne
*g
TtS
ctne
b9
usi!
ralcd
Ito,., s.'
vtt
'
&s
f1fr1
E THre
f
fi,r't;e.l' Ptt
J66 Ys.f,ion
flstrod
4o6-<'^r)
as
g-rrtel
slaer
)
Xm\
docot'*c^r )
uie
c&n
sr{a"
rhe
YlrilETlPEs
'U
u:..|'4'"t
FEEY-
clolles
-
Qool t
>
cbqose
rhe
e^Krairrn
g
6."
r
.-,-->
Run
ond
9et
rbe
)
Yegedif
rlNE
TqgE'
tu,
\-/
oPPl)cdfic{)
|
rns
oo
a
6l,pptirck,?,l
rls-eta|t
(c^c
I
x*t (
u
ar'gta1
c*lPage
c'e
-
retedii
tool
(Regis\'9edit1'{
)
[tfitptoj
*b*6t
*
Ever$
{s('|cJnse
odtrr
Corrlalo
5 ar'a
{itt;
in
;;- co$ed Prrnrl"Jrirtl
'
1ut
fuut
(
to
ai.nlq
or-brage
ree '
setGntnt-l3pe
f'ret/t'*r" )
g*_-_,qrie*t
(_f$n)
b &'ou
ler
lirD$tafn
trc'rn
.
ll rnccrho6r.i
?oao
I
ft.rtAPP
/
tesr
l-f
u''r 6aHcro {
' I I
':-=< .l Nclorpr:@}.d'
rbff(o'J
-L
coJ;'
ro'$
too>
t Cdnlfrr r.D f
hmtname
dna
P-t
'"'-Ut
t'f tornrof
Scaxa
i
nSrrue'ficnS
br1 'recei
v in3
6"-orc"
|F0Soslvl
PrintVJ-rirc'l
flo:
res'${rl'^Jrrrct
()
l
SlnlerrlgrLl
use rhcrt ftv,rlirter
srtecom
odeut-
t6
flog{atne't
.",:^htS
t" R*n{;:.
Y9Ern6 oqiecl-'
-Ihit
Puses
ttc
rr*tsc''Xa
fn
rh.l6 Sk
trnrll- prior)n otrh c A
OwkS the
Print
ln]r}cr
Sirtar4
Po*Sin1
$iwn
n'rsSagee
to
reJfffDse
Od4*
passes the
rneltaps
lo
t'rleb
Ser ve'r
'
-Ilz"s
,J/-k'*aw
to bcccct coi'doco
in rf'e 8*^
Q
&'
*bWfl.*'
Nol
E'r
fmLe
S.ru$tX
s
r|.ene
Ordeq
iT)
ri'e
deployeed @e6apprrcallca
6scle
d?
the
ol torcca+
refornpilirl trq
c,E &.rv
let p"o3Varn
ond
retomP
le
Darc
Srv
pro0vam
i
D :
\
romc,^r
6.o \
oebapps
\
uenrrn\
wE6-rr'-r r
\
f0 reload
p*rtAnp
arebApPlicorJor)
closses )
Javac
oK
---------,
fun*?P Reloacl
in
i+'
e
Ir
tt
+
*)
Dare
Sr v
. jc,v
a'
Crrl iVaJ
'lbntar-borrPate
I
h*n:ll
lo{olbost i?oz0
)
Uic'r na r. i odrn i n
pass(Dard
I crdmin
Can \OLr Fx
pktn '
Grn errtH
orr
0,
i
rh
rbe
Pro,
g^
ecu#
crn Pt"- 'Ye
/'' ,L^'' he\\o
'\az
)''
Pcg. Prinrln
\
z-''
\
-
m lanch
lortcLl
Ytt:Ltrl}er
tlirdo.tt
fut^
z-lanxat-ho'rne>
Pc'ne
&tarrxa-t
el)s$6 3
w
line 4
de
"xro) Sre
l-,
auol t ,-ur e
;,
4+otnc.rt
-
b6me >
\
Con P
TFe
Phgt;cal
Aucdldlili
1
of
iS nor
gr?Bcierr-r.
it rnu6t
be
$rter Pogara
io rhe deflogeed
CaoPr
6trred
in
cx-b
-r-t fi'Le
tl-re unde'rloginX &rvtff Csnt
.lv'av
rec4Sniz;o3
{'ren Qtv
l*
Program
'
thg'lt
ofr.
lfo9{&f
-
U5e'16 >
ZU<t1
(r]r'llLt: &issLoc'{d
:
'admln
adynl
n
rrncti P.' Cc'tioo5
done
i'
rhe
Sr.vt
Stlr,
'.61e6
='
crdmto
,
rrnsr,4<,t
"
/>
ux-b
o1'Pt;catlcm
jn cr &T
to tr:,cr'Ve
l5-09-
aoll
.tp-rrtet
pm6rorn
*xrt iS
Serw,t roirt
Le re
ple*e
d
sa)i1
*laadsnX o(
rhe
utLhe\-catk
t
.9rre ttfij
4atloto;n1
Su41,urt an
xarn
ple
Loe,
apPl
i ca-hf?h.
fo
Resrvnte
D:\romcor
e,o
(+)
>
urebapps
hlsb.xfn
I
<|lfeb -
c"PP
>
zser,{ I el
>
la\
\!/
Z6e.6v
lel
-
fiarn > Abc
z/
S-n>
1(4111{
-
claSS
) DoresrV
zl3-c)
(ql
2l5e\u tq
D-resrv,jal
&tesrv ,
c lrrr
(lo)
Bervlre
f-, -)
{
----. (rr)
i-
TordoJ-
&uL(,{.
and
Srrres
thro in
llaP
dao"st'
in-ta nc.lt
X
.
ooxnp
p
(r)
(r)
lge',rle+
- vnppinq 7
Lar{rltt
-
namt >
Zi.rY l- lb.JkYo >
Lls-->
Lkilb
-app
>
w.r'to obove
diograrn
i-
.t)
.t,-,.,,
I
lesra
.l u-r>
(6)
C')
(z't
Cs)
frrQt{arorftr1
deP)oYeeS
ltre
Serv)et
Ccola'irrr(
golc
APP
ciPPl
i ccrH
c'n
'
n
recrdg
t,ocb'xrnl Eohtes
fu Drestv
nd
usc*
LroroScn
Sil,ts
'reqrzs
l-
cO',
od oco
Darc
APP
: ?020
&
Ye?resf
o?
ve1/Irsf
DaL
rhe
clegioygec,l
&ryr,ea
toit) b(
lo(4.lcd.
d! o{pb'cdr8v4
[trDg'r.,m
b3 tVeil
de4]-Lesr
UpL ;r)
urt rhe
(,,+)
Ca)
'itrrra.t
Da-teAPP
Bored crn
in JOmccct-
fhsed
&xr,ltr
9q1/rr
C_6i
I I
be loC-oucJ,
testl
c+
yeqrest
URL
ilne
Sorvlq
Csnlcdh{,,/
lurkrrr
i$ /rcstl
hEl-3 -fNF
b*r
:/l
locathos
r : rc''o
/
wxare
f
D )
ncrmic Neb Paq
e
Dt'e c,nd rime
i
9:46
d.YD spr
ls llo tL
(
ra)
Bared
crn
locc.t
hoa r
Cs)
Ccrn hgur o-H
an
urhoP
Ur\
loops
h^
Crbc
o?
toilt be
,uJ
(6)
\
tqt J
Bg
usln6 lo6iaJ.
norne
C[as s name Dof<
srv
S'n\,1&
r{.)anf inS
)
ptcke&cP
Pt
""
f)alesrv
clcrs6,
c:{'Qa}<
on *ar
o\let'
C;P
ohjcrr
obiar
ar*,t{ )
6erul+
+.{6
dr
hrcb'xro\
?+f. e*"'.
ohj*
fu
lb
a-d
tro)
C,') the
&S
Sesvret
CoroPlercs
tbem
it
s-ourt*
6.rxte."r
houl'-'3
to crt'rtaq
atx:lla-ts4'
65jors
DoXS'tV
ctott
ohie"
--
&.,ta.r
loado
is$obzadocr
locaxr
thc,r
d4tatnic
,*LW
%
tr,)
&.ta)he^
cn.ecfcg
ona
3'r
c4
relTrest
)
.r.sPunje
re.y-rest
or^
d cou'5
Srovice
C'
-)
rrsllod
cro
telpest ,
'*rn-,e
o-"*
ag org$r.'z'f
OolPc*
gxouattd
tt
Q^r.'icet')
tn-r$'ad
Ao
tl.-.,3
l,
uxh
s'r'e'
g"
Cc.n
be
p\crceA
onl!
PaYametexl-zel
C0ns1-'1-Lcrc4 in
Agr'
rDr [)c}96lbte'
Bcz
&'ru\]
Ocora]rl't
ureJ
O?
Oc.l ftnvle*
c\rrss $at c"ea.tt tbe
o$elt
c4
i[-
nof
drcrilab
\e
fl"'e-
rhe
&'ivlet
Coni-ctin'l
.Javci'lonq'
f"sE4Xo}r|h
ExcePr-lon
-==:=L-
NorE:-
iP
dr.re
a:re
no CcrnJkacrcls
'in
jala
clctrs frt" o-pire'l
Ca;nstrqcl-"i
in
ertkncotse
tl
tg
Otr,{ SeoUu
clo6
c
$-gcrrrrtrt
Crvsl^'aLltlt
C[1r
Se.rvlt*
cIn":S.
$n-ocrs
cl&ts
as
dePr.rtt ConShrrttoY
C6nshc..e.l-tnl
1.P;rr
Y161
!Q
6er",e'ra,r.cS
0-Pc$arn
t"hcr*
.!,/
g-eorc.m CcF{wr!f,tt{
LoVute
Crec'Jr'X
O\F*
{n
ato
rnrr(l
rncL
fu"re
tha+ |-Patom
Con$rrrf"/
.-> I'rutt Gotc.i
rtc'f
CaSe 5
&'!tel
c\&ss '
So
'
t!{
CArcrtc$le
i n our
[0")
rnart"r*\
t)
(*e cotnPitt't
fu
\tocose'r
6Pindou--r
griro.atd defoulr
0 - Frnclrn
Cl5',Lt|nLer
)
9o
u\i
-
closS
4i*"th
(Ploced rnarruoll
&t"t
Cc'mp{\cd{on'
.lnfor,ti
6One"tettc.t
9quter
t^{D?f&-
fioes
}o
Ccrnt(nl 4
uX-bpci3 e
rrruqr:um
floes
ho
Brfirgc'i
(,indocDt
-
Brucosc{
(,:lndotia
Bvc,X<rr tolnaco3
GEnera-re
d rrressages
og
husar
rrindoc''r
&s rhe
&'nsole As
lofl
,
cs&nr*ncn
rnesscfel
nlotllrrz
rohen
4
yqaeg t5 cttx
6,\,en
rD
a &tv
l$ pYoO{
a rn
o)
ftg $erv le-t
Ccmn^i
nta
C.rea,l-qS
Onc o$err
'*
tl'1af Se',rv lei
Clc'ts
5)
Serv ler
Gr, Eite'{
gk.rr6
4
rl.r,e*d8
6n
*ror
or4e.f wpetrnJiyrg
ftr
U*l*orU
ol
fnueer
bOs?s
,
[.,
-t
*rv
l'l
Cc'n ic.ir'r
oth
YelAa; t
'
lve,rX
Tbrtad
Can
Pirtl irg uhiqre
otaF'l +#-'rs + #
\eT'Le
sl t
resfrc'&s e 5qjerr
crn 'ne SeFFd
11.-i1
d4".e" n
u'" I
',
-*ttt
. ,zlo" l.
be
'idenr
6'ed
numbcr
artted
fi"luq L ii6
threJ
na,n e"
U
r*\{i
-E.i
. Evc"U &je*
can
k
idr",U&e
the
|l-",s|'Cde f
c."iloQie+
cc.p
-lp,[g,ae
C)
4
-*rr
obF4.
-tD
prove
+he aLoue d.;c.6vam vetarcd
skJar"enFl
in tbe
lervice f-
,-
)
o9-
DrraSrv.iava
,lr, F dako a^d
hm {-O
rsno"t o5i
_--:--.
e"
ii;Vi,
".*';
;;;'-c
rs
"+l
tD$'ihi()'
zlatnw
''
practco\
adJ
tt"u4rluur"tr
d"
'-
4u"
>'
).
\--l
t;lirl'
LYuYt
411 Parfurol'
\_/
d.t att
{t ose
{
.lbr,"ad.
stngp l6c'ooo)''
*narr
is"+'11-*o.1...r"ff*t,)r;,
ft,o'l-',-'rlr-'
('eb'
z
c'lte"t
vtryest
ttr'
pto'prrr{-\n
f'/br:
Cu..ve'rr
darylst
Y'tarea
vq
oU
hathotl"
i5"
+'rt4' harGJacl)"
Pc.
rinr\n
('v"'.*l
ffi
;":;
*,
T::::.1;'H';?"'
?tr
frinrln
(
ZU''t'
C"on'
3lln$
cr-h
f
Ex.t/dsn
.e )
t+
e Finl
SrolPTt*"
Ct);
3
vJLb
all\ic".hdn
c6nlo'4ns
rtv'tlriple
9'ate*
PfiT\a-.s
n t r^ lzrJc-b'xml
ffle
PNS|ilna
rnusr
be
Conqlu'ed
I't
'=""""-
-'
86 ep.r,fyln4
[;(f'e"enr
GnriL*
tufns
(B
'a,n
r''^ve
1Jsb?.flo
)n
d;PP"*"t
*X'-t*t'
rylEt-
rf
9rvler
x)
Exat''rle
NLb
Atdi
cc-.ti
"n
in
d;?k*"t
9'urer lrograrrr
E**"AW
+o g",*"are
f/re
or,rtr,ple
Guter
trYo8raYl?(
lou,nd
6&PoXes
f^-ots'
-f
N F
fre? -r
,-- c$ru.ro1
Slrucfure
.
Nsb '
xrrt)
hr'.t
srv '
jav q
lxrzl
srv
jav q
6lord
srv
.jay
q
Xrfl)5rv-Jaua.
)C. clcrss
C4)
edarf
fl^r
deP)oYeernen
r
Ei\
mrnE
APP
r
-
uJEB
I'
6tcP
-D
'-
Delelop
gou,,.
code OP 5e-rr
let pograros
dnd c^,reb'rtnt A'te
QePe-t
Applicancn
(f of
Pc(ge
no :
5t
h
60
In 6os
pc.ge
154
*0 166
lir6
Stri
Fe
d? ;t'
o\ied
5
uecadr
co'!P
ooi
th
crt
I rle
lorFi-,qus;n3
&-orrlerfigrest,
g'v\etBterPcrnse
|lttp&''v
t+Ruy'est,
+hhG'J
te'Qtpo"o
f*..s
dr
p,;;;;'
urruYe
cB
usi"3
objeds u can
1oo{ts Lgirfi
att
the
'ftttio'""s
tP
po+oco\
liri-P'
/\
.-
4-ul?J
ctars
*ren
ur
rteed
to
L rrret" '-
*)
Nhcn ocd 9-rrlei
class
Use
g*plPc1per{'
gourrtl2esftrrre
Hnt$qv
tet ctc.rs
then
cDe rreeA
lo
Use
Obie,r('
SKP-[|
:-
{onpile
ftre
.
iava
ftres
o?
exrcrds
from
obiel-s
'
Nl-en
Oat
9"vrcr
Clor-r
exrc"ds
ftcn,
obrrve
opPllc'LHcro
'
Jc.\,ac
+ 'iavq
icfi
ton'Cdf
9nv<^
Er\
YIIMEAIP\
NL8+?JF\
c\aises
>
6rep-p
l-
geplolec
thc
ush
o!p1iar116'"
coPY
r:;\
rtrnzAPP
f"tdr
lo
z--ltnncc'l'lnms
>\
N"bafps
*"U*'
6Kf-sl-
Sk"t
the
-tor"'cs't &'rt'ezr
c"d
Tesr
$
rrreb
o?pr'rcaric'q Q
taro3 tlte
I
frrcv
i
I
uod
ur
1
/
xttu''
'\
/
x-rut
\
Stto,oin3
REFest
etr)5
'
hr
p
;
i /,
*,'ri".]n,,T,,:
f
ff#;
!* '/l )::]nT ,1,,,o'
lr*rv\rArr
l^rttp
;
/1
loco
n
i .rrrr{E
hln
hfrP:11
tocolh'si
"7{lx'
/
i
Dg
$.rvterpo6raro tei,r be *."6tr.0
o3
un&<hXrnX
9'""-
o,,l[
o:Pl<+
Pe-tt-p;rc'tt"'t.
oP
gryvLctlrreflam
and the rcloc'drn|
oP the ueba'rpacctncn'
g Hoco c&n
toe
Provl
de rnulriple-crr)
Fetfcrns
to
a
Sexv
lct f^D8rarn
'
lrt"i
plc.ce
ihe /-trl-
Poft.crn>
Q-
mulffple
frrpS on&n1&'t\e+
-
ma49t"32
g
-rbe
flodrAcaHons
dore
in
Under\q;og $e.rve{
c.,,forno6c^t?.
61e.b
' xro ) Aru tr:tLt
be
veoXruized
tfr
tJhr,reas tbe
r"od;
Bcanons &me tt' f[re
abc
z lo-t>
cbjesrrv
tl6'c
>
c 4\-
t
'J,
t=
Lge*lU
2
lsefllet-narl-t7
Z&'r\)le!
-
dass 7
Asent"r>
Zervte* -
nro1ry'ing 7
/settla-narne
7
lbL ls-n
z
2
u,1-ywqnz
I
+*2
LIY!9!Y':
| ,-rd+.-:r.>
/-utt-lslrrrn
>
lVstz
ty'
'
t)
Aole*-ftr,fPinn7
x)
x)
c.nd
?c-hrPlDSY
Dar6-e
&c'')o
PrrDgrorn.
Pntlal-.
d*"t
d
OLIY
&wter
]5 CctjJad
cG
4*wt*rz
<{.nl-Po.t-lc{r, t }Ui8nt"
Otrt
Q.rvle* ClasSnctmc
g*
Siders (ctients
)
nho
6r*s
the
re1uast
to
Tbe
h]ES-JNF
+r.Lr
of
Jala
Nebaf'Pliccflc'r)
bec.au5g
it 6rm be ncceostd
and urecl clnlt
t[,e
underloXin3
c'tx]&^t't'r'
tohcrr.
the
ultlolp[ccrHcn is dqloyeed '
-,
cnts
un&r loxioS ,g{ve{ clrn
uJe
LoEB-f^1tr
&lde{
*rtr rteans cucnts',tnDglt^ms
G,''\
use tl*s tizB-rNtr
$d-'
Oi Nh.'' Sn,rtu[?.yr"srf Hfipg,vletRepesl
,
&"rrerRerp"se/Hrpfe,vterBe5pp,g,
942:
Ctrc fie inrer.ft.tg5.
Hoo Crrn
g6t, 9,t
*e
1x.rur"e]t'r5
op
@vq
&6\)irc (*+.
"ts;
";#irr,
Atb:'
ae+
,
teo
o,"*h. ohje.f6 oP th. alov.
*; e
inftj?e.ce|.
+foi impler,c.,rs javax,
Se.rreJ-. &rvre1Bg1aEs1-
(:) ai"rrt\
(1f1"&:4q
--)
rs
[res;rrose
"*l
a
* uqi*
B"t'"'HlffiH:
**ffi
imp\r'nen]s
.javox-
Sew
t
er
'
&-rvrerl2esponse
Cz)
d;*"tt
--+
:fn lcl.fttal. eavL<
respmse
ohlerr'
C-.[ctsS1146
g
".
016.c,po*re
-
Gfirl;vra'
c.,one:lh>r
- [2ew's
Fac"&
NCrTE:.-
---
*sponse
OdScS
6;tt
chcnge
bt'ccA
ao
rhe
x"en
I
Co,
pYD\{araLrs
newr
*ecif'.
&ese
cla:srx'mes
\n
.Qwbt
ffirarn3
Jo maL e^rwp*y^^s
os 4'
b'vu
k{q,^&"r PYoXrans
'
-
D
'
/r\ ! ;^ax"errvle*'$^"renPerp^u(r)
Jova' '
setvert
'
S'"nretPt+'un
[f )
[
to"o^"
'-"
"l
f I fenr^ag
J
"renrre
|
/
javar.
seavra. l*
J**
vtuBe4'?st
(7
)
[
to'^''ervlct'
d'+]*^''
P*r-o(
lhe
clalsrr,me5 oP
.re+rest
,
kwIA Ca*a'rttt
c&
Use
'
-fa
knoo the
chssnarrr|
4
fafesr
r
lsfv-lr,se
o\e*
i
prc.println
("
zb,,
'9
odj cic,ss
name " +
*1"nuClc's{-));
olp;
.]tr
oti
ctat<
name '. Qey.,usiTocr4
p.^r.nnrln(''
L6r7
xts
Obj clats tur^(-"
+\xs.SUClcrxO),: ap; res obi
clux narro'12"+^s'D"l
*)
unrreosi...ndin3
rhe dewir?l')erLt pnixers
4
Q*,,lLrcamlc.,n0
^
:\^
1:lcr
P"?rc{m8 :-
$cti&li'neS
+o
dtrclo0 3 sz-ru1-t
C(tnf.dhaa
ond
Cc,nfctn S
'\pf
)rau
i n
6
rr, tes on J
*
Vendo
G^pdel
use
$eru'l*-Afl
\
&v<b(
&ryv.u' Cat&xdnr''t '
*^t{nt',
Fa,X',
or,.'c"-s use $lulu-
A1t
-t"
cl.,Ekf
&.rr,rtet
p^'6rarn3.
*-r
$,utt*
Ccn*a,r'r,r
is
o
VenA"n
clr*ky,"J
W
ckx"t infrbn
c,'t)oj
Va,ro
trr 'rnrcrlorcs
4 Qovttt Afl
flocLages
.
4.c;tiries n
A<,rdap
&rultrfr'D$t'rim1
U;rl
5e tlrrrre
OnJ
+o e^c,'rc
Qnvltr
l-tr^"
,
Jn
ou
'iArre
a|.ias5
lo6;c
-l
---
$r'.u lne
9tov&
tn*.;nen
oil
&!gh"!^l-,m
6wn
bud
o,
%y_:{.*,,1.
Q"rwA*
no
M
eo"r'n
9"vrcrPryarrx @ eas;t,4
.
F
F
r
ts
J
p
c
G
b
aJ
-)
c{] Y
,tD
the
dio3r<rm
@
wrlrdar
Grnp.v,;es
WhgL,t'r^ s/lols.
O fhoTonu
LJEa
6Je*,c'*<
ndfe'f*
0
flw,yav,uts
krqs
grv|t
P-t
*^s
rtnd
$.*tt+ 6nn;vw
(^eu&s
tlq'n
tr
c
7
(,,.J
tt E I- --..,
a,"J
Ar^!l
b'r';r+
U$dnu
]^
**'
fuofan*S'"'"u'
"
,J
I
9*w-Wt
-n&xlap
}n'tt<ty*6'a-x
L"h'n
loff"fu
'J
tn ilut't
ftoP)v*t't
]*
** '
Qet
rqL,qts"
ut
,J
I F,
$1
dJ
Lrx
s, cc
F;
J
X'.
F
t?
t
c
+"-
av'k'
^",t*,^l''cJ1
"1"^
h
C,]
-)
'--.'/
fitq9wtet
class
Itn,.
oll &.VetS
clnd
e{eted 6e'rvtefr JsP
al) tfieSe
Settu
e'{3. i5
Cc.n
halt
garn
(6,)
Qverri
Acle n
io
Srr-bclcrls
o ir{t
caro
(oc"b-
d'h
ftoo
tt"xite
t-'-)
;
Putli
c 0"Y
*-r*"ut
lnbdiPit'
Ove{ride $e
ir5 Sctbdajs
{
l
D.1c5rv
extod5
Gcrr6;
a
6erv lct
publi c clclss
fteir
CbfiftiaiYt
5
C.r CcrnlnS bos<l cro fu
fl,e Cohrtr., $crnrrrS-
speciAcarion'h"
**
ccrtrrk
(D;rL
Eg':
lbe
prolcrcd G'-)
nlerhod
o? SuF-rctcrss
Can
te
pufcred mod;ftcr
,
-t-*'.,.
+)
1,.;h;re
ctortsinS
@irh
O
drtvtce
(-,
-1
orrhodr
6oin6
h
te rntrch s;roltq
.
Nhlte
OVerridhj SLrper clo93
_".!gd
in &6c)cd5
rhe
Occesg mod; Fe"/
pub\lc
&rvice
C-''
fl$lic
voicl
eervice
f6alitePE*t
re1
,
&uicePesf
c'sc
4v'
)
tl,^'*"s
SE,l,oExc-t{tJ
o'
@
SeNic
C-)-)
6g/nod2
/
p.t
^O
$lricef-r-)
i*
prorecxd
void
grvic
(HrWSorrerPgr.rt
ter,+htp&*vtcrP"rp*v
"*,)
th'"ts 5F,J]oe
protecred
gsrvice
(-,
-)
(<arricelr-1
rrt$oaa
)
oP
Nrf&.
(ar
s""ur,*
r*Fo-
)
en+w
uir6 fr.ff
@,)Wrs
mo"[A'o.
*)
ur atn
C laSS
,n
U mcrSr
Sfr, Pl-J
CU:
Srvlet
clar6
rrrr
(
rn
o g!c.I c,
ye. (
Cnss
fr,r me
ccr\\ed
c,s
Fqrr!
?4
Kvd
rnme
l,
1
[irs]
jovq
ure-bopprrcorio6
[
U.r.npt
)
W Dre5rv
'
jav
a
paLY%Se
Pr
i
rn(\e
(oirl
&ckq
(o.
) rocr
fl-ce
oame
poloilrrl
Oc.rne
hlen
th.+ ciess
is
toirh gncktrge rr,mc$
it
"' \u+eAPP\wP(-s"r
\ctt's5es)
iouoc -d
DcLKS'{\i' iav A
web.
^m
l
1\,y':b'cQP
>
Z&1r\U
>
Zserv
lel
-nome
>
Z 6oi{\et -
CI&SS
>
zlktvtet
>
Zfuvlet
-roapping >
ZSe{v leF
-narne
>
ZctY l-
Parl-('r
n >
z-]gsrvtet
-rEnpl
ng
7
Aae$-"+p.
zf 5errr
ter -
norne
7
Or-rest
v u
f6e"vler
-class
>
ctb
C
Pr
.
F
t
a
\)
f@'.be-
?#t
abc
tl*r'ttu -
n3.me >
I
+esr I
L
I
ut
r- f+rtt't
n
7
-The
6
fw:cfLrrc
a? e4-k-Pettcau;na
:
-
de.ptogezrrenr
dtrec"tr.5
DcrreAP P
Pu*"1
grr
r
'"
htr'
:
/l
locc.l
hoa t
: )-orD
/
hJEg-I
NF
gorcFPr
|
rcsrl
)5
*ere
*de5Yt'ic(va
Classe
5
C,rCb
.Ir4l
>,--,
DcrheSY''r'
ctoss
t rlh
tt)
&@
')
;fs''eco-enJtJ
to
6u\
tiPte
radP'\es
,tl'tt
Qrrc^d
vo,&t"E'
-l
J
p\@ce
Ja\,a
coLbaP P\
lcdric'n
the
$rvt$ ffivam9
*
ea*
nv)ste
in
&
Servle*
class
nam(
and
lctl'Yiol3
Da'-r)
ore
designcd
5
ruPes
rur,s
"[
grv
te* 6@S
a*icirr
ulc Can
p'ret'aY
b;de
t#
&o-tturro*n,-rg
')
"?
UrrRartcrn
anJ
U2I-ficrtom
c
'
)t UQL Pofttn
$e
Ocb 6rppt
i C o}-l
ctr
Accordtng
fo
Oxl @y\e'(s
aTe
r) gxatt
roo-rrc\r
rt Di
rerrzrr5 rrrrKn
ej
Ern"si,m
rntrj=h'
to
.recogni z'e O"t5 $ese
0
Exc.c.r-
rrr,r.},
i
-
-)
ui I
Partcr
n
ft\$r
5e8'' n
"
I
.--,
ur I
paftcvo
mu.s t-
rpt
horj(
Eo.-
:
Ltrr t-
p61Pr
n >
|
tesr I
fetPsr uYlS
bttp
:
i/
locathost I
zl^v
charact<'{
'+"
clttatl<^
Pc(fra.
.(
n
>
O Zur
t-
Potfcv
n
>
@
Zurl- ftrrtcvn
>
(9
tu"tr-Poltc{n>
i,ato
I
yt4Xpp
f
ps+l (larrea
;
/mn"rPe f
l+srt
lcra'.
(Invatiad
)
/oon+nn
/au.
tr''varie
d
)
lbrclpp
f
xVz
/ltstt
(lr,rioucl
)
Paft.rn t (
for,.t
'rro.l
)
Ites
t
lx.gte
zlu'v1,,,ttu62
f
testt.ao
L/ur-
putr'zrn
s
t.
I
abc
.
do
/
kS+ I
z-l urt-
Putl<r
n
s
g$e,"r
eactrnples (lyt
q)
b)
c)
@
Diw.ro"g
rnorch
j-
-_)
cr-i
I pdltctn
rrx.rs+ beg io toi
il,i
t'
/ " c hc.laaL'l
--a
ur I pd-t Y
n rnusl end co t rb
"
*
r'
ab&ratfcY
U'r I
Pcrfur
n can
EE:-
YQlAesf tttl 5
l---'
in'bu
ptc'""
4'+
oq
*'rn! utt
le in
Y?
qt!
htrp;
//
locclbost
: ro'o
I
DajAPP
f
xlt
f
c^uc'ao (varrca
)
I
O^xlil
lv lx
I
aac'c,.b" (invotr"d
/Oore
Ar"P
f
xltf xlvl atc (vartaa;
lOo*"Api1x/y
(variec
)
I
[r.n*pe
I
t
lolabc.crP
(vc.riea
)
/
O"r.'Arp/ ntlo
I
t>3
finvorica )
Othe'r
exciropl dt*.for5
foof,h
r*
ur t
fxfi.r
nS
:
-
lurr- {bJFcY
n
>
/rcsrtlX
zluvWetn>
l-Lrir-
f{rrKrh
>
/xlllr
zl,
tt-
Ilrrt-dh
>
4svr
-fiarkvn ,
/avr.6o1
xty'x+wv
frorttrn2
'r.
-,,
o
(,,6)
mdF cl&i.,l
cdrh
lrn lc
a-----i
IP
exp0se
YrC$ {16d.at
to
hiau
rbe
rbe Erhnolo g
5
*he
&-rf
s; lC.
iecl'nologS
mme
.
crrbs;4
.e
[pa]erw
s
_TO
Otr:r&me
4
o.+.",--n
rtU< pnrUlr-n
-f
-l
t
clrl-
P(l't$.i
t
J
,J
\_/
j
'-J
'-J
.\'-,
.\--,/
\2
rnroe ag
,ctt'arJ,^'l
@
enrcnam roarch
i-
-)
Lrr I pcrf11rq rn-tst bqSin
colrb
tt
J.'' S3tt'bo I
'
--j
ur I potFcr
6
."xr" h |c,rr exiensirn
Ltlf:.d
ct led'^f
I
dt.
z. e.tnslo^n hynd
/
Iert(l >
tt6.
-
2"
Zull-
part {n
>
+'d0
z/uo
l-
Fccrta n7
p/crrnp\e
{e$aest
url6 l-
hnp
://
r0cr,lhc6r ;
qolo
/
o"xapg/auc'do
(rett"d
)
/u*+pp
I
u=f es.lK-do
(verree
)
/oor"xpn
/
.ao
(wl.a
)
lxwhp
f
x"atc
frnvo,uad )
/
Oor.fnr
/
x'ao
.
c.bc (z,rraoe
A
)
/
O.'te*nn
lo."
x.z- do ( vati.r
)
Qlbet
xotnpte
gxEntiun
rn:X} Ut t p5dtLrn g
g_
lrnt -P3+ktn >
X.
c
Lu\t- wrt
{fi>
x
'
A\ z
zL[ l- Poftc\n
''
*' do
L
latl
-
Pttan 2
tluvPrktn>
Zlart-
6*krn7
U
(9
t,
-)
/u{l-Rsrtcrn
>
)tts't'do
t
f
ur\-Po*loro>
a
thr
s
Llt
\
tuttcr
n
C6f.ra3
4nd{n
ErcrJ
w)t<h
uY l,-PcLfP(,(})
uJe
carDrt- fvc'rne '*'
StttlJ
j
Urt- PcLtt(Yn
{
rnlxrnX"f rnurltiple
4W
'
/r^.r^\icd u'r
I-
Fuitc
rn
fa'
r'cifjtaf
'
\/
Zurt-ynrt<rn
>
/xly
/
x'do
y'wvpano'a7
U'J.,
hm
ma
roixedcl
rl,e
,J
9^W
wvxh, Diyrc,fcrg
mctr<n
sr'gtes
)'.
OP
-Ibe
tert
*n}
hctont
"
bgp-rre*r blco
grotocol
rcP
frP.
tl-&r runt o,ie'r
rrr5rerv
teq I
n6c]fsne
I a
----
u$en hor:sar
rruldpls deh;\S
t,lndoto
genorcdes
rrlAes r
g;*n b5 btr)wsu
LDlvdo@.
io bl)rc,P?ll1o6
c't)o
CJe
Ccrn
'v'eynernbra
rfie reguo.t
rhs
detzr-tLs
CclnfrinS
tlPo
a*uu
x) procedure
to
drsploS
irna'
e on tF,e
t-oelpa e
@
gtnaro+ed
bt &-dv tr
Pr4larDi
n3
.
9Y:t:
p)ace
lnage
Ae
e atn&^r rrrebroot 4rraer. og Dzptoyee crx-b 4pticofion
4''
rn
h.re*pp
Sr.te,. oF
1!-c.r-ho-e
>
/u.,er"pnp
s $taen.
Daj<AP?
u
EB{r.r
F
elc'.s 6e s
6rP-uF
io saltef pyDgrarn
fo
&
L--.9ops'u'"toN
sPlc,g
rhe irncr-1e.
fur'println(t Lbr>Lat>
4iroX
src
=,hhlcr
litties.
jq,
0r/ oq/zorz
a\locrlS
n6n -6e1re
ntl
o-l Ac(eS S
thrurg[
hu*
linv- ;s
-,,4
as
r,r;dd,=6lri6t
hcShr=hrn'j)
r.r{it
ertcrr,}n3
Code
Jn
V"rviCe (-
r
Date Srv ,
jav
q
R
'l
ctoset);
rlfotocol hrip
cle},neb
brouser
io
Servc-r
and
-,
Ittrp is crpp\icc*i
crrr
leue I proto
co I
et
o?
Qules
tbdt
are 'revtire
d to
Pas
s
Se-rve-r
to broQ Ser
Nlc,chin e,L
t
tey,(e sH
Ovc', TL
l^"*
.5rra.tcl
ca;ncl,:crr
hur
Cfl1calr Ja\'( d
agA
olcp
q
Dare S.rv
86tu
e)
(s)
h*r
(t+
.t-
(
PegAesr
u.rl:-
b?P?.
detcrirt:,
l-l -
>
H
_-)
p:
P
--)
(ireneta6nX
boe
'.
ll
rdarbosf
:
zoro
/
94tefu9
|
rcsrL
?
sno=)ol {St'ot"
=
ra{a
|o,X
Sw;",
b+tp trAlrebr
n*rhaa
(o'rtl ?ofi |" )
'-r
(
',13e:t-.r3c.,t
t
cLcr?Pv
-
lctnSaccg
C,,
---)
h+rn
*7e3+
lteode"u \
t
"
;";
* -*-'J
u"larcsa''ttr'
F3
(
D"r'ape
lrcs'"
)
;r,
pc,ydmetcYs
t+*^l
eHngJ
(e*='r'"
{sno-e:t's")
bm
rq7'tegt
6irl'
a'tr*e
*,
de-p-its
is
rhe
rresf's''sibiriry
4Jocolcvcoindo'<-.,'
Slrxr
dicrgrart,
oP
HtrP
re+re
r :-
,J
'.)
An e'arflple h+rp
"
rrmn.rp{^
t Ffi
isrelene'r'cs
rnFr'
posi
;'oor.ane
|
!"''r
A tce-0t-ld.nt&a-le
i en
-US
Atrcot -
Encodivt
z
Xzt,
JePle*<
Accet\
-
ck.rstr: rs0-6431
keeP-
Attva
"
3oo
Ctmne*t
on t PeeP-Allw
'
<u-LL blaY\v\ln
e
<L1.1
1L
I'
@ sm
=tol
(
snome
=rd
c'
HOsr : NtJ
t^,
.
Notct.\) So?'l- '
CoY
Utr.r -c{nl-
: rrOtirra /
feS'O
kcett:
|ti^tl
hrrnr,
Fxtf
xn'l
'
r,- /
x
fia+resr
l-\eq&'rr
bl..oF
Llnf
aeXlest 6ods/
tray tatd
ftotoco
I
,
er+r
oF
arbwsoc{yce qnd
e|z.
lw&rs
ASe.r
=dteni ,
crccep
t
)
oc(rpi
-
LaDS0.q e
e6=iot
{smrr,e
--rda
6:- Whc*
is
$e c{;Pl i.l-
f
$ptZelurst
H ecrlcrs
an d Qa/reSt
Q:.rartrerc irs .
l?eyrest
Header
s
Qep.a<r ftito.ur"ra
holds
fie brou.rser Br'pplied in6r41
ya1up3.
->
l.lotdr $e Vi6ir.n
I
ed
us..'
)*rrr,".{(i::-d"S
H eodtr n6r6gS are 4xed
!r
rbe ValrreS
---->
p5amcfc1 fnme
5
and
\,alreg {Ye
Osc'r -rleer..
Crlt brUrrsei
3lei$ea
---,5
nardiroq ln
Heo&"r *-"t
-;
Jctpti
cate
\YLn:'eS cLYt cllboe J
Fti sn.r
z Io\
( s*-e =
tqlc'
E3.'
Ule'r -69.r'tt
'
ACceP
i
ood
Qlt .
relcdcd inPo
occepl
_
Encoding
Cooki e
Con
necficrh
keeP
-
ative
Host
Ie PPere r
f15er -
anen
t
iP-rnod;Fe d
-
sjnre
Actrbor
i:tr.Hcrn
A&e-p
t
-
cl^rr'r6ef
and
-,
D;f fenrot approocbes
ewrij
.rqireS
f
2fiqLe
*
lrtPh.cl1.e5.|-
ond
A@
etc
.
rzPr,(
tr.3eNo
"
4[ tu +q
l*
->
l;sl oP
hrnQeq,^est lleod*s l-
yryi Use eidre{
gnulgtPc1trsr
4i
/
Utwg''utalQaprst
obi
Apprcact, r
;
6t--ftI-
SerPararne*t
q"eno
"
)
i
ll
A"t
g1--ye?.grPuto.'u*.,
f
nsm',,e.):
ll i,ws
rnLs
t
knur
pcivcrrneK{ {l6rn in
6r &1 t-t)
tol
fad.r'a\
opr it6 \ct-trre
i$ fPczlat
vaicteg
-->
fu grtrr ! ai
icc,S
defai 16
f,oo-
client
fne''ro.lt
nelrJJest
klq
&ot',
Srleh pmgrar6
Lx
need
to
crse idre'r
Gvee+lt1rsi
objc+ (0.6)
hfitqn**rt
EJc*,
us;t
l+?&xule+
Bepas_
ohj
cce crsn
g..rflcy
c,rl *,(d
tr,
fr-
I
.refrtst,
us;
j
&,rutetee1
o\iat
u:e
crh
qorlt'ry
e*rlg
r*4_ de6.;15
rhet raean
Le
crr.'"t
6arLw
defr:rts tite
l^rea&nvalus (
.$'"e
hescelkneous
infa
.
Q
pyfret;n1 rerp(e5t
Pcu.tr,1ett/i Vdiries
tery 9"utet
Era.''p\e
rel'esi
ur \ i
bitn:
//
)otol
ho5t :'
)
o>o
/
fureAPf
)
tt'rr
? sno--lot {
s*"t=
rc"ia
(
s'o*e=
Fn3
5r.,n3
3*nt
Norr:-
O
*"
'
@
IP
per
c.rrarer
cc,n
fz.ing rrrr-rrd
ple
vaL{r.res
tbo it
Apo*.h a:-
Err.,
me-,ct,ri
crrt o>
req.
xetPwamercr
N"o.es
(
)
;
khire
(e.
1-6Ylo'eEle"tot
(
)
)
t
Strin3
3t*tt'g
prnme
=
f3i",'g1e'
ne*tElert'e'rr [7'
Pval =
rc1 .
6uAvarna-tc'v
(Parne);
pro.
lxtotln C
P,ra.e
-r"-----)
" +Pval);
af crr\
rhe
'r<Ilesr
Grntains
rnu-tFiPle
stI
--
9'
A*Po'o,.eo"{ar"s(nsrr'-t"
);
L mrd5 fc"J
6., vin1
Gs
e\rsrlt
v
a-trteJ
6r
=',r1.
SetBror,rrrVol*t'
(' 6mn.e''
) [01
Sr
=
g.g*P"*-u-Vor*, f
s'o-""
)
Lr1
;
Noit-i
-1tr,s
ie UseRr
10
fithcr
the
rrtruele rbfu'rr-s
4
eocl"
rv'Y'rs+
'Pa.vanrQlerr'
ig
4 w afut
u"
re4,,u'est orde
then u tnr,st orflE
in &rvlce(' ,
'
)
Jtl
8e
I
oq
lrotz
t.
DrPPeltrr,t
"npr"d.t
"i
*d't:
*t
I
NorE:
(oe
frugt
uge
Ci0fr'0ccl-, 1 :
6r,.,9
6 r
=
*t' getl-leo1'lq"
(" t'so
-o3tt'r
"
);
/l
d'*.
b-'ow
*la
",u-e
Hrtp&.,vretQg4.r.otln *r,
5r--"9'galLod."
('attupt-laquqe"
);
i/
6'"t
eD-us
0r rnr.rSt
krnto
\eqfui
nom tl)
En
rmerari ctt)
nblte
(
q.fu5 y6.'lptemenrs()
)
I
\h@
e --re1
.
g*l-leact'lt
[
)i
BiroJ
(oll
j
cne
vt&'
t
(:ttV'f-')
.
Srrorsrr?J.t ccre ne+r4sl
ft,.rav,
rpr
{_
t
Jivts
n(mr4
ond
vc'.1&es
Nltn
fefaest
P6'Yc(rr$'Y
itrNc
-t
rqio
qno
-lo\
!.r?iUsu
c'ol1 tsf Vatue
\i
pr,-r arnlcx S
vogr.4j
ftnrmcl
f:-
-@r
Stt;nt
*t
st,in,
3t''n6
ll6'*
rada
ll
6'*'
h"u
:-'\+ I \T)q
J
I
noK; |.tr
clppro crcb ?
:
3f
its
\kq!
-[..1],t'ia1 o*1:n
5","j
h*-.
=
(Sws
)
e' r,e^tEle"e''r
t)i
ll
5,*
eo'h
leo.6,
n.r'.
St,;ng
h*
=
re1, gerl-leade.t
(hr.,*"
i;
//
6'*
u*
la,/or
lnaQr,z
p(,.plinrln
(lr*In.
r
-"+hvalc
))
J
fl;var
o1t rhe reyres
t
Using
bToc,rlor
Seltint S
heo&"
uo,r.r.,
coi\ )
chonge
k
sS ot,
'rhe
bruotrr
*+tt) coe
atn
change
crctepl
-
Languc.X
e
lajse
tbwr6h
slw
"a
ttst
-
b'rarft
v Setti
t.'1
,
hec,&I nomes
an d Vc'lcte5
uz o"n change
Cet
rru n
heade'r
vo
IueS '
Tn f E
tcols ffrnL(
.->
inlerntf 6pric'o5
--+
lzrngctrrqes ---+ a.td
--.
Jn Ncxcrqe
Edit rnecq
-
pnR-rrrs
.->
Mrvig(ttz'{ ----
-:
Lr,qa(Lges
-- ----; oJci
iloct' to knct,.
the
bruco5cn sfu: m*e
betn3 S.-
&tuleF
prrrXraml.
-Ihe
Ltse{
-
AgerLt .fp?rest
heode, as .sk-n
&)o'a
.
5r,tT
0r-
Ans;
flnPet
the
->
Lte gerXxr (
)
On &rvle.tk4rest, Hnp&',ufe+REurst
Ohf*s
1rl
datPfx
Yoegle*ltrir.! irfo
Jlor
clierll
fernrc,hd
.ye{.resi
-
ff
us;n3 'rhe
rffBc.l5
of
javax,
*rr,rt
,
$,"ret
Pelresr
/ L
)
[r!
pint)D
(" ru.,
r
r? contnr leng$
+<n
" 6uC'nrc.,rl-engtt',,
)t
;ff::
i:.::fr.
__,,_,
RD'Fiftlr) (ttv rel Conrcnf iqf
'/
+res/,
XuConrcr"tTypetl)i
-,
r",,il,,''
*;;#l*l)]r"*
&ovrinrln
[urb.,>
pst0ror
'
+Ye-1,.getPromco\[)) ]-,@
Hnpii.r
8!'grintln
('rO,
t ,9.-fre
"
+re{,.
$e+9reme()
)
;
httt
P.o.1r
intln
L"
,"",
Bay;vx
1,r*
no'
1te1. g*&rnop
P*n)
',
.-)
l6"s [aq
ru'mto'
)
F.o
{ry,nrl.,
l"
zuv>
fiicnr q6oc-hinu
6x-nn*]
+vq-ff+8cmo*filost
tl)
',- l?]'0'0,1
ncrrry1
=
r?. getlkac{er ("rrw -
c.gcnr "
)
.
is rbe
ltor
,f
lf
r nrod'rle.
Sc,
f,"r ,gruterApr
{ccurn
errkrklon
Jtf *Pr clc'c.s (getProrn
Jav.^dcr,ee6.LitBre
xtrrpt)
1rll.gnnr\n
f<Ur>
c\icnJ
n^,,ehirre
lt
addyr6"
+terl,,ffr?emote
flddrlJ
),*,,ro.o,o.,
/-
ll
,r","r, rbe
pg1.1
oP
,jc,r,ax. eai!t.r. )rrrp
.
Hr4S*"r.'12.7..,t
(r)
po. prntln ( .o,
re1 w**d
'
+^r9'ge-tl1e*oa
())>G;r
\,u
?o
prldln
I
Lw-
ry''i
St''n6 ga 0ue"5Str'3
t))' ---
o"u'=i
{
"'r""e
--1
fal,grint\n|'zbr>
e-anax1
p:\" *'n'6e'G"r"tP"dt)
)'
---:
g..tAep
(io'p""rrn|.Lw>{2y)esfuli,,+yg'5*fu1u,,URtt,;.-'-.-_e/o,r.trl/restl
pr g.a,.'rrn('
Lw>
vertruei
Lt'Yl" +
r<1'3et2rycv-UAltl),
--'-4 fittp://]utcth*:uo/au'n*/*ri
trzo
fddln|'
Lb7> gr
Lrft,rb" 1*1 g+Sa,r,r.*ForrCl)',----
*'o
J
jn,'f<J
e
"l',
ul .u.+.
|
"a:^>-e
lc'u
t+'"vr'
,q*'"rft..ra va'-*^
y
u'-
-t-o'-r
gtr*e"o
--
*)
l)r,&'..Stnar.'3
tt-re O0P6
'relorcd
lo
Vaoiats
rnerboctcot-[S
$a'tae used io
gtult+thnlt'
,-
",
3..l)t.o'cl l
decJored ;n
java'i
'& TJ
@
SaP"orocor
t )
is
-tt
it
rnert"rcl
i s implerrr'elcd
in
GnU;wx
in &nt-cdn-t/
94Pu'J
itwse
aI
o
o
S4pllei
jcu:o
cfox
rbol
ttPl"t"^fs
io's
frnelet"et.fcti'
on c/laLg
'-'
ndrme
rr\
I rhis
tu
[iar E
-"-
nflhocl
lt5pctnSe
hje l.']ett1
Coruf<.rln9
Obi.^*'
sFciq
lqr.
to cor"dcn
P''*N*x't
St-rPcrD
6u1e*
ptri'*g
Cancnru,r
Sr-r4plie.l
c-larscs
t}nt-a"e imp
ltrrvnrtl
$t';og
ja.'tox .genrlet
.
$*u,o
k1*+
(r;
.
Cld$
narDe lS
$Wr'
Tlr,s n
rr$od
rnur
r15
QerlJr;rcr
t)
ig deaa"ed io
Ttns rrr.r$od
i6
imPtcrr<nred
jawx'
SL'rvtef
.
$"u,aQ.rl-s.
Lr)'
rn
lorrror'gt^rot
gvox' se"rter'
S-*{Lt,*o
tr)
jaor.ctc*5
drat
)mfAtn''enl-3
,
lowxc*
c,{wn th;s
innPl<roe*Jollt'r
"
'-J
or,.,t
tu
pttoror
.{ rn''e
GotrrnrQ"lo.t
['lintWttrcr
Rrr=re5'
grlJrttcrt)i
iS
016.ornche'Catcrfir,a'
cc'",ner-w
,
[Lrr"''se
Ig*
inltr Foces. ltpe P14..esr
Focade
,
Setp^t"laoA".
J.--->
C --------)
H->
Qesp.,n5e
Bicr.rug codeS
,--
Tetrt
rl,u
graJus
o?.
{eslLrr'se
Senetdt<rn
-----> inPo
6ucess
------4 lnco-Pld
coeloresOu'rte
&rrel
Erro{
.rhe ule-bFte
oothing
hr.t
OurT{r}
disPl'o{ed
in
fr.o'lxlntln
t- )
baotne
resPctnse
C6ta.ter*
'
*
'-*tn
cotn&to
6"nvet
I
ue-bresource 0l$
f4sse6
'rniFrocJtcng
cra
wsfrnse hea&.
\atue
'
rStsnse
l,ec.derS
ore
Fnq
anA
efc'
vePresh
)
eonJe..rlgpe,
ccmlenJLengrb'
Codoe-
6661fro\
Tn
olitr
&avlet prDgfam
bcz rhis
ckrsr&rne
6
tol I clztng e Ee".,cn
l,,,hen
NebreScurce
fxogrom
(o",*
proSrarn
)
gg.ae
drpcr
d6 HttP
*Oorlat
*nr
.respon6
contdins
rnuth
ple
ternerober
these
dercrito d$
'5cH"
derrrirg.
...-
Http
-asrr,nse
6tarus
'code
[roq-se1)
"feSPon$e
C6nJenf
Ws[snSe
HeodaS
r00-lqq
eoo -aqq
30o
-6qq
4Oo -eqq
5oo
-
bqq
QeSponSe
Canrent:-
msqs
phce d
Re6?o''se
pparjer6
i-
?aIoefmru
fo
Lxocrxc-l
@irdo@
derc.itS
.
Ne
$ern
ollS
(anktnu'
fa
'
tO
ii..&86 L C"".,."nr"
)
BlcrkD;aqrom
oP
Hm
restt
r)te
f\cfocDl
)
Sta.iuscode
crnd eJ6.'".
Con-EnlTS?e:
,
fu*tru Le4rb :
Z<<<z< b14nY
Liog 4z<ztL<
Z6>tiz Dac
aoe HIne ll:36
om
6ept
t-z'a 2orz
z-li >
4b>
An
Exarnple lfttP PtSPot)a"
". -
F1l6@leo eorrj
inPp
{-
t------+
hm
srafi-'s aed
e
I
l-ltte
i
r.r
eoo o\<
Pernio$
e
Herrders
<
L<1LL1aL
Ig V[r
toan]
rD
Ove"{rtde
Orhor
lner'&rs
'hen
ProY&rn.
Se*-tLror;e I
TSfgOror..rlO
:
Gnrm-ryPe :
rcxi/ hrml
Cbnxnt
- lerrh :
E5
+
D*e: Fri vdo
)e
tr4o:64
&r4T
Server :
Apache --ror'rccd
/
5
O
Omner$sn
'.
dose
l+q$z
k B'EA
l?qEA
zJur>
4uodX2
zlhrtar>
eeptzdi
')e\z
Lh>t)b>
iP
.ip(I
uT.r'f
h
e*
no1*
eadcrt-r[.-)
-erboJ
in 5e',!litt
.,tt1
g\aoP
L'ine '--
(Zhr-r > zbodg >
flI'ti
t^P\corne to
'
&rrlers
l5runsE
bd9
I
L&r)
|
a, t-;>
Datc crqd tirne
i1133
crm
Cootcr*
(tt
)
ft3\o"l'
deku;r
Values
to
Cer
tcri n RccPdr'se
h*d"ts
'
,
(tn
)
ffi
serl-l
$ose VdLlres
Tesfrtr,se '
--)
'The
ctePolrrt "rgsp6.se
hecdo
code
i6 )oo
make
b'r-oose'r
inrctft'te')
jn5:-
use
the
ye6p6nse
lrpndel
vePres
b
os
s[oon
laeJor.r
ih Se.rl
[e]
prDg.r
aro
\'e0ule't
6:- Hoo to
uindotil
veprshto3
rbe ur!
pt3e aa-farr.r.r*rao0X
o-F.'
in Secorns'
-,
f-
The
re
lc,re d
6ttor.or.r3
in%
ON
mare
5 brcroser
Lo
indotr: to rePresb
fu
urbpc.Se
aP|zv
e-''cv'5
10
se'cr'js
'
l-lttp Qes
Frosg
and
it6 stcrk.,s
Codes,
He'c.&ss
'vefu'{ fia3etoo:
+q-51
Http PgsprrD,.
\'1eo.h5 :-
ore rhe
Locot'
orr
RePres
h
6et
-
coorie 5
Cacbe -
Cclotro \
f6n
Knt -
encodio3
crmxnlkngrb
Gntcnt
-ig
{te
[*t
rnod;fic
d
D@fe
6er
vet
&mrcnf
-TJesfrosi
r{ cn
dna erc-.
.
6
l-
Hoco
to trrrke
ureb Resour
ce
fru
glol' to
[)3l$
insl-tu{}'on
fo
4
brocosen
c,.rindoco 1
cdndfio
nor S1ortng
Oot?trt in
rbe
btPfi-r
Ar*'; Bcrppsl i6 c\ iernpcnctS
rrrFonJ
hotdlng
drtt-
'% tern;rnoq ;z'rto
d
'
Bru-oscn
(.'lindoto bolde rhe aLfiu*'
4
tsvte4-
frD8rarn
in
$e
A'?kN
an..l
usts
rk
q.*t*l-@'
ona
ved'-ces nercrurP
urcrnl
bifs blo
baroy,a $rindc@
ond
lErttv.
te6
.
SerGrteotTgPeL-
)
l-
in diPPe-e",r -F:r-ots'
insh&L6.'D
P
lrocoscr
Pirdoto
crn fte
sPo{ied l-l;rne
rqPe
6ivas
h.sed
broc,lsc"
dt 6tcdo
trtt5
this bupps6l)E tercuter
tt6,'r1r.o
changns
d**rcolrX
-l-t
q,r*
trrrlte
-fttro-i",6
Cocle in
&.rllei
{rugratn
-
i(
++)e
<oabrescrr",.'VDt'tov^
d''6ohle ."*< L,PR-'Y
dr'sadvonJccg
e
vty.est.
-fA
->
Loe
c&o
rrtlke cr Qrv
ler. prograrn
godfng
xtr
fttrrse
y6
lnoto
setr oindcro bcro;n",
\-./
Pr5rame-r cholce
gta-ru5
Code
{
u.e;n3
.reg.6e}3rzr.tas
(c!)
rnerlrol
\-/
Et
l...snSt.*s
(+o+)
r
-
\--l
J
Un;tru''Oa1
PcSot rce lncLc4frrl (Oftt)
flt
r1'tt p.nr
cf
uA,r-
)
L r u,,,,'c^r D^^..,."r^ I
^.-
r-- /..^.\
-
I l- .^
.'-'
gnlveroar
Resource lrralcrr
Lugr-'t
a+l
oq
J-rr
::''===-pi^I;nfl
ro \--,
->
In Octr Se,vtei
P.Srtm
uY Cen
fare
xfr
ruVs
o( Wo"s
\,
.1esponse
ohF*
'
\)
O ftinrWrttel
f
dr,'otrto S*'^)
.\J
furr"
**')
-otc
+eldtto
"nA
no
binafu
e"t^[:""fl*)
roo'lt'fa '-'
in
Ou{
Egr
P.rinttJ.ri
rc-r
Bl =
res
'
geriltlrtl
C )
;
res
,
91 l-ler.de-
l"p*g-o ",
"t'ro-*"be"
)
I b*p
r.o
kteeJ
, 9.nt*
Ye5'
ge*l-lec'der
(t'cn
te-c*,1-"0, j
uno-a""be"
);
hrip
1'1
b':1
tli
@
&,r*e*Y$*"
Nr"t-,
ftkn
+ee
is
bahP'XL
x)
Point'
tg io
resf&mse
Obit*
Se"v
ler
las
ymre
lext rlr,fc, nod
lesS Ai'oU d^n
f
no binc'vg clcr-ta
ta
t{}rjK
lr
trrbfrqt
-tL,^
Us'
C\atac'Ic't
ent*''.' fp.''*Nn
*"
)
dr,r.e is tncre
[r,^rX
J',rr.
qnd less
*ent
Jo]-z'
to
t's"t'
tl*^
we
bsi"Sr*o-
t
e'vt",
Q.r1"
Sw^-)
*--"
,-*
-t,
"*
Srt"ar
ClaraC*l
S.r'eam
pc,inhvl
tt ^rr5fj'mS
Cbje.r
P.,' P{int
\.,
f"
zb. be\tb
4
bt')
;
bgle
Srrearo
PoiD$n3
fd 16Pon.se
cbi
$,;rerO"nra*5*'a-
Sos'
Printtn
(''
rinrr
r,U
(rcrlLri),T
.T.,,. ls
ncrhinl
btrl
t"t:":,ir*e
rid)s;K
I J
'
;e inRnnal-
neltJ'(V
2)
Client
016 ?uroha(
es {he- 9o';-
q d-c
6hearq
OqjeorS
( 5"'uuret0*prSr"aro
.,
Ilrntli;
rcr)
.
becouse
the
piotlnl)
d6o ;Yxt'"rill
;n DCttn
Lt)
Acl'"in
qbc"rs
t[e
actaryttcotl'
CU*.hr)
6
tt"e
rst
trotk,'e
fieJ.son,t
u.;^6 FTP
trrg\tor'c'
.4*
J'*r"
Ta-"ne
tJi'l,, DNk
o1t'w(nl'w)
6)cnu,toq
*'3';
f
#:."fu.
rnochine
WcLs'
.l.ru)
:4 au"'r
19P fl6.ch;te
lt'
+6'4-'3
6t\
@,"r9
ffi=
Ye6.
SetOort'r*otv",
(
1'
zn>
hellD
zl|>"
)
,
->
iD6head
ol
Cc.rring
.println
[ ) on
ib it 'recomerded
to cell
prott )
C.,ll5
Frnt(
),
NWd.
sei{Ua'
Com
,
LJ[$ ig rhe
drtP. .
r:lrr:
pro'pr;nt( )
,
pco'pridln
t )
rnerlodo
1
nvironmenl
^ whare
o.5
fo.prnth'
(
)
pe'rpz"mo
he
Sarne
Gclivirg
in
. Qocbrc.,ruzd
er^IYonrnenf
.
^"^^v
4r
ttin3
dr'ndo
-
-.->
kee
ping
the ure bafplr Cruh
crn
1n
rhe
int(1
nel
rletcootF
Ki.6
-,
s1(a^,n"'P
--"-u
otr'fl$lu
s
Itr,u"r.
y^hrrr,
'
ci'vrr
*=r
h+n'/l
rt+'91'5
q
tfor"
JY'
fr.t,"'jtr
5kP-
r
:.-
Developrs
Groplerc
rhe
[oebpW
ol wbuVptrcojicn
in
slo @r"t*J
sfco <.n
g.t.y
re'tcAlP
'
lm' l
lYl
S\rt-s:-
noK:-
6np-Dl-
NOTE;-
The ctietr
o^r,unizaHon
1ur-hase* d*",.,in
AS6ctrqe fier orE
p.'rchared
Sc,-$ya.
Cora
11;aa1- $r6aruzakan
pun}o-szs
Slace in rbe
wehgrvtt'
oP
TSP
'*o[u'o-
\ _./
r".-u
f;o-1
o-S
clomoin
rs
n) (r rrc
murn.
Xd"S
a:,,.
-
--l--
Dafne
f(P
rrlftc.
*nr
Gnkans ero*c f$xea
)
Tp aclcl"rpss'
lGp",rc.r-l'i
'r
e
1tr-'7(.tl-3
r- ---
--- -
-1
\---l
3tp-s:-
1*
odrnrinibrrofzrr q
s[ur es,rpn"rX
uses
FTp
Ll=------J
\-,'
opplico$cn) anJ Uplmds
tl,e
*'balpt\ta)1on
ro
rF wb*wt
op
:s9-a.1"Y.
1
Sl,r.i, !-
Adrninlshalcv tt)
IsP
Ye0l6to'r ;be
dot'ains rr{roe
coiil}
3lobot
Drv\(
/..\-
trcP-rr '-
r-a
Grnpterts
r{re
}rcriT
4
S. trr.hsrre.
End
uSer Gcoets tbe UrJcS;he bg
uslng
d-o,:"ern
narne.
l"jtot,;
.
safldrn ,. .yh
(- -
[a)
t
W&?aqe
(cnn
es krr
q'b'c'd
a'r
Auu
+
,aeu.fion.
I
ryeE-r
AdyntnisFd.t?,r
I
CI,nf 0rgant
zaHon
.
Uses
FrP
ogpticon"a
aSP rro&;ne
atr
d
cdd
-n-
+b
Co)
reploce
N$@sutrc
rhe
yt-g)nfolrnnc.-
4
k
tr:
Csrnert-t6
PrD$T
orns ir)
ux-bsite
.
ro*r.'
-S,rr\n
r.t2-----''"
n
rorr
' Vcha
. c!""1
-',
l*+1,
)tt
z ' ri
.
v'r
:
"o
'o
/ry.f1p
lrc"r
l*rr..1l
nr
.6>.6., r
6sc/
yaLro4ff
l"d.r.L*,-
6feplo,leed or$c-ppl,wHcn
+
ServlalGnBg
oger
ie
prgrrthand
OhF*
---t
3.t i6 one
per
se-rvtrJ cl&s5
obie$.
-->
-This
ohter i5 crsef,..t t0
gdD6rarne.{
to garher
dda
"lo
w4rrired
/* rh"
Servler
Pmgram '
SeovletConAg o$e* rrectn6
ib
i5
Jarrc. ctass
*,aJ-
irnPlerneor5
W Can
cacesb
rhio
Objecl- in
io
CXrr
6c!!
lc,l clc65 6iet'
;
:-
Jo
Pn0u,
aboul
&rvle*
PrDgraro
Scr-v
te*
Proqrarn
ctnd
.Rot" Cx'r6iae
the
rbe
ohf,l
oP
javaX.
5r,rrcr
fur,
fer
C"*ai
6er^{
SrPPlieJ
. S"ourer
GnF
3
(t
)
Our
&tv
lt-t
frrDgram
bX
cc't
tln g
gerSrvrerGn&g
t t
muhod
&l'rerCcnft
3
cq
'-
qct
Gvtcr
ConS5
t
I
;
"
"--I:
P"r*
merbod
oP
Gcenrc6stuttr
closs
aslo'11
zorr-
--..-----.--
ServrerliPecactg Keeping track o? arl
rhe
'frrador6
ol-rich
*ac49 Plote
fu &o-
ot
r 8e',vterclctss
ohi'1cf cYedn'on
fo diorrctctcm.,,.ors
O
lnra,^nrioHt"
b'tux'.-
^r.dses Lo;rn
&t,teJ
Cwnirpn
upc''<s
o,.x
6e{vlef
clt'ss'
(9
Oqa.*
Arvivc^l
EVen]:-
.(crises
tol-rn
Se"utct
Gnf\'rtn
"ecivt*
Ecc-h
r{rest OP
Qcn &rvler
Pnf'tarn,
@
Desr.clrcrn
Event
lrcr.;ses .,hrn
$rv\et
Ccrnl-c-rlnur
is alourft tfie
deswo$
Our
$rv\er CtosS
OLJ*r)
DarcSr v
ctass
ohi
tk*
corrr
be
cotled
bb un&l loy;o3 Conkriner
aumrrn-trttU-l3
er,tnts a1e eriled oS
"
l;fe
cgcte
rerho.t.t" Ccr)'bon)clncn
Gulo4i**i:-,,
caus the
l,k-qcte nfhod5 o(
inlt (
$rurerGngg
au
)llli$
ktCoohaivs
crtrs
th,,'5
wsl"a+for
Insunfronfu'.-'
&lv;ce
(5*,'o
f?.1rrsr
,
S",urerPespcnse
)
^alE;.
&rvEr
Gt-r.,in
n
ctls
rh;s
lakoJ
+^
D**o^*
tve/L'r
-fhe
l1
tn
;mrbocl5
liFe -cgct6
->
ServrelGnbiner
$'vrr&5ram
a'
:-
o
@
@a
Nd Ej-
*rv let Cs'ntc.ltxn
Col
l5
th.is
rrrrhod
(Puo,,.
sP-!v;ce
(-
'
-)
)
4"
k4uce
r ArrivalEvcnf
e6hog
t
)
t'
in;t
(
)
->
ir n6t liPec.gcte
t
intt,
(*.,urerGnRs
)
i6 lift liFccScle
r.erbod
merhocl
vcld
grvice
f
Htut&ovr+
Lqrcsr, llttpgn'lerPespt-"),
d"X*^G'-)
a-
nor
lifeqcle
oerhoJ
id
Srvice
(Qrute*Payr..s+
,ez1,9rrw[2"sJu-re
*")
..
I'fer6crt w.ilq:
ogcle dialrarn ".
-
f
FcFccKd
10*
L;utuc
y6
gervler
tile
0
-
Par"m
$ervrce
fr, J
[turtlc
prlor
I
-,'
Servlet Life Cvcle Methods
f . init(-) method
It is one time execution block of our servlet program.
Servlet
container calls this method automatically when it instantiate our
servlet class. Programmer generally places
initialization logic of
servlet program
in this init (-) like creating IDBC connection.
@
Prototype of this method is
Servlet container throws servletException if problems
are there
in the normal execution oT servlel program.
2. Service (-,-) Method:
o It is repeatedly executing lifecycle method of our servlet
program.
Container call this method every time, when it
receives request from the client to servlet program,
programmer generally places
request processing
and response
generation
logics in this method.. it is most important life cycle
method of servlet program.

Prototype of this method is


public void service(ServletRequest req, ServletResponse res)
throws ServletException, IOException
Servlet container throws IoException when it fails to give
Printwriter stream object from response object.
3. destroy
O
Method:
This is one time execution block of servlet program
this
method will be called when servlet container is about to destroy
our servlet class object,
Programmer generally places
un-initialization
method like closing JDBC connection object.
logic in this
.IfSFEFFFG:
py!!9.J9'd_g9xqeyo;
When you
don't place
these life cycle methods in our servlet
program.
Then these methods available in super class like
Genericservlet or HttpServlet will be executed automatically.
Servletconfio obiect:
o
Servletconfig is an interface. We cannot create object to
interface. So it is the object of servlet container supplied
java
class which implements
javax.servlet.Servletconfig
interface.
Servletconfig object is right-hand object to our servlet class
object.
This object is created by the servlet container as one
per
our
servlet class object basis.
,,
lt{l
o Programmer can use this object in our servlet
gather
information about current servlet program
additional information to our servlet program.
O Servlet Container exposes Servletconfig object to
program
as parameter
of init(-) life cycle method.
Note: Servlet life cycle methods are useful for the
programmers
to
place
our choice
logics in the servlet program
and also useful to
get
access to servlet container
created objects in our servlet program
as the parameters
of lifecycle methods.
aAns:
(a) servlet containers loads our servlet class from WEB-INF\classes folder
{
of deployed web application and instantiates that class using
ilO-
parameter
constructor.
----Fr
6-5;qt r
".o-ricr'1
Lltr^s,"rO*tttt
Class.forName("DataSrv"), newlnstance0
;
Note: In this process
o-param constructor of our servlet class executes.
elsdks
Servlet container* our Servletconfig object as right hand object of our
servlet class object.
Servlet container calls the life cycle method init (-) having
Servletconfig object as argument value on our servlet class object.
Servlet container creates two objects request, response objects
representing current request.
r-,'
Irrr!.w(lr
Servlet container calls and'fh-er lifecycle method on our servlet class object
having request, response objects as argument values. This service (-,-)
method processes
the current request and sends response/webpage to
client (browser window) through webserver.
program
to
and to pass
our servlet
r"rrr.,l$J,.U]
Lt.l
c
(d)
Ys?dst
pntc*{b{e)
OUE: What happens when our servlet program gets
other than first request
browser window?
.hec.L3
Ans:Servlet containeFb&s the availability of our servlet class object.
from
\
!
I
if not available:
Servlet container performs
all the activities as it is as discussed aboveJ"l
lirst
"ruyuF,
Servlet container locates that object (our servlet class objectl>creates
response for current request (means
other than first request)
calls service (-,-)method
on that existing servlet class object having request,
response objects as arguments
->
this service (-,-) (life
cycle method) processes
the current request and sends
to browser window as webpage through web server.
<load-on-startuo>
o Generally servlet containers createl our servlet class object when it gets first
request from client for that servlet
program.
o When < load-on-startup> is enabled on servlet program
then servlet container
creates our servlet class object either during the deployment of the web
application ( server is started without deploying the web application) or
during the server startup (if web application is deployed before starting the
server)
To enable < load-on-startup> on servlet
program write following code in web.xml
during the configuration of our servlet
program.
<web-app>
<servlet>
<servlet-class> lc</servlet-name>
<servlet-class> LcTestSrv </servlet-class>
(<load-on-startup> 1 < loai.n:st6Eu[)
?fservfet>
<servlet-mapping>
<servlet-name>Lc </servlet-name>
<url-pattern >
/lctest
</url-pattern >
<servlet-mapping >
</web-app>
o servlet container creates object for our servlet class either during server startup
(or) during deployment of
Web
application when
<load-on-startu p>
is enabled"is technically called as "pre
ll:!4n!!e!9lt
of serulet
program"
Qustion:
What is the advantage of enabling <load-on-startup> on servlet
program (or) what is the advantage of
pre-instantiation of servlet
program?
Ans: When < load-on-startup > is not enabled first request
given to servlet
program
participates in instantiation, ( our servlet class object creation) initialization(creating
Servletconfig object and calling init(-)) before
processing request by calling service
(-,-) method. where as other than first request
given
to same servlet
program
directly
participates in request
processing
by calling service (-,-). Due to this the
response time (time taken by servlet to generate webpage) of first request is little
bit higher when compared to other than first request.
o To minimize response time of first request and to equalize with other than
first request make servlet container
performing instantiation & initialization
operations on our servlet class before first request either during server
startup cin during the deployment of web application by enabling <load-on-
startuD> ofl Q $'uta
grulrcm
NDrd= ".
- It is iecommended to enable < load-on-startup> only on thcse servlets for
Twhich
there is a
guarantee that they will be requested immediately after
deployment of web application like sei-viet
program which
generaie
honie
page, main menu page etc.,
Question:
when Servlet container creates our servlet class object?
Ans: When < load-on-startu D>
is not enahledi
l:----frhen our s;tiet
program gets 1't request from client.
2. when servlet
program gets 1't request after reload ing/redeploying the
web application.
3. when servlet
program gets
1st request after restarting the server.
When <load-on-slg4up:__!:!neqsq:
1.
@
or during the deployment of the web
application.
2. When web application is reloaded/redeployed.
3. When server is restarted.
Ouestion:When servlet container destroys our servlet class object?
1. When web application is reloaded/redeployed.
2. When server is crashed
3. When server is shuttled down/restarted.
4. If our servlet class object is continuously idle for long time.
Note: No special importance will be there towards destroying object when <load-on-
startup> enabled on our servlet
program,
Question:
What is the use of <load-on-startup> priority value?
Ansi When multiple servlet
proqrams
of
iava web application are
. enabled
with
<load-on-startup> then servlei co-ntainer. p"*orrni
ph-instantiatiord'&th6t'bervlet
programs
based on this <load-on-startup> prioritv values (decide the order of
creating objects) either during server startup or during deployment of the web
application.
o from Tomcat 6,x server onwards.
-)
Negative value ignored
Note: no special meaning for"O"
o Before tomcat 6.x server
-)
Low value indicates high priority
o
-indicates
least/last
priority.
Example scenario
-I
(for Tomcat 6.x)
(Load-on-startup)
srv1
srv2
srv3
1
(1)
10 (ry)
s
(rr)
4 (rr)
5 (rr)
0 (r)
-4 ignores
4
I
Server decides the order by
4
[
using its own algorithms
il
<l-o-s>
4\
q (
S"to.
"h&ta
*e
4 \
6'cor
a)
srv1, srv2, srv3, srv4 are servlet programs of web application.
Example scenario
-II
(for
Tomcat 5.x)
srv4 7 (III)
dsr'r
@HFz
W,r3
Sed.5r 4
->
<l-o-s> <l-o-s>-.
1 (1)tN\ 4 (II)4ll
10 (N)r) 6 (rrr),f/)
s (rr) r.s) 0 (r)
+\
7 (III)LI) -4 ignores
o Enabling <ilo-s> on servlet <l-o-s>
'fdn4tt-6"t
LcTestSrv 10(IV)
Htmlsrv 6 (III)
XmlSrv -2 (ignores <l-o-s>
Wordsrv 0 (I)
Excelsrv 1(II)
program with negative
priority value is equal to
not enabling <l-o-s> on
servlet
program
We can take <load-on-startup> without priority value but it is not
recommended to take.
In tomcat 5.x <load-on-startup> without
priority
value always
gets 1't
priority.
o From tomcat 6.x onwards < load-on-startup> without
priority value
second
priority if zero based < load-on-startup
> is there otherwise it
first
priority.
gets
gets
->
liPe Cyci( ne*r
ct 5
are
U6eA"r in
,too an$us tot
@
ro glc.ce
ProSr&rner
choice logic5
4o gaetatc
@
ro
Aaess
onJ use
$,nretConrolocn
Supplrer
Cujeuo
in &'vlerp'ogrom
b6 tre'utn3 thaa
as
pYDS fa rnc'r 5
txlPaXes
O\ecrs like
ParorrrLe,g
ir,
Ssrvler
ProSfams
.r9Ar.ps +, Yes
Pon
8e
$-
l;k1de
-er4o&
.-,
-Ihe
Ptr6)0iUPe
of
lifec'Jc]e
niethod5.
i-
ficrblic
void
inlt
(
SauretG''F;9
t&
)
*'t'a
&'nreExc+tic"r
,
Wuc
Vold
Selvice
(srvtef@1,rst o"n,SorretPesp.se'r"r)thra"s
$**Eoctpn-'
T0F'ttEHcm
Padic
Void drsw"g
L)
6:-
r,rll-.",
io rhe pu'{p,,se 0(
eoch
IiPe
r11t)e nrrhoc[
of oc'r
Snut<r
frug'c'"r
1
A"q-
refer
fuge (,
oF Suplrmontcg
looiotu
Biuo
oo
I
-
-qi
cr.n
Ucu
e\Picirn
lolrc* fppp"'rs
colzr'l
*
*]" P1r8lctru,
Si5
4itrYaest-\
g#r.r
thnn
16r re?-rest
f*-
b*ost"'
cclnd'o
t
g, *kn
t
.b
$.esrr<m
(
a^*"'
'?
fane
no:
@
t?
gatm*"rt.
1-t"J''4
dlu.n
crn
a5'[otf*tz
.. ,,rMtrApp
o{pric4rbD
(i'e-'darrl
.l_
1" unde'r
strtnf
the
1;fptScle
Df
9"vr*ptog"'m
'
6heP-r:- rruke
Sure
d^a' mJrlEAPp
cpl)ca$c/-r)
('*O
*cPe"
l+/oel:ot'-)
i5
dqiof
eei iq -lorn&l
&1ver
Nfn_rO
r
J
cUrsSeS
. 0
Qovru
Pm3rcrD
rD
.8t
P-J:-
Derrelop tbe *r,ttotoinl
(P"-
u ,
n
J6tde",
op deplogeed
P'lrl"lEAPP
o{?l;ccrj,cr'l'
/
l-cr"riS'u..lou.
&o.o3.
?r
i
.-
irlg3'(t
jator' Bol\ef
" tl'
"
lorfrn
javal
'9'{{ter'
ht't?'tr
'
imP.r
jalrt
io' x
I
pctblic
{
void
S,o ef
'
3
]
llcrax
ll>
,Pvc,c
-d
gk9
-]!
;-
ConPi$ure
rh,e
elosg lcTeat5rv
exreodo
llnp&'rv
l+
Flblic
fcTestSrv
C )
{
a'o'o
(t
L.,*'Sto
:'
@-pa'raro
conslt'udc^" );
llw,u
'ul^'oh
Lw's'n
o\P
..iam..rr,r.Dr.t)):
v"
v^,fi{z*
>*
and
Time
tlbz''
+wr
g.o'f
C
LcTe'tSrv1
g^'t"!'-)')i
l) tto"
Srtotn
tH,
B')'CI6eL
,l
''
Lc lesrSr
v
"Jcva
alove
&rvrc* ltrD$arr)
n
tn t.,rj'rrn
I
Sir,
\.:
,_,-/
j
J
t-
-.es
l{trPl6
sr'rtr=
'/
P.'s\
{
in I,Jeb'xrn
1
,,_,,#lr1l),-,,
21u'w#
pn^bllc vold lor
fSe'vterConft3
ca
(
L .U
6'o,e
I
q
J
Rrbt;c
.t
(,
ll
6a
Pr"*t^Uru
oai
Yas'
ser
GnrruType
( te'^' I
t"rtr
"
)
i
]
f
lse"''ice
C-'-)
tc void desr^X
t )
LcTesrSvv
: der
lL)
"
),,l
LcTest5rv
G)
"
)j
ss.'rce
[9.ro@P*
t
w4t'$'rthn*t"
l9entet
-
fttu(Prng >
zi-n>
Lc
rl(-n
>
Lu-?>
!t.^t
zlu-r>
LI<-*>
Srr.",
rhe
&'ver
anJ $\ve
'reqyest
lo $vre-tfo6rarn
4
tJtr.,
Z. load- On-
starf(lP > is enrble<l
ona
8ervlet rDglarn
dur;ry
it3
cor*"ia
a-6at
ih ueh
.^mt
$en
.}lp
&'upr
Gnftu;nel
Clre.rls
and
'n'tldItLes
&Ft'?
*
ttn* Se, vt*
c lc.ss
elrhe'r
d,,t;n3
Se,rnr
s!y1
c.y
(o)
d.cn''n3 itloyerrx'f
the
fff
oppliccfl crn
.
-TiLit
proCeSS iS
CcL,Jeci
pve*
insfctnticth/c.o
anJ
it'';*tbzcotlcn
$*t
t
P-flom.
blp
://
tO(l,)bost
i )o1o
/
rrrirunm
/
Ltu.'
'
3e
ioqJmr>
zlocd-on -
s1'1r49>
an
Se\llet Plo316rn
:-
6ttP-s:-
Qeg.rest
rrlt:'
O?
To
eoob\
---1
/g2:.'t\?,1
'>
<Se'rvtet -narne
>
lc
zl s-rt
>
LSeu\u-
clos6 )
p''
leTesr
Svv LIS-c>
&@6
Z\oacl-on-sict^(tuP
> L-
Llf*a-i-gb=l:
zf Srrv tet u
-' ftio-(it9 val
L
L91\A(t-
rqaPPing
>
Lffxvlet-Ynroe
> Lc
zlg'tt
/urr, FdKrh> /lcuxl
zlu-t>
ip *-:::::--T';:::
"^
re"ver
ie
at'rc^aY
it)
Q'nn'lns-'te$en
Q'vte-t
Conrc,;^nt o@J<':,
l5
i,i..os
'n
Lq-i'6116'n1;ahw"
a'l
infaAz^nct")
zloa.l
-on-
stz.rru-9>
enab\ecl Se',vlet PruSYarvrs
J"'"ti 4'
d4loget*"r
4
1,, wS
aff\tcaKcr'
if
G*-r
is
Savt<,1
oPttr
cleployeln3
the
l.tlolpl;cano'n
le'
Servler Gnto;ng1 pe,.rPc,rrnS
1m-lnStr'rn-Hc.tlwr
C'nd
inj HaJ-,z-e^tlc/h on
/toL\d-ofi-
sf.!,r+Qp>
gq@bled
Se,),uters
Pay'am
&;'''X
tle 9""^"
SA"r-f
'
-
y Nhr,f i,5 4lmd -on -
s rc.> t,,p >
6L.J a:ho*
ts #e
"dvont"6e
cf
enccbil;ng
Llutd-
cm
*
Skr",+ccp
2 czi
crr1
ga.rufer
|rn{lYarr}
7
tn:;-
P.P*
po6e
uo: 14 a op
s,+u*'l*3
it"t't,+
i' 2e
/oq1*''
.
,V
"8"
A"
f
/nt
-
A,-
*^'.
flo-
a::=
An6
i
L-l o
:=
4ns
?
Nlv" 9*rc*Gndwl
craol
Oug"wClas
o4l?
f$)"a.n
os rhe defa+tt
Pt'o]'tq
vaue '
cont-irr
does
not ta'se l;Pe%cle
elftLr
b1
usl"3
{-e
lqics
pbced ln
tiFerXcle
merhdd'.
C.ni.'ne<^
(y,,)rltuns
tts OUn
Cde
fuWkm
llkt'dLt(
,!enfg.
b*
g 'ft
abo
,ollt tiPe.xcle vt$'vdt
4
9,,tWyan"avn
Io
aet"t<
Wk" W.
No'.
E ol ,rlotf ,^r,
Qpr"^"ry
!^-^Ao*
phu- 9"rrc"G"*a"<''
durra'1o
ry"
Unutuclau
d'l
1'
DcPu
P'6e
ruo
, a4+
o?
zrl'tl*v
W'*&"\l'A'*
r,$o.r
ir +fle
Qet(
&'Frlcillrd
Valsc P)ot*{
in Z-load-crn-Stat'fc'f
A"P-
p^1e-No:
4
t(
2s[ol*'"
\^AB''r
$te
Prqravttrrtt
9+PeJ
t"6xt-
n /^.
tchat
I'r,ry,r,ts il itsr"olO
is co!'J
exel;or
t3
{""
Si'u;ce('-)
''
Y
b',vlet Csn+dne,
de-tnof
duv*X
at
Ql/utet-
cW
obie*
''&t-
loSics
pLu^
[(e1ae-
ma\ods
a:'t
o'llel
n^'-'-!ItJ
l'eo't']alv'or
G,*)
$vret
de*'r;L)
*** d""t rllr|
9*tce-(',
-1
lvdrFi-
Crnlctinu CaiLs
lifecVclt
merleclt
f,l^
l;?.4clt
er(rn/{
ao.{
^ftdteJ
&r*tuf raise
lifu
utrote e.trnrs
"
%
*@ kc'4Pu'ir" il'
M
grvlet
Cantalne,i
inrt [- )
is
crdtd
doe.s no+
Creale
g4vlce
OlUett
CxY),ctn1
1,
L+ lV I t's l>
&,,"
srr a.X
$rvw
CLt'u
njrl,
)2
C9
$rvEr ftx6r*r
ercrrs
6r-tr
ga:rvlr
fmgrarn thva.gh liPe&ate rrrbcd6
.
s;nce
nTlr)
i5
not tifecXcle werl.1oct.S'it
.,s
not
searutred
in fuv
lel-
Pm6raminS ,
$
dpPli@tlidf}.
6o, rffiio(
)
i5
fo be6ro
rFre agPlicar+on
bc"t *'e lqica
oP inlt
(-;
nirt be recut<A
6:-
HocC 9rr rer prafr
arrr
iS exec.A, n
g
a{:r)rrlct|-f
o
Jn
6tdnd
6lepg
cppr,-caficrn
5
mo:n t ) i5
xeclrJcn.
*-ru f er pogramr
is no t_
Shrdalone
rDr rerprr
rz d
in
&rul& p7*rarr..
aton6
'r--ni rr
(
,C,lloftE
Svvica(- r-
)
A
9
Jf
A
Punnlng
Java appticort.n:
.Lnants+a
Cled&
ood oxn*s ]o
ILLI
wyr+ds an
it. thcn
.tlerc js
OhSett
of
r)o need
anot$ea
gu>a
de'u
o(
nr,)nO
ard$tl
Jc'va Uass
%vb
Gna*w
i6 a Grarura1'lS
P-"",,7 Scwa
aypl;coHan
+o
crtole
Ot'
$wrerClors
ohk# anJ fi cdl irs meitocls'.
go,
nfr)n(>
is
W+
in
Or.rt 9"ute*
[rr1Tarr
, I r
.x\
Jn
-famat
9*e,t $"e
*'vtuCs*olrw
e\et,'a
+l'e
Qn't't
,'/
-
u sl**nW
prwame't etiavts cn
lanta-r6'exe
he
->
&is
locaro
fdswq
"jal #ie
-t'bX
tadiol
rrwrruPest
ftra +lre
o16' aprJ''e'ela$oc"
6tcdt(4'
fut'gt+
dkss t.ittLe
Ioccrsea
------->
rr*in(-) o? fk<
class
era*rct
t
**s
sr;nL)
sta*s
Saw'
&\A
cl^knnert
--'--)
-Trrr*i
Csrn"r-
&et'na
'*4
4o e/<eulre
cilv
g"vlerY'lfrq
h
a*"d obrw 4
eewkt
claN c,rJ
fu
@"t-likutrae -ut'ods
-qaf
abjQ+.
Y
lihaf
hair'e''l-s
rcl'c'-'
rla"r
C-)
is
PW'd
lrr
C'::"'+
1'o5'tu''l'
ry
Gnce
ma.inG)
ls nor
tfre
Lil+'nacle'-**l^od'"!b-''t"Gnrc;r't't
Delro'l
C@s
il'ol
-o4ol
&.;nJ rie
e3eurfio'''
+
Q'il'+
(nDfarn
'
IP
var
00dn1
f0
glpprie5s
in{)cf
\-l alues
F S(d\ler Prug]
cirN\ fu*
b'*osn-
coi'dae'r
5o
*,rr
u)e
h*! uieJ
Xutevl
5k;nf
i't
rrrUng toi*
ilr'i<
qr-re'g
Bbtn3
)S
W.y C.rnptex
-4T
YB^
*
beLhyd4.J
enJ.se'r: s
liVe 6;!i
I elLrined)1,
C'le^ir"t
,e*A"ctc
-
10
OVer Come programs
bnsed
ur-be1c," fu,\h*L,r, .-'
Qr-W
1^Xr.-. F
tt"t W
need
tx
------.
{fXperl-,."r.
Ae,,<,'..,[ed
*oput
d*n
n
t
**t *V
d^
%
J,e(,,ar
Flr,,.a
-l-*
N
ry1^Lu+
Clnxvs
.h-
LJ-,,
*t^1
pxnpE
/\0t, ,t lhnrf
----o
$,rvter Gmrrrtnicaticm
us;ng
fufr.liink
*Ds pro>lerry
use HrmL
+6
flonerct<
tfu
*"yrcs+
A
a.
]'rn-s
ff
lt
"
tlr
,t
n 9rvlu6-*-n)c-H
on^.
tp)OYecrrf rr-t
hilsl'Alp
F EB_J]N
F
wi<lrSw '
jar6i
!^tisbstv '
evl\,(l
hmr, Ssp
Wlagtu:,rg
un&"r
ugb.g
.ny
-l"t&rt
e_
6-,ut axhat+llo*ls"
-r
Ploce
, plare
--i
h+m\
ihe
oLow
-
hrisbApp
"'
&du
Pru-s
nted
rpr Se cP
in
in Ltor"rr:,te-bwtz
\
trr.bo11s
ftta^
(lxs.xm\
;.e"tl*x
corr,r
iduJ;+cl
arerA,
'h-1(euri.
q!i.d..
)
l,,J;tt
tt
s
[/rsbfuv
(sc,t'rern'r)
e.ud nre.l615
lorn
e
d"0,4
h
tX',a'
8," nor*.
-+ WE6-INF
l^tEB-r^tF
prugrarr],
pr;voie
ID
and
grrcrfury^(
*")fu*
SE,tuE
(rJ'j"i J
p@= \lta'
6erWtrtW
C)i
,*.
gelG'.r<nlTg
pe
(' teol
hr-t
"
) /
lltloo
b.to6tc
ALv\L^ua1fflsh
k'
> aL'n n-oJ,\'f
$+rrn6
ms6
=nutl
)
zt/oq/rorz
direrlorX
oP utbappt;@Ho,).
p,
ile
o*o..rffii.,rrd"
ifj
grbfol&rs
roirt be
fit{fJruzed
L6
Cr.,ra,'ror as
ue bPete'rLe
rok"r
oaf*"i1f
t*
GnPtS..na
in
h'l'rmr
g''u
'
E6,! 3e6!ter
prDIom
5
.
-fu
NebQesurrre
gro6rams
$atoe
glarcA
6u:6:'de* ^*-:uo
':':'?'t:-
rcoflnz."l
ud **o oovavtnscallV'
sa'
ffir
c*htr'o"^
in
u
SgAat',ot
'
L-q; I lr mr , lEP
Prrlamj
'
\J
r\ v
l/Page'hlm\
'""rADo
l'*t'i
)
6lisul1s3
ela>
La
h*p
="-f'*rg
,fl,#
rumo
opfie
.i.rrer@Br<.*n
{
/l*,,o'..t
P,'n,inl"'*
Ct':udon
hz- el'
flet
X)
Scct"rce
Code oP
&bove
tl-tx
o-?lt\
i@h
t^-L
//
I'lish5''v. ;c,va
imJz.'t
javax
.
gel.vtel 'S+
)
\mpart &vax.
9"ulet'h+t"'
l'')
imlt*
j^v6.u-ll
'
x;
img6*
Un"io-*;
p$\lc
clo{s trJirt
Stv
enr<n1,s
Lltttsc""Ier
f
***
loid
36"uice(HttS
''lspeayu-'q''
firt
iP(har")-
Y.
-*6="G"'a
''on$YY
:
are
rt
(
6
z-rt
)
rnc6=lG.od
oW racn"
i
ew
i?(httz)
ros6: "GbDd Fvcrr,lt1'i
else
rmsn : "
G^*raahr")
lf
tw, *r6is sLutt
6eyr,"t4
^
il'-bn^ut
(Jt"W
tu1'a<-)
Pr'cr;tl''
ft'efonr
4t'1t''r'd'
iiu
='
6'' *^'6*" zllto
>") )
ll
cwse lltsm
P"r
'
ctosel) )
3 fl
g,*rrec-,-)
3
t'*
+
ll
t^;th'xnl
Zueb'6tP>
t-uffi*
-
r"-
e.
ob,
4
sen
"i-r
-!]-
-
",^,
Lset4\e-t
-
CE
)^ > WirhSw
41
5<r"'-
zlswuw
.'
/grtlct
-
rrrt+il'-i
>
-
^r,
z-lgrull*
_rt&n\e>
'':-*,-;:'1ffi"4***'
LL
zlw'iu
-
vau'fftv-t
zJw-ouz
)n
:
lo"rst
(erue'r and'sl"*t{a
3-'*r
'
->
dedrgee
&e a'&E
t'Dlthftff
arucdAon
,osr:M7i/t.tirr,hr
I
r"n,'t',*-
t
*) HrXr
4ztrn
f}'Be
+o
Seule*
@nrou'dcotho^:-
btt?
Yrsps'(e
D
rncr.or
-Tbn,tal
9:lvto
\nrc
[.jab&Plicat"
co
)
f/inart't].-t
eSrm
d{fion
=
htn I
}J
focorhost
> ArHcrn Llr I
6p;6{:
"tt
"
l>
zW
>
name="i>"
/
> zb'c
>
Varrte
="
Che"u
voou
n5
ptr5l6lili t
As
rryut
rqL
PU'
:=
W@ttu{
nutxs
and lldJutLt
'
d'lL'lr C'Moti14--
r '\,{,.d
-'
+.=i6{ xt>
=30
u \-r
-y-,rq,"r".q*o. .J
h&h4t
f}{e
Cr/n Stnrd
rrydsf
tD
laxtet
WbaaNu
[tro
in
-palr
"^o
le
-f,
co^ ,.na
0
n lirnlrd arvru^,u o[ clo.ia.
OT
lda ur ele{isl'
fa \ble
01
Yqia ur
not
eligiblL
lo
rrame:
l=-1671
aiXe'"
f-6-1
trcer.
y6ri,1$
ElrSib;
r;
r{o
Er
5r
v
fgtuter
P-$otn'
,ln
,
t1-1u'
, crcrsse
5
,
yor,*Srv
.jar,
a
f__>;nptt
nr""t
!*o
,..,
f
Nome I Z ioP&f l$fie
=
icx1"
-f-.G'rt'"*s{ AIe
,.zrnqrt
Eft
--"lr*t'
(.-
z\()$rt rUPe
='
Bulrril
'
z-l?*->
NcrrE-t:--)Nhen
{n*n
is
su-bmlrlri
*'" f.'t
c*^r**'X*^tl'
jt6 v61u" fr6tu
gft<'(
nehod ="der'7'
> 1tr
r
ltrtlon 6f
\o!er5-r r,
6nr-.grco'r
-,
N--
1at'rn erllrn
tiiYt'ntde
UI
&,n s.nA
Uhlkd amcurrt
{
d"a(*r4
rs6 lb
)
*)
Jrts
rhr
reor^rnded +o
p*rvs
{re
^6ret'*o de *y,-zxf
ini'ow
(ft'vtrro'' usl!
doC're{-
'-
1
'
)rg
fir SrmltortX
c$e doPo6rf-
'
-)
to
f /\otr"5''v'.1avct
imPort
jc.vax'6erulrf
-
)r
I
imfiof
idr.,ax
'
'Slu
ltt
'
hrf? '
*;
imPcr ku:a'
io'+"
Fbric
f
pub\lc Void
f
E'oce6
Puf
,rcJe reTtrer t .
ctasS VorerS'rv
xrcnd6
Hitp$'v
tef
doCnef
(HtrPs"tvretQg,uest
ne*' H*p&^uet&'r*'*
*)
fut
i5"
-
j
3',,t
S"'.n
injr
oge
z.3,Pr^'PosrscJ"r* t*lt )t
/iwrr-.
b.ro6,.
L')
,.+{ert
yrocesatl lo|rc
t (*
:;,.]rn
(' zb,
/rmrt{
>
#-'1,
={i;:;:::w),"
elte
u
,
**
u,
wt
&tW
._,
I nn*'"f'"
2Lce:ntatrT
LW
calor--Dec
Eizc*-6>
t%1rr'(
p-o.p,intr"rf"rabrg=''bttpr//toco-rhost,oo*/vrt**pp/,'npl;ff,:n:IW>
4L>)"
'-
_l:
J
ll
Ctc,re
er"""
-
+
ftcn'rrp
t&ttln
?u:'
Clorctr
i
J
3llacrac,-;
J
3
/l
.roo
crt/Ttloila\
-'/
J
/l
r.eu.r''rt
\__,
lut$'elto
7
Zcer,t\u
rLg_
n,
xq, 4S{_
Acwla'''
zS-cz
\owaSm
zlsa>
ll
3u*'*
G*'i1t
P,,rlJnon
Po
z
rr! 'Xa\tl'*e"
c)
:
,,.r.
er&reiTune
(trrlhrt'"
)l
"
l)rt^J *"-
^"*
";:--
* u'oP*-*'-(-"0'''); ll'';
'''
!-n
co^sw
rtT*
'
lo4e
-
rsr,
X*P^^o*r-
1.r''
);
l/'t'"
h
v
''
Y
---\
'
'-
'"^'";T:uLr-
4,-n'
/-!! -P 7
f
vt
tt t
t1't'7 2
--
/gtvlu
_r*4rytng
2
-
Aox-b-a+P
>
utrL h
rst
the
44'*l*' Daeurs+ UPL io
ffsr
ine +TP"'-"
-
l--,/lr*t*''
>ow
lt*<'rf'm f
tn4ut'
ht'^l
31{|"l'
'!'
*>
rnor&r
to
E&b
rnciKe
o(!Y
@t{.tt4o$cu1oo dq,tovrr.ut
e
lh atq &t^,@l
|t*spet$ ue
*42
rnoAi
$ia^ttan S
&me 6eyvc..t pt rt
nuvnbc.r
.An.d
ttxt oarre'
(sr)
fO oddva S of Senr,v
Ccrnfrt+c't u9 h(/.A
to
hrr
b- cs;
tq
lYli,c'hie
UpLd
inittaA
tf
also
l,,rr
UAls-
._
j
t
"
cr,nr mcrEe dre
]aua ca-ba4pltta&q.s
tllooA
t )
bX tt*iUzi>21
tl
yeJ
&firr?
u^rl's
Scernayio
Lt) :-
-
Q] <
Q^-- ocklan
=
"
h*p:/
tual hon
:tt>ol
v*<'14p
/
vtunt
"
mrtt"od
--
''
3o '',
.-1
ftll { >
-+
\na
Unlrr
htfiriroJal
tr*r--J
,eVBr
c&L posl
rvrodg
&I^esY
Lq
*frl.*',v,"le-
*Xt^e$
-
q:-
llctrr
fu rn6pn
ocr'r 6e'rv tf
rlto6ram
a6
qtexi
cle s,Jyvler
brlrl
"
gtf
-
mrde <^d
"
gasr'
Tnadt {tXA24*
!
99,
'
fuq
ftws-wk*+1
"7
la6tc
tn se""le,-
s't;1
fdrblic
ClcrSS VCrkrSyV
Qr rcnd$
Ftfp6t ru le6
{
frrrtl;c Voicl t6rui(
(-.,
-) ffnoros tE,x]o
{
r$
orE
i-
===
po16
:
tr^flsyn hmdl,ivg
ai4"
LX ovtntd;,rs Sc'w;u
C,
-
)
v
v
nskl
,
J
Sewite i-,-)
rer/',o 4
c&nl
ta^d le bt,il
'arer
n
'
oPusT'
tnode
R
Tlru
la
vu1itu1
*yc^f
1rvDcc'Ai
Y
l'otrr
'
tl f,srui ce [*r-) ie
n,t in&rrty skr"Co"d
'
use
&\xx L-r
-)
riue do(luG'*)
'
J'8"
U'-) +-
tl;s opo'x't1oa'
4lrn*"rC"t
i-
Otro,dJe
ry'4t,,rLm,
omd
l"f
&'Vtasr
f'tGotl^J
l" {
D,,eLDJ Bro-
Cu,oilu4
"'il1'44
'
F
U. clws Volo#"v
g*|t""&
t
'
"^
lotnu
L-'-)
E"btra
!0icl
L-
--.
-:
7
;''
voi'{
.l"P"st
(''
)
tr.\'
Mu
['*o
*/'
7
I
pN*tc
l
or/"d
o'4
Seo;cqL-'-)
**A*A
il'""
r'
Lrh.,
+.
u{t"t''
"S^tt'
,pele
qul/L"ef
f""un;"0
bo/^
6l'&ut-'-)
cLN\d
Sofo'"rl-'-) "ru/,**
i4 u"cttt"tle+
l,ry.
in
*"
*crLJ
aA
u'x
{at
4)fi\@ulu
*1,**t
S E
'EoF
+l'..s
SEi
E-oE
*
Ibo$t'
litg
So
u'tta
r.'retArA
V'xl
reornet\-
,Iuf"o(-,)
"*iwas
h*
&ts ig
fadb[e
Pl-te
wt^GY
arirf.
da(na?',
I
[*",put
IY'ctN"X
Ir"7'] (
Z-\
.l
toz cun tY,)n
*
\t(t"
' '^u\oa
l,ot
co'rn
l.}'De
'fosr'
t-el"l.-aJ
tt{^Altc
t
P"LUc
0
t
ctc.g vdltrirtt
b.c"; ^&nuelr
i.
duAut-'-1
"r*il""a
",-^1
Lc,d
-etluur
in
cloP's+('-)
rnetl,-d
Ly.
\n
uwde\'el
vvdla{
oe
gutLet
['nT''!'4]u
ry'*,:*
-a/\l
cil
&d
-$b
or*
duk"eA *vil"tcL
rrs,si
fwoLe"iT
b"&
l"ltte
LAtendS
\rald xu- (
Llstz-
*+
t
"L
t,
;,,.
Void
ltba
U')
L*W
nYzltetY,
rcs)
i
4
I
fr,.r"6ti
c Vo [4
{
*n-L*,
1
{"r-
9:- urto*
.=
l
Stur indruwY
WWs
Lu'd"p\
wllk
lro^nne.*r i8
6a
^"&PJ
il-.
Wr,
larvtz
oyrto^
if-
tlg ur+-tna-Xe
ls
atrcvt
d
r,rt-hSr,te4
{un
'nod'
A
r o.Hr-ir'
tJlU
uP
rle
l,*ne-
1'nul*"'+"
Sertl"-i
s
I
h*T
gor,rvcg cocle
+
t6:nww
\eh"!
h {',e
Pc'ae
'
gp rLe
t-lcbl."o^f
ls ctcren'J
F
t^
il
pLoree
ln d'e k/\tc'{ +t^ fu rtnoelt't-teet]ea"s
Fr-
$le c.,tle4p,tc'rt""1
Jeelqea
irl
u+-6t
wtb'J<d.
ren^4*unt'
7^
.0ocnr
.l'+* I
*l"cl
x
i'."r
t$il\
bL
*Pklrcd
.
)tCnuG')
,
j"P's'L''')
'"tL-as
'
-rt-\
fuu^u
gtgnatuve-
'+
olv\tt
tlw'ut''"t"-
4+t+r,9,,,*
tl4tL
rr:)
rA^r"t
6B'at'$
-
fl,r*u."t
JE'Dot--
'
fuPo,rU'-)
fu^
sEPsE
r-a))
e-nltn
a4lfw"cLil\Lz)
c"
a+t"voculCZ)
whte
P*{"'*J
UIT
E ""'
Srrr^0
2=:
fn;nciPle
'+
dtt
Wlt*
glw
re?.zr|s
vlo)'all^a
d't
l"ilrir/of{f\
IrrveY
3
fen'Jit'f
da)^.
\h
DurcrLce
6,1ttdc
il,".^&
uDlqa$lr.t-
o L obfet' +24
4t-
?t--
1*"0"J
l$+
datt
t-
c4
\
*r vwt rl"a
Ourl',WW
(rrrJ^tr'&Jt
LA
e.uLlq
{A oLW
Sv,..J-+att"uttt
bla- it-
T#,I'QJ
VthilJAh
-l," .tt*t
7-
cbW='
,
-<P*dh1
&ta Pr*n d;{iFerttt
kinds of G,'-,
conr!?) er u s La'19
-Pra- 9*del
po
gtara
"
-
\7
NarDe
i < infru t
tgpe
="
ie^r" **
=
{',ir,..r\ r.',,.
Jo
&rvtei pr
\i
SrrloX 51: rec],, gerParc.mele
r
Lt't,
"
):
-
@
!E!_jss'
r-
tn
t-ol ro
O&ge
.",
Age : L\opuf,
\@=
'plsstdo{d
oarre
=
"
t>
7
T- to6ical
nar',e
shi.,3
B2
=
ftft' g*Po'o-*
1"tr"
)i
-
0
-I:!ge.t
-o
Jn itnm
page:_
'. J.-', \
/^l( : )O 61rrae
=
t$ 2
* ptd'r5S
:
lrc^t
ct'ft1./- 'ft)"s =
tv
-E
loJ;rra
rrr'
r'' <
\-
er*'r
adJte
s 5
4
tt*+o""a
In Sevr,let
Prg
'--6)
RcdioB&rlons
'"-
Pben
rnutriPle
QdioButd-s
d"e
..on,*A tntl
gnqte
urut
lhe-5
alloco rrs ra sde/*
6t5 one Radio
Borkn
at 6 l;me"
81
,iurn,
Sam"na-e
far
r"ratr'
pte
Pad"'o k'rlons
be crn'r
SrauP
rhern
inh ,9ylz un;t
'
s,n %mrl,xe
i,
Ge.tler
:
I inrut I9r="rcd;o" rr,.oe
="9"n'
vul-tr e
='[
* *le'r<
J
>
H,*r,.
Lir,pu
{ne'"nrdiO"
nome
=
''go"
Value ;''p"
2FeMal
fn Servlel_
frrugrdm..-
Lvoruu--Ett'ore
3,=
rt, gerPa"amercr
1"ttt'"
)i
"
9i
b"us
lorcre " g'
oherr t"lott-
radlo
hrtir^n
'E cticled
fn
Servler Prg
Srrnj
oztdrs
=
ft+,fletPa.tametrr ("'ts'J;
Sning
"g,"
l'orcls volLte
'p"
rolxn
Fernole m&0
Nhen Rad io
burt"n
LLLr dne
Vatuc
c licLeJ i6
AXll
E
;-
Vcr-L.r e pto.ced
in tiolue
ln is clid<,a
,
ldoel
tl:itl not
8a1tr
cLtt"jld\!<
to\tt
garo
ny"rr'P**ih
1g*llE{i
lb\ainfor
,
{alJ<e_.-r
Serrt'"r
G3
9e,n"t ot
O
ehec!]&I!g:-
I .- _
J
\glti
pve
n rbac.g
b mutdp
le cletLboxe
s
a"e
to,ulad
inlz
St''gile
u-
t
thes<
ls Q
'-J
Do<sl5lir9 lo
gelea*
mcrtr-ipte
cl^o-'
L
bxes
oi
a
fime
' \-,,
r-
|l
-n
Jr) tuI
ro
D&ge
:-
chale'l
>
-l
\cfelllog
u
l*--
'.
Zint'tLt
tgPe
-"checr5o'
rrrme="Abr"
\'true
'"Yczt:#L'
vvlet-
"rr
k
vat(re--
'eleeP'
7
Pe9lu-tl'(r4-
\--
zln+uj
4.nte
='&e'l
V'x" horna=
-
bh
ffi"l
L
'14L'r
'- -*
L,-
r urtro ,"
#@t
> ubYt!^1
't-v
-J
ainryrr
tgne
="
l.]yue}-Lox'
mnle
:
r'vl
-Fvar'er
Ltdl*'t
tohan c-l.oct'
Lo x
is
Sde&a
fis
la'bz\
1pih
nar5'o
to
gnrL,.'
as
?4'est
fona'nztzl
\-/
\au,e
W ir:\dt'e
Lqtin
value d+i'br]{
tro'
Q-'r''<'v
ag WstrY'"{}e@'u
.j
Jn 0e,vl0-f Prq i -
,u-
-J
S*t tll =
*1'
xuPo*u-Yot"s('nlf
)-
-'
i9 arr rhe
thtee
chec'&-
bores
are
gae'|Kd
rlen
Pl
1
lorrs
'roardin6
''l*'
"*'\
*
:
tlu
vot-uu
ot
l i ct -
Itocn'inq
I
llt.r
I
clpe ?
I
r''oi.t'l lt-
@ 6aar Bo^lcornbo
Bo'
i-
-n
ro
t1f
h
Pa|
e
.,-
Llaleu >
Tn
Se;vtet
PrX
j-
Zse\e(y
nc"-e
=''91
Ftn
t
L r
- --
-,
,l^,,rion
>
Zopt'tst't
va\tte'"e4$
>L4l6j:Y'i"'
Lb("c,-
vols"="mE-*'9=
Hla'{bt
<loprtc'n'
toptian
valqe ='
a'r
rs
"
> 6
A
Ll
a?H
c''"'
>
/oth
h
\'JaL'<e
='Gn'vr"'nLtu
t
b'Lo- [
^''o^
z]
ot'tlln
'
Sh"n,
5r--
Rl'gesPtn arnert't
t"+'fu
")
i ll
3";.r;'ru!;
Y#;,*k
4,s
gel;:e:LrLot
ls
HoA
*t
',
)rs
vdtrtl{ ' Lrr t!,"
vafue
PI
atz)
IoL.l ,tit,
,1of
lbft
Su'En
in
ir< athl;krr<
"
valtl;
e
iP
jor:a ptc'r, .@@ OractePL&r
hc.S
tfie
eleyrrldf \fdu
(S..
("cr,roc*s'))
'itcYns aYe
c[oo
rct
tltatt
*) Erurnpte
opPlicd$m
6,n
HTM
L ra
Serv le-t
1-6-rnz'p;crl/cn '
h
g.rrrle;'
P\il'"-
5or.,X cr*f I =
*1'
SttPo*-"rc*V*t*as
Qeye"r
lo^-me,teo
\jafutt-
.
aI.to'uir
nfl |a
fulef
'natH
ple
iltns
as
a Fne
m,rr,7le
;ftn1s
b6laLY
l^e
uYJl!
u ,p|un
an
i4m c*
l2eoytesl
lat
nelcx
8c:rtW o-S
L;t+Bo^
:-
Selaf
B(*
,o1t)
04n
In
4-q
g""Xe
i-
Leewr
qame"
/oPt''
ott
LoW1at1
ZoPtla\l
t"HfiFt"-'
o'+-ar"
sori
) ia"t
PLa
4oPflcn>
.
hej
'
> 'N
Er Pl'h
zloPt4ttn >
" on
c.le '
2 OYail
t
]Vo 4ol A
,,
>
'
&arseg
\alJrez
Uaitte
=
\,laiYe
=
AbTE:.
z-lcelt d
>
t/ae erif:.
gdut
crs I
I
hs
tds
'J4tat6cat
IT"k
-:l
I
.rz
I
@ncre
Qrerr"re
e,uo\
i
$616-'
aoL\ <eg :
.Ei
B.te
nBG sl BoJ
.NtT Ptq
}AAL\E
Px-|^' /
lTlrov@rinrl l:l
T.\rcih
g
Peg r
huJ
h'
b.
t'rr.
fii.
-
'GY iiodn9
lha\
NerBec.nS:-
T$?e
'.
roE slur
!o iova
\le\6i sc| '. O.+. f C@.rnfrtSb\
e urith
JdEl'6
+
)
V(ndoY'. Sc{n mt
fOracfe
CorO)
olto
50ur c
girs
GlctssPsh Z'f ob Liill
-in se'rut'l
to
dot:nlcad slro and
tb
9i
belP I
poce di.'re
ro
cteLelop abve
qrpl lcotion
\
,-'.i"
X
Nrl8&ng
rDE
.
Y:::
ereole toeb
rroiect
File
enu
-r
Mro pTDjg1t
in
N(rbc.ns
IDE
--------t
Ja$a,
ur.b
-:
urlo{p
[cafi
c'n
--
---.1
ne^t
-+
Serr,^er
: &rlorsFisb
+ NeKt
4
a.
\
--------,
nexf u
F,A"h
_ P
rojed Nc'ro
e ;
__,)
detete
Fr.
rn
LnJex
'
is P
si.p-s ;
add
Regislcr
.
hrrn I to rha
u:esranes
4ota* *
$e pnqieuf
'
F0and
projeu
---)
gShr
cttcl on
uxbfiaSes
------i
pe{o
-J
HrmL------J
.-
--
C-.h
-l\f,IEli
ore can clr;gn rhis
fer',,1
frX.
r},ro,r6b
d"a6 a"
j
&nr
a'pootton.
-
.-r
,rya
2
to gel corrro l c,n
lum Ca'..t-trtt
alignrrrnl il- i6 6e rurorre^Je d
to cleugn
16^
eege
.,1
a5 rfie conterlt
cle
Hrrnt ta-Ute
'
?qister
.
ht- t
re
for rhe &tp
I rwtrnJo\3 lu.do..t
tnA
on o+fto/ror>
H im
Ll-
lerrdrt
;
ft*.i"..;f
-J
cmJ
cocrd'iog
rhe
helw
t"rLAeA
aX
W'
p*u*Po"Ynnri[-'-)
"r^--*r*,
-ulnoJ
cui'tel W
dohet-l)'
&?'s"L)
Sttp-m i
EW; y.nrs
'ft1/rest
o.Ujrtdlrll
is
rLe
,w.todS nilno4yn'*J
no4@
4
t'abn
&i
'Vrfllu
[nry-e.rvl
ada SeyvrLr
pYogY4m
la
rhe
W[JL*,
*|exi.r(e
+o
yc?-Y>
Lrrl,
6erL),
rosrc
) *t{o
J
L"oA
r4pL\r1'
t.'
Lrltolt>-
I <<<<<<<<<<<<<<
Reading data trom diff types ot Forrn comps<<<<<<<<<<<<
2
----registe..html% 3
<formaction="fsrl-method='get->
4 <table
border="i'>
-
5 <tr>
6 <td>Name;<td>
7 <td><input
tt'pe='text- name=-tname- value=- /></td>
I <tr>
9 <tr,
lO <td>Age!</td>
11 <td><inputtype='password-name=-tage-vallle=*/></td>
'12
</tr>
13 <tr>
14 <td>cender!</td>
15 <td>
16 <input
type='radio' name=-gen- value=-M- checked /> Male
17 <input
type='radio- name=-gen- vatue=-F-/>Fet[ale
ta </td>
19 </tr>
20 <t.>
21 <td>Address:<,ltd>
22 <td>
23 <textarea
name=-taddtess- rows=-4. cols=-2o->
24 enter address
25 </textarea>
26 </td>
2'I <ltt>
28 <tr>
29 <td>qualificatiol!</td>
30 <td>
3l <select
name='qlBr->
32 <option
value=.Engg->Engineer</option>
33 <option
value=-medicine->Doctoa</option>
34 <option value=-arts->Graduate</option>
35 <option
value=-commerice->CA</option>
36 </select>
37 </td>
3a </tr>
39 <tr>
40 <td>Coursesi</td>
41 <td>
42 <select nane="crs" size=-4- multiple>
43 <option
vatue="iava->JAvA
pKc</option>
44 <option value=..net->.NET pkg</option>
45 <option
value='oracle->Oracle
pKc</option>
46 <option value=.SAs5sAs</option>
47 </selecl>
4A </td>
49 <tr>
5() <tr>
51 <td>Hobies</td>
52 <td>
53 <input
type="checkbox- name=.hbi- value=-roaming- checked /> T.avelling
54 <input
type='checkbox- name=-hb,t' value=-sleep- /> Relax
55 <inputtype="checkbox-name=-hbl"value=-watching-/>WatchfngTV
56 <inputtype='checkbox-name=-hbl-value=-playing-/>Games
57 </td>
5a </t.>
59 <tr>
60 <td cotspan=-2-><lnput
iype=-submlf value=-tegistef /> <td>
6't <t.>
62 </tabte>
63 <./forrn>
&
Formsrv.iava-
65 Importjava.io.loExceptioni
66 import
tava,
io.Printt{rite4
67 lmport jayax.servlet.ServletExcepilon;
68 import javax.servlet.http.Hftpservlet;
69 lmport
Jayax.servtet.http.HttpservletRequest;
70 impod javax.se.vlet.http.HttpseruletResponse;
71
72 public
class Formsrv extends Httpservlet
{
73
74 protected
void processRequest(H(tpservletRequest
request, HttpservtetResponse response)
75 th.ows SeryletException, loExcep$on
{
76 ,//
general
settings
77 Printwrlter pw=response.getwdter0i
7A response.setcontentType(-texUhtmt-)i
79 ,// read form data
aO String name=request.getparameter(-tname-);
al intage=lnteger.parselnt(request.getparameter(..tage-));
A2 String gen=request.getparameter(-gen.);
83 Stringaddrs=requestgetparameter(-taddress-)i
A4 Sting ql6r=rsqusst.getparameter(-qlftf)i
a5 String crs[t=ysqussLgetParametervalues(-crs-);
aG Sbinghbu=lsqusst.getParametervalues('hbl-);
A7 /write b.logic /request processing
logic
aa Sking msg=null;
a9 if(gen.equalslgnorecase(.ii-))
eoi
91 it(age<=s)
S2 msg=-Master..+name+-
u r baby bofi
93 else if(age<=|2)
!t4 msg="Master.'+name+'
u r sma[ bot'-;
95 else if(age<='g)
96 msg=*Mr.-+name+- u r teerage botri
97 else if(age<=3s)
9A msg=-Mr.-+name+- u r young
man-i
99 else if(age<=so)
1OO msg="Mr.'+name+-
u r l{iddte aged man-;
{Ol else
1O2 msg:'Mr.'+name +- u r old man-!
{o3
}
1O4 else
lo5
{
lOG if(age<=s)
1O7 msg='Master.'+name+'
u r baby girli.
lOA else it(age<=l2)
t09 msg="Master.'+name+'
u rsmall girl-.
llo else il(age<=lg)
117 msg='Miss,-+name+- u r teenage girl-i
112 else if(age<=35)
ll3 msg='lhiss/ltilrs.'+name+-
u I young
Giruwoman-i
114 else if(age<=so)
115 ms9='t',liss/Mrs.i+name+'
u r Middle aged woman-i
l{6 else
117 msg=-Miss/Mrs.-+rame +' u r old woman'i
11a
)
119 // display the lorin data
12O pw.println(-<bFName='+name);
121 pw.pdntln("<bpAge=i+age);
122 pw.pfintln(-<bDAddress=-+addrs)i
121 pw.pfintlnf<br>cender=-+gen);
12A pw.pfintln(-<bDOualification=-+qlfy)i
125 pw.prantln('<br>the
Courses are <br>-);
126 if(clsl=null)
127
{
'l2a tor(int i=O;a<crs.length;++i)
125
t
130 pw.prlnttn(crslil+'..,.-);
131
)
132
)
133 pwprlntln("<bFthe
hobles are <br>-)i
134 if(hb!=null)
135
{
{36 tor(int i=Oii<hb.length;++i)
137
{
138 pw.pfinfln(htilil+-..,.-)i
r39
)
14O
l
141 pw.println("<bD<bD-);
142 pw,println("<b><i><u><center>-+msg+-</b></i></u></centef>1;
143 //close stream
144 pwclose0;
145 y/docet(-,,
146
147
14'l protected void docet(HttpservletRequest
request, HttpservletResponse response)
a4g lhrows ServletException, loExceptaon
{
l5O processRequest(request,
response);
r5r
,
152
153 protected void dopost(HttpservletRequest
lequest, HttpservletResponse response)
154 throws ServletException, loException (
{55 p.ocessRequest(requestrresponse);
,156
l
157
ls8
l
159
l60 <web.app>
161 <servlel>
162 <servlet.name>Foamsrv</servlet-name>
163 <setvlet.class>Formsrv</servlet-class>
164 </servlet>
165 <servlet-mapping>
166 <servlet-name>Fotmsrv</servlet-name>
167 <u -pattern>/furl</url-pattern>
l6a </servlet-mapping>
{69 </web.app>
170
171
AXfu cl;c,t
.-
tnjd
,----r
ltu
---=
Qrr,)ef
_-) cldG
Nahe :
'--Jtj).Xr
--l
ljri
[hftc'tn(
l'l.f-
+ ','
*q-'
6
\-
*9r'
fo-
,t"e Abbw
.'?
Exrept
lisrBor
,
clpu"
\"el4e Sl Ptna-hAKrS
lhe
process oP
logic L4ed
&'r it
E3:-
_>
cbeclJ
n3
-+
Cherld
n9
-'
chedctnl
-)
Ih 16 rtCa"merde d
Oft&
(,lse
B.loglc
eun rbo
trrjed
.
Pi gh]
Cli<L orr prujeu ?
f)urv
4u",otg cc)e \n y.n,rZ"4,n,r(-,-)
re
g
e.r
.Ie,e
rr.#j[%ilr_"
ao*y'*l,N
"?
&-
ho^s
ya,t.l-res
^"-
l'"rtg I
l-\e"1
lorn"-.+
&n
i6 Cclllc
d
RnrnValidcrflao
'
c'rui
gr.p
5
bc48J
Cornpl
r't'c
apPlicet[-''t)
Bt x
6ri4fi<t\t3
fha
rerctlrul
t
3
hrrr;r'g
@
er.1
Sktr'Ts
a\
bt
lns
Lnzt
"
t
Cwenot lurrdttau [o)
no iKrn
iS 9ek'J1A
glaat,
bo
x
e5 crnJ
list
boxe3
fcrrrn Voridc.nons i-
o."ged,nfl*a
QottLttn
oP
the
dalr.
16 caled
bU fuYm
V&u
daltcrn
lo6ie
"
@eorhe{
re44ixd
hera5
rrrecrrhaV
ote is
8i1Jtn
c(s
tfi&i\
-i d
is
haoing
n) L{e rhe
vafidat'Fd
$ nol-
ueLL
ct{
nO
F'
Jg m $l 5
cn
not
crrA
a4<
uYe
tgred
rrrrmwic
!Z\ I I )
(9
lt
-
dalc.
as inr!4 \'..t'&el
cte B'lali(
$"i
Ans;
trrcr3
ToJSe
excepitdDS
6r
qrrc.ng
.YYlccttt
rnhor
is
rte
dipp
b\w
.Frnt
vc.udotlc.n logic
anA
3l9t
1
,)
furmvordcr.nc'n
)oglcg
vcrrifivt
the
&^o+
cin{
prtcta
tP
rb
d*-^
') ohtre
crs
6'togic
A{rr,ra}e{
ruull-s bg
u(lng
&'^
data' :
Elt
chofa n1
,,efl.'l',1e,.t
Crr
b voluer Oyt
fup
(rr
oo
t
cd
nkno^+4
Vc{LfJ iS
elLu
ed furn Vali
da$on logrc
'
tuinl
arb
vdleJ
o-\
ih{,rrf
s
6r-nd
Pjr.&.3
lherr
8c'rq \s
co'u4l
at B'toAL
'
ftxrnvalidc.Hon
lql;cs
1. 11i(rt - s;a
g
lo6;c
s
-)
t
et c.,meS lO
broatst{
rjindoto
Pot
e
"eC,*ton.
pl(.ce
l+\es
lDoics
'hrrnt
p;te-s
uJinS
Jcd,asortph
clr)d
v6 scYjni
coJe
?.
Serv<,r -
side loflfc,S
,--a
res
i d e S
6u^,
.1
o*elt*$ I n
g'cr"r le-ti jr
n
Pfts
-- fl&ce
these
lo8ic-r
as
jatra
srm5
in 3r,'!lers f
f,sP
fiq
(
'
flolE',-
::-
io Lon
tc
cliLnt-side
kT
m vall
c{aH
dD
1ot14
.-'---',
;u;t''.r.*
,l*t
,.
laucra*ans
\b'ic$
beceuse
rr
ex.,r,,q
ln
bruo:rt'r
colndco
cmA
cr\60
re&t4
''1t"
ruond
l'1116
ol'
h'M
-eoinJota
unL
uxbg'a'q'
-)
Th/rt
?s
a
potlb)r'lM
14
Dlsolilin3
f6;pr-
oc'lo
Q^PlkHro
nlt"t-Ah
Wats<a
Serrrnns
tl'ern
rad
Hn3
arlS
clionr
-st
de
&"v'\Jat
i#o')
lu5l a t(
r,trll-
Y&tt'eodo4
T0 6otw
*U'
'
lt'o$et
i^atte
c-!xe
\t,3{J
ro\uH
ons
Soluli
0n
1i,
--r
trrri
bth
ctieYLr-slde
o''d
Rinrel{-dde
fr"rn
u*1*?
lD8tc's
'
trru,
ptP*"I'"
i*^"tt
&n-vo'ue"vr'n'g
u&''&N'xh
olx*Yle
S
(q
ir,'r'
(ocle
e\!u,h(
c'n
i5
dnt'rie
a
) '
-
c
-)
tlus olloocilJ^
msal
denrtt
de
"t^e
pt-r ?t"r^ance
ge:z
5ttrme F/rvr)
Vcdjd&r{dll iW.J
exou}es
c'r bo#,
61'vr* 5i
de
otnl
k}Nu
N&
'
to\uH
rn
e:
-;
p;setcg
e'ficrr
fltsscqu
CtnA
SloP
Setd-t"3
ttLretut*
lo 8et'Ar'r
un$tl
Suipt
Code
Q,reu'tton
is trncr'b\ed
$rroLt3h brot'rtq
g*lnfls'
-1t.lhr.lfiw{od.,g16ntgnei<llotJondiFSo.^Ptoteref&rF'sfi..rrJ^oa,q'
urr$..oqr
rkr{\
uorng
thr^
tt'ot
srmt- f'*s?r'l
ihe Csnl-rd
P"""
Cdte^t-
oql^oe\
dsfrtu*oq
ib irs Co0!-'t'j
G 1s.,finr
--?
on
srbyni
k
r on
ctl
cl!-
/
on
dbl
cl.ic.K
atd }C
a're
Jcrva,Sc1i
p
t
-1
uohsn
sujamr L
balt m iS ciicbed
on Su.brni
I
a)re-(* is
raised
t-rre,rc{ehned
j&rasorip} P*r*^
ct{6Jn{t
*ti5 crnScr-bmii
ctltmr Side
&,rm
valtdajd orr*
-
Crb I
ro
lgor
1
ent
S
Ore
gvnll-al'b
Outr*
io pe,r{cnro ide
enrcry
me_e[a(J
W)^gc.
Czr,[ 6yrp
&nrn ?qe,s
B
&so.bkd
bJ- Cam
tlnro,.g h
cU rp)rr5
kro.osr,r
---i
gt
addlng
Znoscrln't>
trt'f
iel in
tohern
Srlpf code
eAeouH(ln
Zn0&ripl> <L,.nr
cottfl --yd
> eno,ble iorra
Sctf lPt
zJ
eun/
>
zfrr-osc"tnt:
---+ TO dJsobte Script
bde eleurttcrrr IE:,-
T0otS
-----
In,(l neh olit1oft( ----------)
5ectrrl
rg
-Ta-b
--r
C&srb'rh ler.l ---: Jcni"pil
ng
-----j
rtl,jw
ScnifrtlnX
------i
Q
Dtso6[e
*---t
O !
--------------Ok
.
---a J0
oo6id
the Jd.r'ragc$lQt
ode vlsibilil-g
to end&(e^ u$ng Vi&lbctYte oPtfe")
Op
bdoy4
Oindoco
3h
t6
reccrmrn./ &r{ to
plcrCe
jorrcftrilpt
CJe
in
at ft4ona* ft1.
.
orad trnp#Lat P;tcr,rirh
.h,r-rr &re
[I*^poa"1
k
*,y
tg.e
"erc'
cl]tula'{4
-
1#Yift>
k{X
'
-',-+
krexacngle
cropllcaHc/rt
cr4 cbtr/tt
6lde
onf,
gzmrt'r s"de fttr
VauAcn
on t!4e
ergmrru^rc,1
hat'Autr
?W
on
oS
lwJvov
.-
$F
*ho
lo djsa-bte
gqrror
Srde
Ftn"UaUdoncrr
lOgrt
e^e-t,,-tf,"n
cDk^
c-lle'f
Slde
Pc'rvn
Val;dayon
lqtt
a-Y' dr'b-tn Plc"{'-
ft'x:^TrrrletunpxeSt,,.djnga.Pra6t'odtw,silelnkcatln1lz.,'0.Vax&.}tc4.J
-=
-
&ne a[c,ne
tkowh
;irrlo&ripe
${Pcif
'
k'ret{
ant}us
Pt"9
ptrt**r
Corn
r*r\re
\o6rcs
to arroid
uet'ufion
"+
Stte"ttde
@
P,tt
\ar,&'t'tu^
[o6tc
1 '
_
reP.,,
line
n0 15,
qq'q5' tl
llrres
cde c'f h^natr'f
3*
*l oqlall,.u-
-
+)
pl*t
lb
Se.ru tc-F..
Contn.JJn(af,l!4. i-
1bc F,rsr
pagt
\
de ftrult
pc,${
crf +tr
LrlebAppt;
(o'(.q
;s
(d[p.l
t'uUC.
lhi5
pogi
C0roe,5
Cr&torft$calll
ihe nrcv,r,.,rrrt
Lfirl
l^Jeb5te
.
o6llol2drL
c'"5 llorrrre
prg
e
(or
)
a.le ko,n
e
8;ve
T'tLrs.t to
F
,_"u
*n
conl-,XLd
e ht.l progt am
(0,
)
Ssg
prugrr am
[or)
$er
v te-t
progrcrr6
a$
')rlelcorte Ate
Lot)
hlel(orne
pc^ae
in wcb.xrD\ 8,.
4s
sLocon
beloco
.
Jn
wrb.rm
) ",
_
4l &.,v
ter
-ynqppin3 >
lwelcora
g
- B'te -
list >
a@e.lcome -
hte
>
Lluetcorne
- Ste- nsr >
zlwth
- App
>
We cdo
-epea
P{
m.riilple
.ff,n, .s y1e lcc>
ix
h/tlcome
hre cLt
d Hme '
-r-n
hjeb
.^rD
\ :-
Z6c\come -
Bre
-
list
>
fuDclc,,r^e -
0rez
Pratts'ht-
lucelcor^e -
P;tez
ABc'
htt\
I
Zaelr:'me
-
;re z xyz'
js?
Lu:elco.n e
-
Q;rc2 &fds'
hhtn I
z-
lvodrcme
'
P;re
>
zlvxlc,nc -
Q're
z
At:clcme
-1;rc
'
alLaLlc-n,,re
-Bk'
z
zloclcr.e-f,rc-u.r,
pick-su4,
ilc
we'Vame *
!gE: Flrcn mu*rple
wcrcome
l;rcs
o*
cc"'A6c"ral'
gvnna'
:;'pb,.me
Jittr'*
t
c'"in^'^n-
o'Ac
1.,.
\orrl
q
i(c
ula;lc^bit;1
, ..* r,r!.x,nl
R.,.
,0^.on
r{.sor,t+
,*&'
-'1
lP no /welcome
' htt
>
h|cs
aYL
conL'Xuw
a
Q,vtl lroLs
to
-faEe
i"Jex '
l'+'nl
C"p')
nJc*
'
j'P os
J.:?-"t't
'-Lc-"e
P+''
\/
--e
l? Lot(
.t axo;lahle
'ylt
Vtt"'l
@it\
t4
E:w4
h
inlt*'!*]
:
2,
',(
A
xPirc,tll G'A6r.t
l,.,'et&rne
f|e,
aTe
rst alrculat.,\e
d^J
inle^"h"^1
4
'v
ivr&x 'jsp
Bt.,
a1'e G\,rcri\&ro\e
rkl
fotr
q0tr ltll
rre ;{-1
lq5t'tr
I
-'
Deftdls
'
htmr
z/
ualcoYtr-- -ftrcz
^
O r. +t4o
d$
l-'tps
*
cor\t
tvre
l-.te
cr-iill
bq
-
j
1
2
3
4
5
e'
8
I
10
11
12
.t3
14
t5
t6
>>>>>>>>>>>>>voterAppApplicaiionwithclientsideandserversidevalidations>>>>>>>>>>>>>>
<l--
Details.htrnl ->
--E?n-eo{u
<htrnl>
<hge-C)
^-,
L ,t ubtaicd>
&vt2le
tara.v'rtPr
z1tv,,' >
'lno\"'
r't
>
'i?iiii linguage=".JavaScripr s.c="myValidation.is">
</scripF
----ETl.-A-"t*
n ,1ojt;pr Col{
</hcad>
,i
-
<b><centeP Person Details <cenGa<b>
<brr<br)
<form action="\'turl" method="oct' onsubmiF'return
validate{this)">,.-\
@nam-'=E,F
tY
:ffi :i#::::li*-qn=i!::3Hll?i#f'l#%<i',od-Er=''hida6"qam
</form>
------mwalidation.is
function validate(frml
---T-;ni;
L.tt':;1
Taroialr
d e
t
// read form data
var name=ffm.pname.value;
var age=frm.page.value;
// form valida$on logic
(clientside)
if(name=="") ,rrequired rule on name
t
alert(" petson nahe is.equired");
frm.pname.focus0;
return false;
)
if(age=="") / required rule on age
{
alert("person age is required");
lrm,page.focus();
return false;
if(isNaN(age))
t
alert(" age must be a numeric value");
frm.page-focus0;
frm.page.value=""; // empties the text box value
return false;
lrif . .cA'j
)//els'e
r
f1,4.
hr,'valat'
ena'b\
return true;
)//function
,-.<
/
r"
1:-
r
r-
_____:__T
1- \_
\\_, L_
_- yr',
*ro"-"d;".'"1.d
'
/
>
tliah+
sid c
&.*!
\'6r
"
17
t8
19
20
2'l
23
24
25
29
30
31
33
35
36
37
38
40
41
42
43
44
45
]
else
(
6
47
48
49
50
51
52
54
55
56
57
58
59
60
6t
63
64
65
66
67
68
69
70
71
72
73
74
75
<web-app>
<servlet>
<servlet-name>abcl</serylet-name>
<servlet-class>voterS rv</servlet+liss>
<servlet>
<servlet-mapping>
<servlet-name>abc1 <servlet tlame>
<u
rl-pattern>/vtu.l<lurl-pattern>
<lservlet-mapping>
<welcome-fileJist>
<welcome-tile>Details.htrnl<r*elcome-fi le>
<welcome.file.list>
</web-app>
-?
--..---Votelsrv.iava-._.
,/Votersrv.iava
---Gf
tct,r,oolo-
impodjavar-servleL"',I
import
iavax.servlelhttp,';
impo.ti3v"a.io.*;
public class Votersrv extends lltbseivlet
{
--------'----',
V7lo1
ntt'"J-
gelea *t't
&,,
,";",--;r"i*.
*,*,',-lto'
rJ".-r'i
[--,r""tt
iy^ ot-ul,fu
!*',
W're
i'
41:t
j*'tt(']'t"
"1ff.
E",w ta
s, n /,ec,t Je,,Js d,e
tr'.b"l
h
k*tt
aLa^ tl^'
u''i*
'
v o'L<1 I' r'"
e
(tld
l^^
V"t;
tdl'n o"'*t)
-
j-
]
else
t
trv{
76
79
80
81
182
laa
lss
lee
lez
5a,.rs;re
I
33
4"- vat,dal''i
so
I9'l
h6:t.
/ ;:
isn
lss
lse
Irz
./ 98
Inn
I
r00
I ror
I
102
I
103
I 104
I ros
I roe
I toz
\ ros
\os
'lt0
111
112
113
'114
115
116
117
118
119
120
121
122
123
124
125
126
127
12A
129
,t
30
131
132
133
1U
135
136
137
138
t39
/l get P.intwriter obi
PrintWriter pw=res.getwriter0i
//read form data from the form page generated request
String name=req.getparamele(.pname");
S trin g tage=req. getparemeter("pa
ge");
'i;]"9.,,,".:F
:
r&
tc+l't
'a..ft\ a.h;" )
.
rriilitdlb@
i|'6r**o
.
rr.n,"
t"Jx..ar.d,)X
//required rule on person
name
if(name.length0==0
ll
name==null
ll
name.equats(,,,,))
{
pw.println("<font
cclor=red size=2 >
person
name is ,equi.ed </fon>,,);
return;
)
//required rule person
age
itt<Fg
if(tage.length0==0
ll
tage==null
ll
tage.equats(,...))
t
pw.println("<font
color=red size=z>
person
Age is required </fon>"h
return;
// value must be numeric rule on age
//convert given age value to nume c value
age=lnteger.parselnt{tage.tdm(t);
)
catch(NumberFormatException
nfe)
{
pw.println{"<font
colo,=red size=2>Age must be numeric value</font>.,);
return;
)//catch
2n
^'. ^
r .')1L'&
)
tlb&, -,-it
'
"5.
=
3"lqor,
FI'GJ'',
Lt"ie J ;
// vr'rite requesl processing
logic/ B.logic
pw.println("<img
src=Water Iitiesjpg' width=700 height=100>',);
if(age<18)
pw.println("<br><bF<font
color=red size=4>.'+name+,' u r not elgibte to vote,,);
else
pw.println("<br><br><fo.t
color=green size:4>,.+name+" u r elgible to vote,,);
pw.prinlln("<br><br> <a
href='Details.html,>home<,ta>'.);
T"
pw.p.intln("<br><br> <a
href:.Detaits.htmt'><img
src={!!etjpg width=lO0 height 2}Of><ia>-l;
lorr*l
\u
|^
^/r
/lclose streams
pw.ctose();
)/doGet(-,t
public void doPost{HttpservletRequest
req,HftpservletResponse
res}throws ServlelException,loException
{
System.out.println("VoterSrv:doposq-,-)");
docet(req,res);
l-
public
static void main(Sting argso)
{
System.ouLp.inUn("Vote.Srv:main(.)"};
}
y/class
/rtavac Vote rsrvjava
\\$_\Nt
t-+
\.\d\,\x}t
\-- \$\.\\N\N
.'\\
tst
xoss\
.'t15
t-
.
+c\,rS\A\
P-\x*\
\------)
\-------+
t*-)
VoFey SyV,
Ck
,l.3
tf"l
,
-
Uq
(ebflp\;carian
PtrnS
l.Jiihcrrf nelco'ne
-
B,e .
fi.)& e.,"1 it coil
Dot tatse
'pd"; :ft
zlset
v lu '
rr"r^e
>
,nertod
=t
ye*
"
z
[t) iodex
. jsp
as deP*rt
y,ylc71ft.,e
^ hte .
-)
Nhite co"6fl.";n,J
JsP,
[,t-r
B'tes
ds
hjercoroe-
g.re
wL
t)eea a *eue
tAe;v
9',.
no.ns
.
S,^it*
t6
hlrte
evc\
ts
utt iatfttn
.
conA'?,-lntr
Servlel Ptcflrat
as l,r)eldvme
*kle wt
nee)l
- Jf)
N{b.t,>, I tr,-
" ,,
nr(
d_
11 6e''v
lu
/
teavle* '1t),'{.P)
oA
>
z <r.,'\ll4* -
Yrt(n
e > db
c
lu<t
- ftd4<-rn> lf"s+f
z
Juxl-
Potlc<
n>
2lr"vlu -
r'r{f'jr
r'
1
>
lrnlltofl'e-Bte-list
>
>
're-st
L
zlurevr.''.e
- %te
>
'u1et6ne
-k
Ie-
L-n
u'r
p*rt"'
4
9',,ct
p1tan '
zlletcolnne-hrc'tis+
>
'L)r'oc$
-o+a
-
h
ae?or.rr. blt ir
t ill
Eo
nten
Yot'
?mvicle
lo4'at
'w^n
6
g"Lnit
A'rkn'
C[.-t^6
er!'nir
bt*kn vbw,te
a3
fuy,estf^a^
na^z antl 6,4rion
al
Qe1pu+ftr@"
\)a'-e'
'
'
l$'m ac*tan =
Y l'tt.'t
-
ll4"'
(onTa*tS
1;1m
-- sl
valqe
--
Scnd
/
>
hn7i
F3w
=
"9LAYi
i
r
'
zlfun?
6Jl^crr +^^
is
L'Lmilrcl
lae
"s'=send "
X*t
lo
!
n&ne-
a^L
vaJlLe'
L+"ln
ctt$on :ovLult'
mrr'(od="$ef
'
>
'
r
=-&nd
l>
l'"+d
tfc
--
-
9q
",if
va\q'
rl ?o
rr"n7
lawe,t '
oJ
qr,{c!
t-
P'dt^e}e4
&^
i,
9J,mit
lc )
\o trn',.ec
I
po,,c,mc)<x
*)t,-) A
I'Lar
h^ttzn
Snu.n.
Nla
n
flou
lt
bt+a,',s
4o4".ft,
9x-
-llo{,
tu Landl'
il"
lJnt'"-n'1
\at('e\t
+h
9,ruo-Ilrn
(Tk
^L^
rnntdPle
9)'n;r
e-"u,
1'*1**
9'
6rlve Seme nome
fz^r
rrx.tttiple
Std'?nft
baffc'n6
h^"'"t
&
Pk'-nr- &''y''tl
uns
-
ptto'*
Wan
VaL',-es
in @Yrt
WlnXtQn
,+
gJv,rlt
t"l+""i.
ail-
u..- il."'m
4u"
AIvtoil
e4
"reyttt+
+o &PPo*^tl"t<
rt.
lo;rcr
-festAeP
indcx
'
l'rrol
USing N E|OEAN.9 IDtr
-.
_
1--_. - )Classes
{
--
I
)
Test.5w
'
jolcr
l---+
ra-b.xmt
l-_=-
TtsrSrv
,
ctr.{
ts EB -r"'-' P
index'htt^
I
',-
Llu'o
646on
="
finr"
o*thod-"Y">
ff
rst
Value
I /inrx-d
fUPe
z
''
Kxr
'
ea'r'
a
utut:
Lin v:* fye-
Ex+
LiovcrJ tgpc --
"s,6rn;f '
**
="St'
LivtY' tynr:
"
5[r)tnir'
r!e-c =
Sr'
/,ov,t'l
I"Sn,
=
-ffi"t
**a --"'t
"
-
---
z-bt
7
fpL{nL=
t |
/
lpnv,='t)
)
Lb1>
a ,-_,r'rh>
\kttltf, =
add
gJ4e
="9t8'2
z-tr
>
-
\ralll
-n
"'ttl
"
>
zb?
10 mef
gt\'<-4
tiir"rl)
Zi'.l"f-l';
S.,m
is : Eo L,.')
nL!
il :-r!
(r")
r44l ir: tdo
/-lk,^7
ll
n"e
4.^
a^u
il,;;t
L'a7.
J;
eal
9u'9'dt
Lt't|z't
1rrok4fLd
@?
^a
Sn'
TegrE'rv,
jz(v q
.:-
p&blia
cl&ss Test S'v xKnsts
lJtl-p
3er v ter
I
pwttLtttr
loi a
do&ct
{tl+rpSov
w Qey'.s+
4nuLtt
/
+++pb*le+?esy^t<
'tu-t
l,.,^k
)
*tt"t
;?
I
3
L
Il
X^^r't
w
cerft*tr r
rrcllan6e
'
,., Q"rc,lrTy l.
( "Tt*'
1U'r" 1
'
po,*f,rh
rcr pLs-= rvsfonte.
feilit
e'
(
),
.I*
(wy,sa'
ner
Pa^-
-erc^
C'
+'
"
)
)
ir',* Val t
:
El^**
f-"))t
tu"f/-oc+
'
{
l(Lu+"q"t'(oaa"))
ll'l'^
ost
U'4-^
is
cbcLt
t
,*
Tts,l{
=
valr+vala
t
.. a.
Pr,o
'Pnu-lt
("
s.tt
1'""
* wcu(l J'
'3
"-.r,
(
*'*"'("
ll*l*^
('^-t
3"i1'<^
is
ch'l-ci
t
,* 'ral
uH
=
V.l
i--\'al
?
)
It,.r,,l^lt^
C
9't
i""'+*tttr)
.t
-t
e(se ll^t"t^
{
l'u{
e,J+h
i"
ckJ-J
i'/,+
l"t(crtt
=
1a
'P"rt'
(-"
s
ll
,1"t
etfttY A
pm,
cL"sa())
il ,too.t
C-,
-):
yorl
&l"li
(-,-) Ytr'wns
,,ld
9-
*
Vd
?-
)
',
, '" *ra5u(c )
;
ar'tr \
Is ,
sD
to t2
rffi
flttrffi
\ lL-w
hleb.xrnt :-
,j
')
._,,/
j
J
l
aL
"e-1.
C{ryg
fDtrt-0-;
Pnxram b"8 gno
=r6r
,
erame
=\ti
i,rhen hr11lHrla l.rgl^ruo
Lrv-s
cP6
'7e,si.Srv
&rvlef
ffi
har:;ng
P<4uae+
u'r :
h+n
t
ltarr'thosf
:rr>o
lrcsrA1v
/
;nd*'hr-
t
(+^*'
)
G',enevatlU
,
,y).esf
Gunetotzd q
\rr.,
tinf
dau noy
k"t
ar,tr
dan L,1
o+f ro/"orz
**
br
gperlSring
{b $e
r1t| o? L"p
ar1'r;b&-re
&re Can
aPpend;ng
lr'e P --'v+urr
"
)
Xo
zlc,>
(Vra(
I i6 rfie arl
Wr.+Ixtn s(
&w/e;r p,og
rarn)
uat Inppenio1.
*nd,g
rfie ryges f
fu fxtles- prD?rarn,
1b"f='
Utr.r
r
?
6no
=
ror
(snanne
=
vaja"
)
flo
4o,
$end
a the "rc4|4e6t
k
grvte+
l)a\am
rwnes rrnd
valtt-e;.
I
6:=
ho"
fu han<|le
ire
Sit
tokrn l)/re
n
=
lu Single
givlet
Prgrarn !
6"raa6et uincle<s
f
turl u lAc uvt
Yaskr
n
deft.'l t
'
rrr*e
ln tt
<a
lc N
et,Pc,ge
=:
kfn
PID{EY
has
94 G"ntrie s
Dep)Oyee
rr\e'.t
DirecfoYll Sfrcrcl-ctY
e
-
TesrAPPt
Yelue5f url
:*
h+rp:
//
tucar bosr'.2fin1
te+r
N'e
t
/eage'birn\
PEPaYe
dll *,e s hsper li.,ro
carr5 rc1y'r6f
?ararnetcl
Vo ltees
6A
CYeihriq
Value To d;FPe-,tnt.ofc [/e?r.rcst
Bocesstng
lo6
i"
-P- eac' h
Page
.hr-i:-
o"l
-r;hKl 7
Le lm f-= tur
I
1
i
rt --:-
aa hte
f
=
"1.,r,1
J
P,
=
tit're
't
lo.
hvef
=
"1.rr.tr-l
g, Jinr;" 7
gaNishfle3
4az
er
.g5srem
*orrh6
gu Gr+tiea
zla>
(rse rhc,S
Yalcre
dS
!,10.n
l'tr
in FrvlerPrgc
)
ct't
ao""
f
s+ -a )
gv d o cl
tdo"slap;
/
i,,,le^.tt
Sc At
AFr
java. r.rr I r63
Io.olL
.t.4.t
CLtrYeni
kof
oF ,{,t
darr
./-b't>
la>
Lbr >
,Y,t=_
Fovm
/b1e can
bq t e.r LinE oPr-re'ro fe,S
U' U
J6g1Srv1.jovc,
'-
gencvo!<
eirfiar
t'.tret"
mode tov
I
''
Posr
" me6lg
:r1r,tat'
bhet'-
c's
*,t C.rer rnocte z&l/,rr-\t,
pcrblic clcls 5
Teii5rv.,- x knd,5
grorc*Ld
vo;c{
do&et(
-, -)
{
ll ScnePa
Se-H-'rd
s
Yesf,onse
-
serco,',rcnrT8p"
l"rextlhr|nt
)
;
RintlJ'rrct
fxrt =
Y$Ponse '
ger|'lvi
tr
L ) I
ll
.""J (dd: r, c,rr.L tcli
Plr.(yD
(P')
vot,te
$ri.g
v.\\I
:
rcclust'
felPavoe'rca
(
"t'")t
// Irrcess
*re rey.es
r h-rred
on
rhe hU
pcl ljhk tlnt
is
ct'c("e cr
i9
tvol.elrds ['irnue')) 17^r,. 16b
bgn,,,rinr.
is cl,t*e
aq
Caenaer
cn; celencler.
,arlllsklnce
c)
;
irrt h
=
cr.6et
fCoi.,'6er.
ttouR *0F*
DAy
);
/gl**
HrC5e-v
ler
{
thmro 5
6
E/ -7o
E
3i
YeJ
lad.ale
i,,)f6,t
;P
(
h{-r1)
pto.priotlo
(" (l,ood
mcmin4'))
else if
(
h4=)6)
t,d, Firfl^
(
"
6c'D
d aPtc"n n"
) i
else
I
t
Pur' Pnrln
( 'Cnood
els(
pt,.$dffln
(" boa
3ilt(
ie
( vo,.eryr,rs
I'rmra'
))
//nh,,^
abd
@
s15g if
(be=ro)
?tof""tre,
|ltl:
,t/yirf
h
*nr^6" ))
nergnr"
)
;
p
-
s6rrtrn .g+Prolumler
C )i
\n,
linr'
r
ct^'<.t''.{
["
tfie
iyrrcm
trvDls""l.{
c.oe
"tP).'
3
elEe
{
Ir1p,Fnfll-\n
["
1lle
ct
ufo'fte CcqnMes
crmd lc'rvtgt'a9es QYe <bt>'))
Lircde
-tt I
=
Locole'
BqAvq
ta61e Loc'le
s
C )
j
fu
Ci*
]=6 ;
i<{"
[e"6th
;
++i)
t
Pro'tr,t$
ln (
"
<ur >" +
Lil
' SerDisphgCoc'nr'V
t) t
4
5
!
llerte
3
[
a"c"etG'')
nvolzr+ed
Vd;d
&Post 1t'
-
;
drr-c"s
sE t Eo
E
{
Oo"tr
(*4t<s'
tsYns<-) )
$
/ldnl2"srt-'-)
L ilrt"s'
Counr'j tlog,o-3e
(uk-
$|i-
LocoJe
mcclros
6reb 'xn'
\
',-
Cnnbgttt<
fertut
t
en-US, ft-tr)
"
--------r
'*
Iil '
ee*D;toloxLa'n9t' "aeD
),'
ffi
t^9itt
"/htt'
"
arl
Parftrn'
g"L lloio to
+lo,hd
\e ifi{ Sjtuo&loq in
Seql'
ter
fruTrervn
oh t'n
TesrAf0 ?
h)Eg -fN F
\p.,rtr",r
af
4rrr. 1lo.ne
henwkt
*ayLe*r *a Srrgle
4ta56i1 $t*.n
anl
f
*o'ut
'et
Yn Tr"rq
1
Ieshgrv P,
. joor
,feryres
t UAL:.
h*p:i/ tocuhosr :
oo"o
I
r".Anrl/
thf',,r'
hrn I
lnfur '
htrn
\
lbm
Act,cn
--
''
tt a'
-udo
d
=u
Bet'
>
Cld{sSaJ
pc.r6g
=u
t1
,'
;' A\
>
latnc-z
"
tnusy,,rtte
o',
n*rf
'
Get
orr
ltame
nu*bt5
zla2
\lc{tQe i
{
inf{d
rgPe
="Kxt"
ainfxf
qne
:
'strbmi
t
b
"
turl
?
Q
S,=linl''!"*>
sl
4fut.2
La
We?
=
Test
S'tva
.,
J
ctv
a
Fr-btic
cl
o!!
{_
PrDKrrcA
Tesrsn
?
t r' hnd
s
\oid
do0!U t-'
P679*ale+
*)
tl^dDus
s ErToE
{
,r-u^
S&Hn'x5
f**[J+rcv
{)Lo
'
Yer{'"ftse' 6eril;rt'
Ct
i
Hlrmte-
((* Cdntc't\t'e
f"
wl
l.}"',t. )l
jrtoot(P"r-p1")
value i l------r
k-t
gtg-'*yYl-
gyrawva!.re
;166
tsO
ftirne
r&(}nbq
S i
2,3,5,7,n,-
-.
rs
i
'vi
\
\
\--.,
I
\-/
tJ
\-)
\J
v
\-/
\,
v
\,
J
\J
J
.U
\,
,..
\j
\-/
\_/
\-/
\-/
,\i
\J
i_/
.-.,
\-
\,
iP
l
tu
t
lnotte
b't"6t'
iP(
Wa'e4aarr("Gets?^,a^<
"))
//ur-^'""*
ir
trnnc
t
'
7^""1-4,"
-d.,ro
inj var
=
rnrc3er'**i* t**
i
'
n*?"^*
Ct'))
;
p(,.fr,',r*rrnl-dte
g+o'ft
urrtcis)+Lvor
*v"r)) i
'
ll'd
St^c
$
elre
{
oddittonat \etfe)t poJtun
Vr'/el- 6r)
pvc^l
=
rr{geEt
-
goPo*r**
(.6');
l1r,ol"e'r
}rgra lin'e is
4aA4
Fr,
'
0n
nt
h
[
'
tL"e
ir*
,rre
n'r'mk'^
aYp
tb'' >' ) i
-Pt
[i*
i=e
j
1a=roa){+i)
bc.\earh &tc.X --
r"'t ;
[in+
\<-- 7',
!-r-i i
++v
)
lf
Li/'k
-=o
)
I
'
ffc.g
--- B.lral
breqa )
5
IP1a3-=h*c)
Ir.l-
tr,l{ttl^
t
"
zbr>\ +
i)
;
3
l
1il
ua*c
-'-
't
goiatfcd
Yoid
c
t
drtnu
(-
Y<e1''r.l't
'
f
, -)
Yt""u"r
g,Et
foE
e4'{'\Jz-
)
)
,.b?ur*
O.t
1U^lra
. utl-furtt-Y''.
Cy
ftg"rt
{ornr''rL {Yrclw'r^
qF
hhr ;s rtr
d;fPercne blqj +f
hi?
r1trcgy ftrl)oa gei
4
p,rs
t
gi 6Er, POsT
r,lethod 5
->
Jt
i5
dePc{trtt
re?re,st
."dp
6.re
rd java
rrcrhods. -Ib5
ore dipfew.,r
rnerMolog;es
rDr defurr,*
+o the
&rve
r
'
$*"
b5
the
p'ofDcor
r',rtp ro seftr {qu6!ri
9}.n e"tr,-
$,u-
Crien,.,,*to
(b^rern
"
GEr
I
post
-;;;)
--"
Jt ;s
designed
to
get
doro
fro.
l_
I
i
.It is
desl3"rJ
fosend
ctor.
to S"tve-
&ru.o
b,tr
$enerafing
ftTrsr
Unlirnr
ted
qrrDurt+
4
d.ru
:
&,
f,e'verf,-,c,x
4
a56 tsD)
-4
Sfnre
p.,6
Pcqr"'?d1q
fleneto.b<d
l.--+
d.resr,'t
sloo:
i,rret
Shrn,
9le1
Sroln3 in broco6erad"r--.rs
bar
I
'-,
doel
nf pruv;de
dru{-c,6ecdqsv
l-
pruv;c'le da'Fa
8"crcc5
'
.--
.ot
,9,ita.ote.,{.,
arrf,[rntr
Eqrodlng,l----
9.;aSrc 4-
cf,pby ncoadtnS,
rrrip{ion,
9.*"i!
ot6-itArs.
I
encripHoo,
}aut;tX ot5[lr6rs,
--a deetrw ait..
to
deal
<"t;h
l--
WWry
'{Orll.liprfi {r*
Uf.. Rn
^Conkn'Il
-W
elOol
elj{ftr"nt
\tr6
crf
c6nkn
llot S@itr.$te
+1x $r,
uplottd'{
-
Gtp'tahte
4*tt'
*--+
f)sc 6e1v;ce(-)
)
f
err..*,1-,-7r,
W.3"s
il.,e veluaet
Jnservle{_
_
PrDgIAyn
--)
.lt id ldempoFerr*
-a
let^f,b &rtc.
10
d'.e Setvev
q,aicU
-D
6loo
cnnpaeL
h
Ae,t-.
\.-7
to
Wct<
\i
\-,2
\-/
--,
usc
tlre
.rel.rat
t
--+
fDf
!&'npronf
W
&W,t
Cornplrfion
op
B;uen
dntbr
'a
przcess;n]
if
Ea'ne
ctie'u is
\-'l
elbcrcd
to gerv'.e*<
$a-e-teluest
*o Sarvel
tl$
ir
is
ollel
"'duc'dep'l*''-'
yt,oulem
La)
Ide,nptnt k-l.or,,our
".
-TIr:s
goLlew
'forses
u)kn So-e
\--,
Sctb'r
k]4-0 lr'.tl.r..r
t;;i.
'*"*'Cd
iP*P*}'
L"*k''
\''
AD
is cr;c-b-d
aPrc,
ryneruh"ft
*luct+
-H"-
*io'
tr'
\-,
' hstrnelled
*v
---) rn
do?osr
[-,
-)
rlnor
PrDcesses'"@6'oua
re'i^dtt u'e
Cq^0
h:*t<
\-.,
a.ld,iiondl
to;rc
'fo priuenf
do'at"Po'nn
(or)
:Je'nPcb"'r
gro6lou=-
uv
-t\-/
'i
1
,
.-'/
J
\-7
i.
'l-
)
'J
!.i
:
J
\-)
-,/
'.J
ge.ricef-,
-l
/
aol+t.C-'-;
7-
Understanding
two init methods of servlet
API
rl
D8/
1o/ ,nr>
init
Q,
init(ServletConfig cg)
1) public void init(ServletConfig cg) throws ServletException
Life cycle method
2)public void initQ throws SewletBxception
Not a life cycle method. It is convience method
given for prognmmers'
.
The pre-defined Genericservlet class of servlet API contains both init(Servletconfig
cg)
method & init$ method.
.
In pre-defined HttpServlet class there ate no initQ method definitions'
o When instantiation event is raised servlet container calls init(-) method as life cycle
method but it does not call init0 method as life cycle method.
Understanding flow of execution related to both init method:
Scenario l:
--o
1 is 6n
a!
th'orl
(-14v1
//GenericServlJt. i4va
(pre-defined class)
public abstract class GenericServlet implements Servlet
{
(s)
S ervletConfig config;
public void init(ServletConfig cg) throws ServletException
{
config:cg; //initialization logic of ServletConfig object
initO;
)
public void initQ throws ServletExcetption
{
//null body method
)
public servletConfig
getServletConfigQ
{
retum config;
)
//other methods of GenericServlet class
)
OurServlet class:
Testsrv.S^s
public class Testsrv extends Genericservlet/FlttpServlet
.
>(1)
(2) (3) (4)
{
public void ini{F--------t
(6)
{
l
f
ublic void service(-,-)throws ServletExceptionf OException
1(?'}
)
)
With respect to above scenario
1) End user gives first request to our servlet
program (Testsrvjava) (let us assume no
<load-
on-starhrp> is enabled on this servlet program.
2) Servlet container creates our servlet class object using O-argument constructor.
3) Servlet container creates ServletConfig object as right hand object as our servlet class
object and also raises instantiation event.
4) To process instantiation event servlet container calls initc) life cycle method on our
servlet class object having ServletConfig object as argument value oftliat init$ method.
Since that method is not available in our servlet class the super class init(-) method will
be executed.
s)
6)
this super class init(-) method logic is there to assign container supplied config oPject
.-
with the ServletConfig interface reference variable and also calls init() method.
q
st*t9ef
fr
Since initQ method is availabte in our servlet class that method executes and the
-16
;'"1;1..l'z'
pn
N0lE_3
initialization process ofour servlet program will be completed.
7) Sewlet container raises request anival event and it calls public service(-,-) method on our
servlet class object. This method execution will process the request and sends the
response to browser window.
Self class methods & class can be called without objects.
In scenario I our servlet program can get access to ServletConfig object by calling
getServletConfigQ method of predefined GenericServlet class in the life cycle methods or
other methods of our servlet program.
ServletConfig cg= getServletConfigQ;
methods ofsuper class can be called in sub class methods without objects.
.-in
SrenaricrZ
de com't
f'^915',-113r*'i:/
henr
%aA pogurDs
"
Tb
c(r js
:T#$h.#'?;H'o'?x[tr"'q6,"r'""'vffi
te:
rn
'Sceo^Yi
oz
fie
crr,F-l
-Jml"
9.
fo
Sebvre,
G,y\ fil ogi*l.i..,
tc"^-
-or.*
\oqi! .1s o5
cs&
'
in
it(- )
',ed"J
"F
PrcdcfheJ
Gen<#c$:4f4
Lr u
[etccq\r'!J
tr
rtr
t'q';,vla-
Scenario 2:
/
"
public abstract class GenericServlet implements Servlet
!!gi
Clct-rt
lrogl- The
n-rethod
i.e co.unJ
6t
j<
coJ.lra
as
1;Pe-zYclc
trtlod '
inain"rtX
4'r
li(eurde eM",+
{e" i+
)Mi
Jiw
u
L5
tphen
llkrr
le
g1'e4t
ls
ral
et
A :
s3n&r).
Tf
v'e,toJ
''
t^oX"' \
c''r':r*^r
$c'rv'tzfCoiildnfX
Ir;rc
i.i]
is
rsf-cdbe
GenericServlet.iava
ti(b-tXcle
^ukl
Llwe
;niff I
n'd"'r)
'
{
ServletConfig
config;
public
void init(ServletConfig
cg)
t
t
config=g;
ioit$;
)
public
void initQ
{
//null
body method,
)
public
ServletConfig getServletConfi
g0
{
rehrrn
config;
)
.//other methods of Genericservlet
class
)
Ourservlet
class
Testsrv.java
(1) (2) (3) (4)
public
class Testsrv extends Genericservlet/HttpServlet
{
ServletConfig
cg;
public
void init(ServletConfrg
cg)
{
this.cg
= cg; /(5) explicit initialization
logic of ServletConfig
object
//our servlet program
related initiliaztit:&de
la*.,c
)
'(/
public
void service(servletRequest
req, servletResponse
res) throws ServretException,
IOException
{
.............(6)
)
)
In scenario 2 ourservlet program
contains init(-) method directlyke
contror will not go
to init(-)
method of the Genericservlet
class. so programmer
must initialize servletconfig
obj.i", h r*:g
inito method of servlet program
to make it visible to other methods
of these ,-*l.t prog.urn
that means in scenario 2 programmer
must not forget the explicit initialization
of servlet-=config
3
,..
.
'
object in the init(-) method of his servlet program. We caonot call a method on a object which
holds null value.
Scenario 3:
GenericServletjava (pre.delined class)
public abstract class GenericServlet implements Servlet
{,1
ServletConfig config;
public void init(ServletConfrg cg) throws ServletException
I
t
(6)
config cg; //initialization logic of ServletConfig object
init0;
public void initQ throws ServletBxception
{
(7) //null method
)
public ServletConfig
getServletConfigQ
{
retum config;
)
//other methods of GenericServlet class
)//class
Ourservlet class:
Testsrv.class
. ps.rvtef
Co ldvcl
c'As
\^dr( i"{i
l-\
kv1
lStt
c
""6ti
ol"t
(1) (2) (3) (4)
public class TestSrv extends GenericServlet/H@Servlet
public void init(ServletConfrg cg)
{
(s)
super.init(cg)r
...............(8)
...... ... . ..//our servlet program realted initialization logic
)
public void service(ServletRequest, ServletResponse res) t}rows ServletException,IOException
t
(e)
ServletConfig cg;
)
)
In scenario
3 programmer
can use getServletConfig0
methodJfr
to get
access to ServletConfig
object to its servlet program.
: ]:::::_1'::
:':.*::t"lt"1""nfigQ
method
to
set
access
to servletconfig
object.
: l::::::: ? Tjtill^
l"1l:'""{'*:bject
expricitrv
i' i"i(-);dh;.",,"'#'o;*,.
o
In scenario
3 call super.init(_)
method in our ini(_)
method
and also call
getServletConfig0
method
to get
access to ServletConfig
object.
'
lt:"tr
eive
3h1ce
t1 init(-)method
of pre-defined
Genericservlet
class to execute
onoe
in the instantiation
and initialization
process
of our servlet
frogram
because it initializes
Servletconfig
object and makes programmer
free from that process.
Due to this scenario
1 is most recommendg4
apppaLc!
to
place init0 methoa.
ia qq.
."_l"t p.ffi
Understanding
two service (-,_)
methods
and 7 doXxxQ
methods
of pre_
defi ned HttpServlet
class:
'
when
we develop
our servlet program
by extending
it from pre-defined
HttpServlet
class
we can place
request processing
logic in our servlet program
either by using one
of the two service
methods
or by using doXxx(_,_)
methods
1) public
void service(ServletRequest
req, ServletResponse
res) throws
ServletException,
IOException
public
service(_,_)
or service
method
2) protected
void
service(HttpServletRequest
req, HttpServletResponse
res)throws
ServletException,IOException
Protected
service(_,_)
or service
method
3) public
void doXxx(HttpServletRequest
req, HttpServletResponse
res) throws
SerwletException,IOException
doXxx-
total 7 number
of doxx(_,-)
methods are available
like doGet(_,),
doPost(_,-),doDelete(_,),doput(_,-),
doHead(-,_),doTrace(,_;,OoOptiorX-,_;
o
Even though
7 doXxx(_,_)
methods
are there the regularly
used doxxl_,_;
,*ifroa,
*.
doGer(,-)
& dopost(_,-).
.
Only public
service(_,_)
is the life cycle method
r
Servret container
calls
this public
service(,-)
method
as life cycre method
when the
request
arrival event is raised.
t
pmteo+/
S\\r{Fr-)
a,,'d d.oYx,.
(-.r-) c.t
r** hfe cycle
b,erbc,ts.
fiaibod.s tD r( prog.rarn
'
b o( fl'tiP5ovlet P<Tr.!t
,
lltt?ScruiU
Prslonrt
tolrl ftrt ao$
-i.joe
&i$n
3
1,Le.1 c'w
lcavitr'i'r)cc
crdr.ls d,w.t$
t
lX
or,irl;rt;n5 nxrlHpl doXx^[^,-2
,",r6nr1a inarsrrrrct
l)rDflrr(nt
Lr G,t-t etet...rt
.l,f
ftnr
rrt lttcJ
*f,r d;l{ornr
wltt'n
',(tArcl
k,\.'l
'(1((''51
$t,,s,or,lr'{
L1 . )irnr
(r'^"X:,.ro.
Scenario 1 to understand flow of execution related to service (-,-)
,
doXxx(-,-)
nethods:
//IlttpServlet.jevaGrre-defined class)
llttp &i v ler
//tvletasr''3
11,.?&"ref&#:t wlurst --
(HrpSe-rvle*Pe4,et)
"t-t
:
tlttp5ervle?Rspm
se
{t{Fdrse
=
(
HnpSerutei
R.q,-'tr
)
t s;
// cotrs p-rcte*ed
jenrtce (-,
-)
6Eth<,1
Sewice
('recyae st, ae sFmJe
)
l
t
*J
prnJc- vota
3Y\rice
CunPteJrv\x+Pe.y,(5k
w-l/r2sY
'
li{tpi"r'lA
Pqnon"
'*s1"'
x
)
sFl
t
"/ood
r.trtr;J
mr$od c+ brlce.,{t
$enc"<*ei
"&qlLett
S*'iJ mcJnal --
*1rctt.
5e+Yl*fuaL)',
l/ ccu
ofrrofaol. doXxx (-,-)
bostJ a".,
rclt* nrerho ci
i{
(l''rt,ql.
&\plt CE
r "))
dx'eL
("ql'"'
'
rrsFo
rz)
"
iP
(.rnetfiod,
e,lr.r.re
f
'frr.t'))
-
cloposi
( *eai'tntt I
resncmlt)l
": v:
' Ourservlet program:
//Teslsrvjava
public class Testsrv extends HtpServlet
t
Ser
v Et Pesprnse
rcs
)
rt'''otos
Strr
aoE
!
it cu'tr
groEcrtJ
-voiJ
.blxr
(fisn
'av,llSP
res) tlna-r
f
*ra
4{5
rr
ffr
TJI('nse
Ja*
}o
4ffieq
3
.
,
...
/o+6,"
mtrfo<tr
(lxcEr) (2) (3)
public void doGet(HttpServletRequerst req, HttpServletResponse res)throws
ServletException, IOException
{
..//some logic (6)
)
)
With respect to above scenario code
(1) End user gives request to our servlet program having request method "GET" from
client(browser window).
(2) Servlet container creates or locates our servlet class obj ect if created the servlet
container conipletes the instantiation and initialization related life cycle operations.
5e*ice
( 5av retPelres t re1/,
tr.Lblfc
obSrr* clc!55
7
p,btic void
s(D
e,rErd.5
Ge'ne'd cS
e,rv I et
t
(3)
(4)
t++e
ServLq
p<frqr
qi4
servlet container raises request arrival event and calls public
service(-,-) method on
our servlet class object as life cycle method having request, response objects as
arguments. since public
service(-,-) method is not available in our servlet program,
the super class (pre-defined
Httpservlet class) public service(-,-) method executes.
kr the ppblic
service(-,-) method of pre-defined
Httpservlet class converts simple 5e-rv rq &rl.i si
servlet Response object to HttpservletResponse
object & ca s protect"d
se*i""1-r;
'h'*
t
method having these two objects. Since protected
service(-,-) method is not available
in our servlet class the super class ( pre-defined Httpservlet class) protected
service(-
,-)
method will be executed.
(5) The protected
service(-,-) method of pre-defined
HttpServlet clas, ,.ud,
ffi
method of client generated
H@Requegand carls an appropriate doXxx(,-) method
i.e., doGet (,-)method.
Since doGet (-,-) method is available in our servlet program
that method will be executed.
(6) The doGet(-,-) method of restSrv program
will process
the request & sends generated
response to browser windoldas web page.
To understand more scenarios regarding these service(-,-) &doXxx(-,-) method related
flow of execution refer the 6 cases given in page 56.
The execution ofour servlet program
don't let the control going to doXxx(-,-) methods of
pre-defined
HttpServlet class because tliey always generate 405 e,,or response page
indicating our servlet is totally incomplete to process the request.
public class TestSrv extends Httpservlet
{
public void service(ServletRequest
req, ServletResponse res)throws
ServletException.lOException
{
super.service(req,res);
)
Protected void service(HttpServletRequest
req,HttpservletResponse
res) throws
ServletException,lOException
{
)
)
H.--gl35fj",{,,m...t-gd,
ispxoecuted because of super.serviceireq,resfl'J,i*ioo
,o ,u0.,
class and4qgper class intemally calls lhe protected service(-,-) method so 6
protected
service(-,) method is executed.
,*->the-\ie
cLrt-
R
lnitC
I in 66t
$elavter-api
'
fie
liP..t.r. nrerbocl
in,iiC)
B nor
rbe
a
Thcre cr{e rn;\rjp\e opptarche
s
I
AO*,
$rvler
[,"oXtcrrn'
--. 1()
Under
Sktnd
rbig
6cmaioS'
pcr$e
h.d...rc
D*'
oYr
ot[ro
I
t4\>
"
6*
o,rlU
;nir(6ovrerG-BS
cS)
.;,
liFecgcie rnerlrocl .
to\<eeP
initt
)
merhcJs
incrc{
)-1o:
1
tD E
cf
$e
'9'PPlen"ettlo"Y
6e\ro
|
"-r
r
ini
r
L-) in irs
senrKf
Prq,
\r"
l.ns
to
ir)\fi''li
z
Setvlel
G'nfi
3
eag\lcirll
os
thot':n
io
tl.:, fto8"ro
$e
cnplri
d e fnlt
(
)
roh5 orntt*a
initt
)
---l
ff
good prug"rarnrno'l ncucl
6ve'trid
e
Becar-,se iP i6 OverrideJ
ilc's
rrrrtrod
eirlrr
irnel;ufl,
el Ca)
bn l-,og
eo @rr
&r?er"roit
$cerotrro
? an d
Sgrpdo
a .
-Io
cqren
&rr.,e
q5
Slroun
in C,+p,rDo'cll@
, ,?
8';
hh".'r in;rfSe*roG-F;g ca)
r,r*"d is
lifeu;cte
Yd-rLffio6n
rnerhod
iS
BI\ro
l
btf
inriC) rnerhpd t6
Bwen
G9 Cdn/ihienca
-rthod
4^
iniHa.LzaHon b?
gnrer
6r,Sg
o4je.+.
to
flc.cc ["s uon
in;tiofiza,rico"r
kXic ard
-%
pc.le
nO:@
'to
u,-rr\
d
elobct'ra.l-ed
pn7raftf
the
exPlici I
ar)lv<Jt
*Pu'
'
!k)
tJnde'standing
too
S'ervic [
J
c.nl
ger,en
dcXx"
q
1
r,ed:o,ts
.f
genitrt-ou;
,
to unclorstond be Pwa ol
e
^ec-{rhcro
reterrcd
to
toc) 6p1vi c
(
)
rrerbods
cinJ
&vendoXxx[)rrerlrods6ePexglwn.9Prlmqnla.,l^o#,..,Pcaerr,t5:5Ia1
(cr"lw|-wl -
'-zRePu
$e 6
@sunato
u?FffEt
tt rsndc,to\<,1,-tA rhe
pto.,o"g geu-llot)|
'
._,
yelo-ld
tD
fit.4 S"rvice
L-,-)
,r,enAs
o,nA
k
nn
do\,xx
[-,-)
wrhd
\--l
\)
ut!-
lvhen atl rbe
merhr:e[s ol
pre-deAned ll+fp
g'rutc-r
c-taX
6y)
ConcJ'aa,t-<
c"l-1.y
the
cbss it serP \S
|7tk-en 6a Ohsh-&b eH4
1,
Qeffer the
hst
4
fr,rc.3rc'1l.,
sP
?t4e
uo^, 66
e{ rl,c
kx)Vk}
\-./
-7
A C\iont Cclq
d,u"
+
"rrhode
[at"J
Vql&t ta 0u Qt-tu'
N'X'y'Y)
"
7Aa'dc',*
\J
O Gp, O
potr
@
Hrno
@
prt
@
Deue'r
Ci
le^'r@oPTroNs
-)
-n
-ro
Vods
+lnese
nulod
Lc'sed
'"yetr
in
atv
{exvL*Fo!*"'/e eco' l+c'p)
'-
aJ
ffiueD
1
doXx*L'-'-)
o"e+l''o)s
'
ddrrer[-,-1
dol"rtt,l do1urta AoDau. G,-) dolleaa(-,-1
ffirote(-,-)
&;$x*. C'-i
'-
GVr,
Post
d4lr-est
.n/ro'i"
w'd
"o",lt"oa
uit
Le
'"'/
y'rnr.
--
.-4
In
nol
a-"
C*'A
+o
WUu5
V'ojn
JJ
.+!^ecz ,""yutt< '
a^A
d"6u-G,-)r*
da?as,C-'-)
coirr'
be
P1o&A
in
(oal+
I'Htu''
6+
E Gv,
i-
Des;gned
tt'
Qet
aor<
f,t'-
St"-t 6U
TUs
ra1ptert-
reh+e-d
lr;s
'q'*'*
"'"lt')
nuhod
is
totf'^r
CarYy mc,,x c,p
eB6
kl3
et'rt^
'
*) IIEAP;
Scrrne as U,q'
a'*
rcrrFse
tot
lks
Ux) r,p:aryce
lDofrl4-n
.
+)
3!l-
|esi,r.d
rlurh
S{^d
"r?Leth
tb
(^,'
lt ,,,nr+"
colubury
ra
S*dT
YYlLesl
'
*is
Ywesl ktn)
r^l
ron[e
camJai ns
r0re vu
Pan
tt
Te6no.rSe
A)'<'s
Mf
conkn
t)
+o
chuY
rlrr
aDci"Lab;
l;q
*tr
Q,rry
.,wf'^
r\'irlcd
oyr'6urrrl-
,+
J^I^
"lctnt
uirL
{."
r$eat'
$pUf
;-
FrPo4p)icortca
Sqds puL) nnthod
b,sed
poy.cur
fu
Sa/6\'d
ttpla-t'r
le'"J
U;tLTuqqs pn:6ram5
in crd
ofucattcn.
''
Y)DutETa',
Frp
o+pt'c"ttcrq
Dz9re
rn"rqo.l L."rd
ve1/"esr
fu
De.leta
e xismng
-
LpeA'esasze
rnu6raa
+r"^
W,v.
,xo
uefl.,\-.lc/\
-
x\1!1l'ce.-
ctienr
ures *ux,rfiact
fi Vro,**L''tfl
ryr $':nr"Y"t:t
'-)
'y,r""*^
^
verrcmsr
&''yiva-{-.
Ukk"\
4*
d'}k":0'11
,
"
.,
.^^,t 0vrP!\'r{'v'r
rc'
')es'rcJndL *"'"
"
tg[trns
+!^e'pots;ul'e
H+lrtLw*t
-q/'"J
,
*) Op.ons
lr
t's
y*g1l^sy V,se) filB
_,
(L
rr"ffin
-!"r-.rUr,,tt
hlilJ
La^
be
ureJ
lo
6u"t"o+<
^
.tt|/u'
t' aoL
"*T;'o"J)",0u
Jr6:j(
,)
Ea'.
r? clil'M.,t
6''*':Wt{fr
AC"'lu*
y'"3'"'\
J"'
-
"'1^"a'
-
;
,
",
.u
,.o *,<**se \oov^
lipo
tLs
@.Wt
4c'
ll'e
w\Wse
'-/
Al\ouo
Grr
,
V+vnD
,IVAcE,OPrrorus
'-
--,
A
8,oc{
PtX'"'nvnc''
places
init()'lnethotl,
do&}(-'-)
'
Jo
postt-'
)
mtln"ds
,
tn
"
U.
Snovte-t
P'fron
to
plo'ze rbe
1n;r'ai1flaz-a*too
lu6lcs
'
,
<t
,,rh,r @e
ut" Po&tlt8
y-
r.rbe n
Pablic
5e'vi(e
(-
'
-)
is
li?eqcle
'tne'4oe\
\'
*
Q
t:r
P\ate
aoXr'
(-'-)
'..e'l$ods
!n ot-'v 'Ser
ul
et
t',u{'o'n
to
rno;nk'io
iif
,
Ray.ree
iPvocessinX
l-oflrc
1,
'
\ Aoca
Par
aive
l)4sottts}e4.,u
st
,,
f*13tov
tcPcs
gcrrs c o
Qicrls
+es':
Pu5\it
<trvi
te
L-
'
-
)
V
,
i-,-)
wpinoA
Wu;des
+b
rmrv
rpi t$
oll
'he
laatr
Aes
o?
ftrp
gorot'l'
&,.r
doA^'
lnut- ohyuS.
...,, urlur. nor binX
oi4
.$rviccL-'
-)
co<
neeJ J'o
priF
Pa'irst?'otNln
lV;t
'fl
dtPPuer,t
lplxm
cts
@e
cLs
os e
tqics
b( diFPeter,t
lo6ic
in doPosr
(-
t
-)
rnetl-'od,9 base d rly'res +0s
3*'Podr'
" " '
[il!<ten* 4sfxr
(-
'-)
rr,'iods
.IL3Aesl
merhods
liPe
and
eI(..-."
i\
e
Single ,wLlnA Ae&n; n<'n,
(,e
Cdn dqtovee
liat
$re
ocrr
jov
a
ta)t b olptictrH
on
(
us"<
ozbof,
Pl;cotion
s
aralrgrue
Jar crmond
il,
7le,te
7t'e
rcateat
l>n@U\
GET nohod, I:gic
in &oGM(-,-),
PGrrherla<l
\_-/
\-./
eirbi in the
%-
4
dsr"*o\
or mor Sl.e
v
Cveclc
o:crr ft1e
)
Szala
Ld-b
a+Pv(
ull
cro
?'-
t?
ftocedt^"e
ro p.?at c.rar Pite 'qneseruti'n
fl
$e
.54-r:
.$zt -fi .
C.fLdt
the d.4loqeetnen*
E'"
c-LreU-c'1 siaur-toYe
aP altS
appu
cut{<ra
l--)
VaprAr
f
6!$-I
N F
F :*,u.
u*.'
=
cbr'"f___
v66qsrv.j&v,!
[-r Sc,,'.er.
jttr
l--ca]-xmr f
I
|->
Vc fcrsTv cl(.rs
A,
rq,'" rcnts
41r's6
{irerftn1
\,
c",.1
gaY
\v
FryeP@t
re vle,
t;rc"
E:\
voter Alf
)
jar
cP
VorcrAPP
'war
t
----)
Crtale coar
Ate
<Peu
f6
dre
t lo'r
Pilcnavne
Jhjr( aye 3 ogvucLes to
dqio,.1ee
xorta
ux*
ay!;UH
ws i n
3cxwzf,
O fard 6lqloleerne$
i-
@
Gnreole depl4 ee'nc"*; -
*pb1ee
.Dar kle
ln*"XI adr4)t
Comule
@
T,ot.
hsed
du4,lo1e,mw
i
DptoyeentLt"*
Pr
in6 JDE6
,
nracn
conX toav &t.
to-
insrumrion
(ilr.e
dio.+.','y
fo a C'rud
llomcet
-
lomez
\
$a*
4
6ewev s/,.,2
tl
Wwr)
lao
I
)
an* t@l
Pngronr'e.s
$cnerrcal5
WP*
*dAnS
mtrh a{noa4
e
f-od*o 6
FnPcn-.'r
con&le
clqfogeetrxr*
io Torncdi Q.rver
c
-
skP J
:-
h+fi
,,
ll tabtho. t
..
7r)14
l.luncat
-home)
-)
Bnwse cnd
-
-hnLA+
Qdet
r%le
prcPare
6N
Pte on yoltlr d,pplic&r|dn.
(liKe
Vohr.rApp. lrj ar ?-re).
51ep
n
i
DPq
the lomtat
-o"3:"
a;ndou
(ht+e:ll
tocathost
'.>:olol
)
L4dmin
cohs6te
)
Wnafl
e
-_)
S&bmif
Lp1name
". admio
-->
6olo
ft$@c^6
:
a(drni
ry
w|e
Pte
(v'rc"+op.r**) a
Wro,lzt
6rtf ut
i.
-Gt
the v)t6 atplr ccctJ 0,',,.
I'JAR $re
t" d+1"
SeLh
L
Pef?{f
bPL'.
b++?r }l
to.d}""it
:
-ro
/ VrrcAg / Pei<'i
tr hl
'n
1
,-T-.
L>
weB f;re t.nYre a<
Grr(*
ga:rl .
?
p"-fo*r -+l-d
dalo,f-o"t
Q-
,a$
apl;a'Xln
-ic
llrnca+-hore
>\*.uqu^ J-ta, ( hM
gru
,r.-u
/
Ji/eurc.yI navne
[.ulogic
i
TWe i APPI
r coricm &ouex
slco
Vers,dn:
to e C&bponll'
ottt.,
jar
r'a)
&rrvr,etc-t
cA
slo
JzP,r'r
f fDrt
oo' 1oo
\
;' tt'""';^
s6se's foncl
z aeoahv")
*r
Joon
f
oad <lo :
tpt'rto '
ComnercQ
'
\a'aw
wu:,a '
c;toole
'
an
arroc,,s
rD
*+
d.\rdYts'
Yon^
**irff"X,ry*#:tfl'J'flfi.
ffi
t'-
;
icm hre
tt-c,t
tqT
es'r'i3 0'tl Jce
a$r6
"
oehlog\c'icilt
gE:- an
Ndblo6tc ,ol"
"
il*
ctYe n0 doP"tt
doYn?jns
-)
lg r,a\Hple
f,nieds
o( a compal
ao^e
ust*'
'ouLL"6''c
l0'*'
tnculo6lc
r'rin
t(
incroueJ
-li
6"Le
in a cs,-t1"6t)
^^;'^:''
-t
"rnatr-;Ple
dsnans
LDill
k
Lt.,.red
\n
+167
ot')'[o6i' -%
n;;vlple
,nii4
u
e'''e-fu f"Nu+
L"'tls
4"*..
'
Fzceda / Jo c"eare
gaqclu
ftr,
d clorn
c"i n in r,ocA
lo5;c
i
'
=-->
Q
Cncrc
'---'---) nY. t
U
len rarne "
Jovabos
5
S.tc(r
I
--r
prugldyns ---+
gnt'cte,w.blgt
C
-
flcu
cu 6icnf
----+
@r+fiv,1eta,*.J
orrl'
cot-L'lrptSc"ruT
.
-
a n&o cerb
log; c don^rlt n
Dcrrfra n Mw I Adv Borcb Doroaa
a
-------,
Yl
gx
t
1--|
L.*. Pcagqro<{
I
I Javr.Lossl I
&rr ft-o.rn nr-!f'cco-x.l
:
tf^""L#I:l
--=-.-.)
n4'a 1
-------)Dx
|
---+
El
Mrnintsto-affoo'serr{r
.
-_)
pe-6fun, ccrnsole
dcplo'70e'''b't+
eP ce$o4'{';tt*;w
i'h
{avBarcl)nffii6
$eavat
4'-
Prlce&ye
l c
$ta*
Admin
Swrr<r
-P6
ux6tbfic.
y-q;
opon
tLe
QPe'rr hocu<lr
Sttg-I .
Dq"loYee
rbe o^x$
a4pllcanw
tt\l* tePl-
Advniv
Csnsole
--
-
) Dptoyeernzr..rs --------4 instatr
.
,
tX>laad
gx\,rs
_-___>
5rc0-!
| TJt
rfie trXl,
a+n tf car
a"
orxm
Bur(otaf t,tqdoco --)
'lYpe
*.^3
epl
( r',*'.il
iocol[trst ; wnlvowP<lr) erorrt,u.,rr)
--------, Ad v&+ebDumdn
------
',)
orllt,qlc
o
siep
-r:
6_
6Fcf
-n',
prepave rbe
,m,
#,e
Sr^t AauBora"Do.'*io
6{-6rf}
-)
[r/D$r4rDs ---)
(rrun
Voco&P',*"
)
Sen,vt
Orada
rocb
[o6ic
Ulw
y'ajeds
USe"narne'. Java
bsl
Pijs((ro.
d :
Talq&ss
!
-,---,-) Lo6
in (g;Lrs cklvnin c.rube)
odrni n Cor,sole
oP
th;s
dot'ao
&tlxn
'
cotndoro
T6r:efiis
t'PL (h+tPi//
l{'Jbost:
+oto/c-'ote
)
l\dn,incclnsorr
-,
Deplolemcrut6
.r:
pl va-1cl. hlf
._._---)
Daletr
pnce&rrt iD &ndtpiDYee
c,-t:-b a-pp li
cd-t.lca
-P,r
r,-
Cldm;D foDs6,e i.n
cr.blo6;c'
To lt'd{cr'rl lnrd dep
luTe man^1
of
c"reb appl,'cc.u or
in Ad vyntch Doma)r't fu^x^
4
wiLo6rc
Coq
ttu +o I
lowte
txhlo1tc
-lt
r*>f
midd t"t"tf
VotcrATp
Votc|A,fp,vja"r
Aeft
-PYDy'j5l
doraq",IAlv brebfum.i
n
ta-ula&f"'l
W
l-0
r,'r t,rebl$ic
&.rvrts
t1.,e d.plogeed
Ccntext
Da
rh
op
g1
trrbappticaticn_
di"cctc11
"*.
J
cr:clr P;le
norne
er Ll-S QS
-'
f}-,
r,",
*orrr.$.
63 ,,L{
cohen
the 6arrce
code
c'f
S"t*S P'rurJr
arn i5
rnoan$;e.l cd n
rJ
1p
*etornpite
$sce
f;.re ond
coe rEed +o reloc.d the erbq,pli
aatlO.n. rn
c...s e c4
crcb loic Ssr,tn icLgr
$e rezotr,pitatlon i,5 encugh.
h,
*) tP Ureb o{,p\icatl6-a lg deplogeeJ i9 fie
$ar{ thn rh,e Se.i \,e'f iS io
Q-,nniog
rnode . r}sr lS
q'
l.vh.Lr i5 rhe
difP blrc
Hot cleploqerpcai ctn d
co)d
clepoqeerc*n]
1'
Caltt.d
Hot
deplo qrncnl
$e
+)
IP
coclaaepl
cotj an i5 &ployeed in the &{vo-r cokq
Sar ve-{ ls lo
Cerlted Cold deplo<]er.r**a
is afuoo3
+1*
dedqeernu't'
-4Y
d'1'1n4e;-rd P)
Csn ol
cleplrryentv*
Ci'J
Cbld
dLdryee''tu4
ta
I
rolror>
SYqVd
ft&e ' 'r[t^
)]
\s
con
5e
atk'4
&uadqia,w
In NeblDSic seYve'r Sfr'r}cd
A{'{ cdrnand frrDfhPf
]s
oPernt
N"Ur
. so, At
t clost #,g
in au]r0r+tqee
{"tr'
e
c@hrylicallons
Cdmrrn td
F,lM+03
f!c,, A*It
f
eA
;s
hoi cteptolcd
in
the u*ndr4lolee
tk^
dwlart-
rke nn$
aflJ^'e+{
o4
i
GlossFi'h
':-==---:--=
tgPe
"
lhPli'dl-Ja'D
5e'6!
e{ 6lld
Vend
or
'.
SanMs foraae
co"n)
te5tuser
! rngdona.r
nr
-E
.L*un *"'*;;-E;..,
,lo"oin rpnne
t
e
6t
ujc'r I
'-/
a6d
nod;fo
J
--/
=
6565 \
)'
-/
@
P cl-ct h ge
Donu;n
mgdomctrol
cYdd
rhe Hitp
ctrn-
rurn
S^ o? the
obow ro$
cbrooin4-
Benrx'i
1&tsrsFsb-home >
\
Rons<"ver
\
dorrnins
\
rol c{uoa,.nr
\
co" Rq
\
dortrutn'xm I
ertrlbut \a-lue
c{
Rist
{httP-li6KneY
> kt
(
Ot OOh
tine
F
r no
\b ctop\oyee
rhe
forlq
w\a{rpt\cotkvn
'n
mSdmr.ln
I Se'nxr
+
3or0
" lrra'
Pmcedute
hass
Hs\.
ole
farri
potr
no r gogo
I
f". Http
nques ts
)
+8+g (4^
oa'-'"
Ansote
)
Verainn
'
e.
X
CCornparlll
e
(,ith
ciaf
t.S
+
)
0rrenSoarce
Baitt -in and
gepco,r+ se'r
rre''r
4
NetBeansJDE
g- Thre GtasSFsb
&n'tn
tW
cut*sotrr$
Ne$oosJDE
Cambeused
Lotrhor
rpi$e'r
c ccoS i0
CftaK
Do
rrarn $
'
]he
dePa.ttrt
dprar
t.r n@m 15
clomcqnl
'
'J
,\J
ja".
fttnt
gr.tr
tepre-rnrS
olt
J;EE
Apr s :
javaee.jar
(,zOrosf[f,-1",rtg>\Apwmr'r\riu
4ua)
...-
defur.rt dorrcrin
I
dot'tnf
)
Ct
&"*,'crl
dctaits ove
t)
Usernorne
: odm'iq
2) fiusarara:
odrni oodrn
in
prccedcorc e
16 Cyohe Url
dee,Yred
Dr\tuo\
APP*1vc"Y
\bin>
oiqdrnin
p\f,s
e enrcr odroin
PaSS
ux"rd
> teittrser
t
p\errs
e er-*tr
the odmin
ftascrrnd
c^goln >
p\eore
enrcr fie
rrn6k'r
fZr:s
ro o-d
C
:
clo rncnr n Sey
wy
jn
Cnt&siFs[
B
.,
,^,,..r< F"tft.,r6+-,
d r"
cdrr)r"-'
c.r'ecl|e
-dc'rocrin
--adroinport
H43
--
qscy
( corrote
cltPlqeenncnr
)
ry!-l'
Pref,c.re
t:c'.
Rre
5EP-n i- Slc.rr
an1 dornainl
D; \grn
\
APPSc'rvtr
\b;n >
oro6-'
n
6KP-m, ofl-''-l fie
qdmin
Ccrn66le of
Off,ln Brurtcry
rt; indocd
----:
TB;t
rtr;o
rePr se
Fin?
urb
c.fpl
jcdji(rn
( I tu Vorcr
ipp
,
oa1
Au* ,{ &tossBsl
SraYr
-dorDai n rn gdomoi n1
*-ffinn^.nu
Gtc'ss- Asl
upL
(birp:ii
llxot
host :
+ra;)aca
STep-W,
Deplpge ft,e
OJa.b
o-pplfccrf"c.rn
OdmirrGnScle
_>
WMI^C
ApJico+le'n$
r5pe:
[Lrul*tta'r"tl---1
)
ro emp
Se
6)asS
hsh dorr&ro
9xvor
-)
Cli.k
on bSlo
->
ccLbc{drcoflon S
---:.
DePl
of e
a
\
Brurose
ond sekc* roo'l A te
(vote't
Af
p oai
;
I 6s55 /voteoAoo
/m-,t'l,t'l)
2rePt:
Tert
the wdta0Pt;concm
0ttJ',1
Bruc'${',r
Ln\tds@
-----
-IbPs *'is upu
(t'itr"/l)c@\bc6t
TP
u urdeplqz
e
ibe
r':cba{'pt;car
ioo
sdej*
*P
tot-lpnpu
c rl-rjon
g \Dtcx
kt'P ---'
cnc.Y
urrlcPbTe
e
oPfi
d11'
Fotdrp,'el"*t
4
t'wlrc"Tt.1":::H
4", cJ,irttlg
based
bat
;;mtt-*:
-t-;
no
sc'ooort
rn
LtrLrlD
.'
^-"trlP
'
]-
rttls
6o?8
u:c.x ftte
bosed
bot
dePloqerot/rLf
is
t'c66ble
'
{G,rc.srksh-home
>\ *mrouer\
tto,"*nt\TP4^
"
-^Yff:*"
USeruarne
Wssucn d
hsl-arse.'
1
E@l
-i
deplptfeenlotr'but
rAe
*)e
tD&"6 hle
r0
ft,a-
) otrl ctorarloin
rrtff
'
ofto
bnrooscn
cr'indoa: '----'':
Tgff, uPL
!*rp:f 1
roo\host:
(96s
lvorc^Alp
f
oett"Ls'hr-
l
D1\sur,\
APP'?rrret\bin
)
dSadmi
n
Dorcg'n
ngdonoinf
6ioP -doroltl
'fhopKd.
mgdornorn-t
,
$;rahar
jo
rhe
cliep
blur
hjebft't
ve t
-)
qivan
l0 rfona8 e
ana
->
fgu(lopee bared on
orcb&,rl,{-(
or,A 4pplicot-1",1
qer.*"
?
e xeur-te
U:cbo{PticahoO
-,
C&rAe)
AppliraFt-
q.n4rc'i
g\ucn to
mc.nai
e
ana exe'u'!4
@'j.dilnltuk(ry
"-
Lco<'"1)
,
Ef,BJ
Enlotwv6+pw'*
Cec,rl
Beeoc."ce
AdaP
tc^{
hp'c4-klcl'1
(ru'r)on
J-
e}e
cise SrvlJ
codfa) n c''i,
JsP C:rnfedYaq
-..ffit^:
j
De..etoJ'rJ barzd.
r't eaoltivtrsp, E'rts,
Crns
r
alc.
- - spelif|'al-{
a^J
'
olio(o5
P
k*'
rdd#la@
k4s'
rrDw
crrrocos
Lo+
hfi"
^d
not'-hfq
\<i6ue'n'
JSP
dofltolY\ul
&rv Ltr,
Js
P
sFnt &o.tlcrrS
-)
-)
besdt
d1o(. Jo tre.ic
dorrei ns
--)
qiuq lers r.tt
ad
le-a"e
Rr6! i crJ
--i
a\lo@r oc[T
t.]ttT] te{pst
-,-4 tj{11.raie- &n sr'111r
and
rrud;ur'r
gole
a-ppl.'c4*httr
9"
The ltuge
&ggla
cLnd cornplex
!
0or &te
=
ujc.', hte +.Jr"n
$te
ES
BanLing
Ans
-=-ry tutbLqtc, r,x-[ospLo'e,
M
S,uftrLilr-
t^
lloysde urLr411'r.eafrog
..-
Or{re't'
JW
a'V/Uce*+io''4
v
.
-.
il
. Cnlorttri
t
l
.J
\./
1er"" f!,"\ .
''..-/
\-..'/
\_./
cu.d Ekl
&t)llTccrHon ls 6dled Et*<KVl[e
@f'p
+..- --.
.---J
----'1
fl:e ic'..ral.lee
Resotrrre
ap
l*
AAaprat
tcdl.S c^l)rh
4no
(n*)
ConncH(rn
poolin
?
zil\ /c?\
\c$-/
ls/
@
@,,-
@9
I
EBe
(tiw sAe
)
/rPm [1;]q
s;ebe-r
)
siqr
s
,.r
cldl.rtnS
Grnectiam
Poolin
cl
,. \
-
/lsp \
do")tt
llf/
\"t/
gy3
i
wAi
\i\{e $c'<vtet
prograrnS
fu ir*cract
cD)
rb
fuitaBose
elo '
'-
.-, rP rfiriripie
lbveads aYe
BE
ted on
SinB
!e
6q1trr
I
va"r"ste
4
g"srreneoasi5 cor)
,
Se'v
'ar*
O*ofuu.
slt, Comrrunl
ccrH.'n :=
in
$,,uice |,-)
b6
")"6
l-^
s-,rvltr
to
DotoB"o
cl.o
otTtrruficahcn
6e' vr(i\ /
ise
\
\-trgrl \-/
V!9
- JdF
slo
f,ppllcotion
$ewar
=
wlserver
-r-
El6
crnrcrj wv
+
ffdrc
rnldctle?d&'re
serv
ice'5
'
' ' ' '
p4togeed
o,f6\
\)
l=JB
EJB
CPrn
t)
tc
->
To Sove
receivcd
'4r'm
dorc' in l6tobose
ic'b\e:
to
So've
"'-geme-crrcd
"resul
ts i D Ddtc''kde
@
t
16 gorher
incrrio froro
96g$ase
tctg\e
lE nea
to
rndPe
crr'bPesoc''oce
Fro8't'6t''
&,'.c*rwnisrhtqtlo*&ieadvoatos\eisnot-It't:'"4*Pt'Torrnreit
t
- n
,6.1,.,1p
n,
zo-$on
co-t'sef
I -
-Th'eadsaPe
usin5
ltlr-
-
.-,
*' 3ot
&rlltt
PtDS^rarD
lo
6lngle
J..'sra'nceFlltt-.tnotu
-IhrzoJ
c6tn
lg6'a"ts
'
so-, 3r$fsJnr{
\,b,rio-b[es
oP
s*urer Pot{dYn
6rte
noi
th"eaasr^Pe
I
deP*trt' &.}
localva'Lragtt" 4
'
Gv;ce d
doX^
x L-
,/ -) muiods
a*t
'ltnal
s'Pe
\
d.)='-tt'
-16
"'"l*Ee
il"'
:
jlx6Fa/^ce
',!a;
ott.s of &'rr
rc*
IntgY,'t')
al
-T[r"ar
S".ee
lan:
ahles
u''"
rlt"'
ra/
ro
lrorr
ulo
ctss '
pbre Ubt
6"Je
in
$tru-rf''"ad^a
*th 6fu
e,
\qt
/,'i\ dh
k5,
\ry
CB\ T'a\
@4w
t"
q"rh-rtr"d
._lirvn-
6, a o.{rnvl cD"e,s
-f*
rt,s'
,-
Fbr el0jooTdld
dloi
t5 tP
Atl
6e'rvEk
prugrom
CttpllccLHdn
on
5 o{rflrach
e.9
Xl f,xome
l
ec iod
oqJ
[tr,o"l
'
Depk4crnent
[irrctol gr,uc]rrw
( uben &"r,lr
pzgrarn
DBAPP
n2
-t
'
:
hplogemeni
Dunep
> oEB -llr F
fDfl.tt. hrml
ja,ftre,j
in ck{ss parb
Drucror.1
la:.(,""t
&"vlu
pxugrorn
uss
g....qe
rhin *,
)
cl4ss es
1691y,Sava
'iar
]---
----"2
DBSIv '
ck(SJ
r&oe
: Allct)
job
: aerr
sdturb ', lboo
tbe 4
p ?ac-tn3
cdbc
c6de
i l)
\e?q
t".ag"r
Bnr,
on
!!g]4a
Se(l| te-t fO
Ddr..gase Coromurdca-flo^
amp(db
tz6t
)
QseS
T,lfl_
jdbc
Drrw., I
.J
Tuoer
;46. *u.-
'u
o
hdu_th
Jdbc
dnt(]r
Javllrc.
l-)
Odbc)+
z tncb'xrnl
Serrlet -aPi
,
4jdac t+
.&o
(oon
-l
;
,.}
, Serv
tt| io
DaraBas
e
s
jrr:
Communicolicrn :-
91133
Approaches to place
JDBC code in the servlet
program:
There are three approaches to place
JDBC code in the servlet
program
are:
Approach 1:
Step 1: create JDBC connection objectr in the init{} method.
Step 2: Use IDBC connection obiect to create other JDBC objectt and to write JDBC persistence logic in
the service(-,-)/do)kx(-,-) method.
Step 3: Close JDBC connection objectr in destroyfl. Here JDBC connection object must be taken as the
instance variable of our servlet class.
Pseudo Code:
public
class Testsrv extends Httpservlet
t
/.,
-lo6tar.ta
Vs t,bte
Connection con=null;
public
void init()
//logic
to create JDBC connection object
l
public
void service(-,-)/doXxx(,-) throws ServletException,lOException
//
logic to use JDBC connection object to create other JDBC object and to
write JDBC persistence
logic
public
void destroy()
{
...........
l//loSic
to close JDBC connection object
;J
]//class
Web Server
Browser window (b1)
Requestl
Browser window lb2l
Request2
Browser window (b3)
Request3
All three threads are using single copy oflDBC connection object.
--I;t
6-
Advantages:
All the requests coming to servlet program
will use single JDBC connection object to interact with
database software. This improves the performance.
Disadvantages:
JDBC connection object is instance variable of servlet program.
So it is not thread safe; To make it thread
safe use synchronization concepts explicitly.
Approach Z:
O
Create JDBC connection object in service(-,-)/doXxx(-,-) methodPlse JDBC connectioqpbject to
create otherJDBC objects and to write JDBC
persistence
logic in service(-,-)/doxxx(-,-) methoJ%lose
JDBC connection object service(-,-)/do)r.n<(-,-) method. Here JDBc connection object should be taken as
local variable of service(-,-)/doxxx(-,-).
Pseudo Code:
public class Testsrv extends Httpservlet
t
public
void service(-,-)/doxxx(-,-) throws ServletException,lOException
{
//create
JDBc con object
//write
JDBC persistence
logic
//close.JDBC
con object
Browser window (b1)
Browser window lb2l
Rrow<pr window lh?l
ins its own copy of connection object.
Advantages:
Here JDBC connection object is local variable of service(-,-)/doXxx(-,-) method. So it is thread safe by
default.
Disadvantage:
Every request
given
to servlet
program establishes a new connection between servlelJlroFram and
database software. This kills the
performance.lf 1000 requests are
given to serverl1000 connection
objects will be created, due to this performance will be degrade{
Approach 3:
Q
Being from servicec,-)/doXxx(-,-) method get JDBC connection object from JDBC connection
pool managed by application server/web server-QJse the JDBC connection object in service(-,-)/doXxx(-,-
)
method to create other JDBC objects to write JDBC persistence logiC9Release JDBC connection object
back to IDBC connection
pool being from service(-,-)/doXxx(-,-) methods. Here IDBC connection object is
local variable in service(-,-)/doXxx(-,-) method.
Browser window
(b1)
Browser window
(b2)
Rrnw<pr window lh?l
Requestl
Request2
Request3
Tortrc,h 6e'{ \re1l
Testsrv object
Advantages:
Servlet program
is not responsible to create, manage and destroy JDBC objects. All these
operations taken care by JDBC connection pool.
Connection object is localvariable to service(-,-)/doXxx(-,-). So it is thread safe by default.
Multiple requests coming to servlet program
communicate with database software by using
minimum number of JDBC connection objects.
Software lndustry prefers
using approach3 to add JDBC code in servlet program in large scale
web application like banking projects.
) Similarly industry prefers
using approach 1 in small scate projects (web applications).
Jar files in WEBINF/lib folder:
.
o.idbc14
jar
When standalone application uses third- party API then the third-party Apt like
ojdbcl4.jarrelated
jar
files must be added to classpath. These
jar
files will be used by
java
compiler and runtime environment during the compilation and execution of the standalone
application.
Jar files added to classpath are always visible to command prompts but not visible to
web servers/ application servers and its containers.
Standalone applications execution takes place from command prompt. Servlet program
compilation takes place from command prompt
and execution takes place the servlet container
of server.
fhread safety:
lf multiple threads are running on single object/variable simultaneously or concurrently then that
object/variable is not thread safe. To make that object/variable as thread safe allow only one thread at a
tirne on the object/variable to manipulate the data through synchronization concepts. By default our
servlet class object and its instance variable are not thread safe because our servlet program is single
in stance and multiple threads component. To make our servlet program
and its instance variables as
thread safe work with either synchronized service/doXxx (-,-) methods or synchronized blocks in
service/doXxx(-,-) methods.
_)
The oiand oton e
java
oppucor;or,a
ohc,",
os rAt
. Grnpi larldn
cnd
ede.lrr'cm
trrEe.5 p
lc!c?
-e.-
&-rrr.n
d fDr^Pf'
ti
Serl ttt pvogram
&rnprtcrgon
-lures
plc.ce 8o"
co-r"r:t'd
pmrnpt
and
rhe
x es-rt{on
+cres ptote
-lt6m Ee^J
tcf G"tc'lrg'r '
ittn
thPo
6e
Jnetrrndolonejcrvaoppllcortsnttssgtr'rrdpc':t6-r\P=-(o*rt*r'n'fl.Afls)
rhrrd
tnvrg
relerd
Ja"
-lrres
rrust
Le
eddeJ
tD
clalsirrt' '
rP
&va wb
oiptica6q4
uras
-Tr'i'd
paq Anr
in
rtg
t-'rbresot'rce
*U'"rnt
kihi
the *urd-porS
Anr Y1ol6d J{o
Pites
rn''st
!e adolea
to clc'ssF
rl'
aod must
olro
actdect lb
tbe
u)EB-r^rF/ 1i6
-Sra*
o(
ti!'bot'p\iar'ton
*
&qhlttt*il
&n*'o[svd.
E-s:-
1p *,g &!''/k,
pTo6'oms
o?
xnre
cotbc.r'nlrcaltdt
ures oraoelhin
D$uer(
rhtm
lbs otdkl+
'd*
$te shdla
be
c'dded
to cLAssPArl+
anl deo
tt a"tded
ro
Ura-tr.rr/
trl
-hrdu qr
6hon
a$ove
'
ft, t6e
Javac
roo
I
crlpt"e Scerprio
rhe iar
-Btes
f0
recodtuz
the
A'd Pc.ntX
a
pr
added
to
drrt;'E
p cb.lsAa4
u,ill
5e
trstd b3
rbe
&mP;loflo"
at &n"tuPrDyary
$e
jar
ft1gg
orclded lo
*.1 uxe A 6'^WH
6p6-tu./tiu
-B'*"
uitl
5e
ureJ67
S"UcC"^rc:n"
Hra
d-nn
tl',e
Pxdcu'Nn
lv-tr*'
4
Sr*t*
Sa.,rce Code
oP tre
abve
o+p]'/Ca$cm
1'
l/
inp.t '
bt-
t
l%tn
0-Ll-ic'01
=''dh'tr)
'
rnefnd="
p6L"
>
zbz
Fsx't
Pr.ilP
ltlug.fl{
zlaz
/irr1ut
lgpe
='
lxi
o
narne
=t'
6"t'o
'
>
r6't
>
lin1u 1'4a =''6ulxnit'
\6lac
=u
SerbneDerc'i1
g' >
zl?o\r'>
Sr-it"tt6
-io
wu6r;te
//D05tv'
jc.va
(Sby"s
$""r.r
ro
DB slto Commurucqllo'a
C$ln?
o+1.,4od, !-)
im|irt
javar
'6ew
l]- ' {
)
imoJYt- ,Y,v
al, ' fJ.'N
le*
'
htfP '
re
'
irnport
jctvct'iO,
* )
impc.'rr
java,Sg,r
.xi
\--'/
Frblic
closs DBSrv
errcnds 1j4&nl+
j
{
,..-
Gone-lt
or Grn
: rXrl I
)
.
\-_/
Rem*a5wrnenr
ps
={x{d
;
Public
v6id i,,irt
)
J-
L
hg
{ . r,:,,p^r
il
**
idlc
con
i"bi
usng
*o"u
'l*
-
..
\-,
61655'QrName
('orc'cre'3auc'
d"rrucr
'Ordf]il)'i({
J'
\-',
c6n
=
D-r,\,&flonc.6err
.
$etGnn*s*(",id1.,
olcile
"th;n
:@locctlbosl
:.161-l
:oltt
r'6rott""tloer"
);
/l
er@E
PreP'eAralenent
o\e&
epfu
[4 =
con'
pcpaw5]-reme
"+
("
sde* * F,o-
e*'np u1"x
e-pt'o
=
?
"
)
;
3lrt"l
Co+c-r.(Erwtr"
e)
I
e,P,t,rt8vnmro.e():
!
\--l
^,r
Jl/;nr( )
_
pubuc
\13id aoGrr(H*r.tvre*Ryest
*t, HWe&^,.rkp",.
*r)*^**
utt":
{
ll
g**"t
Qrrrn6s
\--l
9,*l^lr,n-,
ptr=re5'sethJritr(t;
\'-',
,a
.
*r
G"xrr.+l
p.
1'rt^til,r.,
r
')
;
F$
(.-
Lfr
-
l*a
{.,*dn*
,L',
'r'
iru no= I'*e,,,r.ptsel.*
("t1,'3e*Po'o-ttcr
("b'eno )l
."
/Jrurlc bl.
c"ae
fq
Dorob,se
inre,oete'
t
:
ll
ge+
Volr.e
to
lte'rg
pucrrncKr/
pS ,
setlor ( f, no
) ;
//e".cu-r"
# 1"*l
Rusu,,.5+
16 : ps .
erccrrre
$ueq
(
)
]
/l Ptocess
fie
pzsurtSer
6W$(s',,^rtt)
f
ptD. priotl n
(t'
F.nnloyee
r,o
t'
+ rs, ge*fn i
(
e
)
)
;
Pul'pr;nt
lo
(" Enneloyee Dcdne
"
+ls'grSr'rng
(r))
,'
pr' prinllo
f
'
emeloyee
Iob,, +rs
.
gerS}",rg (a))
;
Ra'pnnfln['F-ployee
*rs.gu}.,,rgt*>),
FE.
p''orto
(' e-pb4.
-|hoD".r.e" -rvs.
Jetftr. Cal)
"
R
r.P'in+ln
('
p,rnployee
Sar"q "
+rs
.
ge*lrng (e
)J..
po prinr
ln
l'
Emelote
Co--" +"'"6.
flerInJ
(")
);
frrr.finrln
( f."pioyg.
lV,mo
"
-rrs.g+rr4
[r))
,
3n,F
ff
close
Desrrt3:r
ohie.t
LdLU
$dt.Lt"t'
(!a*'
@ -
Jlltt
p,,
ili;fJ?fi:li^"o
h"'r
=l'inrur'btvnr'>1"'i'
'-
to>"
)i
Ca"rt($altr.ccatc'n
ge)
{
5g'Prr*6]*"r-T"'.*t);
3
]lluGuc'-l
Fdr\ic
voie aobst
IUn6*terk11,.tr
'?,
]1m$ovtt*pqttrc
*")
*'*"
s.ot&oE
,3
'
doG'o
[
"q'""t);
f
LI9
t
lP(ts1
=t*.,11;
? ro
ouoi.t NclilPolnici
e{q'1da^
'
,
Pt'ctose
()
I J
d
.-
c?ltth CF,rtePHc'n
e)
{ e'
;:r;nr6uo'r-rr'ce[)l ]
trq
t"
iP
(con
\
=nur
r
)
ftrn.ctoset);
l
caM[aaPHon
e1
I
e'
P"rrr*5"nr:IraceL)? f
J
/t*r*sc:;
J/aass
l>
javac
DB6w.javq
g
-in*
Mat e J-rJ.,c tba+
o&rcI+;lar
Arc
is rn
plaoe
in
NEB-aNF
'Pl'o,l-c'o\
t rkmr
\
p61p p
NorE';-
\rrEBl!F \
(la$r()>
liu ra.,r
i/rrcO.r-
t
Ztltb
-oPP >
4 3rv
tcl )
z6ef
vt(}
-Dome
t
abc
.. lg-t'
t
Z6et\,to-ch55
t
D86*
zls-c>
@
zled-o
.
_
\
onono4
6* *_
Ll61nvl&>
*
't<"'h"d<d
<6Q1utU
-tr:.o-pdo' >
/&n\tVI
'-noJfrl
e > a$e
z-18-o >
ltIJ-\-
Potlo(n
> Jba'r
t
altr-P
>
zl*t
'ru
-
rrqping
>
<@etLon>e
-
(,te
-ll't >
z**qu
z*ti-e-?tte >
ioprrf
.htrnt
z/o,eLa-.e-
pite
>
Zl@cnams
-kte
-ti6l-
>
tlm-a1'p2
5t&'{
I foncet- .tarvcrr
;
-
Rq4est
tt't :*
l,ttp:
i/
locorhotl;ro"o
I
Otloo/
-)
I,n
lonfar S".rLc4 the
grxlv llbr&{U
Sde'v
i
s
iP tt*.ttiPle
uvcbdp1't!
G$6oS
lostrad
o?
p loci
ng
,ttror
erl6}^J urbc.{
pu c4n
dn
tlharS Patde,r.
Azptoqeed ln A Se'rved oYe
3rd
pavrg
&P!
rcldKd
jo.l
i
t 1,5 wcormoy'
dPd
b Plot
\mesn
r'r
\t','l
&tae"r
atl
dan ar"f
)
..
'r&n"a^.lc4l
lYvuef,J'(
Zromcat-i,ome
\tib
fotdt,i
--e }n crr.blo8i
c
st^,rrd fhe
g}^a
\ib.Yoyy
.PoU er iS
Ltublogi c
-h.*e>\ mr.tdl!a\"e
\
ur,r
- VvoS.rtt\
aoc,'"s\
edorna) n
-
rarn >
(6?e0i
H . to crrf dotmcq n
)
fur.cbloqic -
horfff 7
\"rn
r cfel
elrr'w
\
fCrrn
cm
{.o
ctU dt"tntins)
Tn C:r\crss
$is\ the
gt"vea ti b^YaYU
Z6tcr$fish -haq.rg>
\ hpC"*
\
&m'oun*
\
rdar'cLln -no'n1)\
Ub
\thi
%*'
Cspeu0r.
to cn^e &rmdn
)
tCrtLoorFrrh
-horne
>
F\lrteri
trX!
a4pr;cr'h{carts
dt,d/-l"fl'a^+'
0
,M
rl"e &JebYe'dtrt-
pYDgrtlrni
o{ f,o.tJ"'
dro#'tc"}trn
ute4
irdprvq
M!
gl261e'5
crrl iv*utcruel
rLe4
t{'" &"tttr
Ct^+tw'e*
Sea'c]^el
.*L
thu. fn rl,t- &uu,,'1"'3
ptcrces
ar^d Sut'tY
.o-dt' bA
[co**oe
{-
Ler{')^g
JAIL
YeAfi-qJnS:-
O
S
0'rnt"-"'e^*
"1rr"ls
dowlrPmt*
and
the'1
hLe-s !n
sernr'{
libYaYU
&tru,'l
is
rurl-
0jhite
rnoui"Lg
$L
tl-f.lD
a4pbeal"lczn
So-n;e'/
the
Jar
fite'
shsrtd
be rnove
d
olser/,4
-ro'e\
se'w,\
l'ib
$ra*
i:
tt lro lt"
n
&siog SamQ
dt
g*y Ap! tbcin
Bre
is nEB-aNr/rib
%.a* 4
cnl g cmce
in
the 9erff/i
$."rrn
tt'"
gJ>\E
J
to dnofr'gN
Sery,a\ .'
thnL
ab"'f Clrr'-c,''r-
,.exj{
lrorl"gr lort"l
)
uxl"aahc"*+wt
uLo"t o&u
xcngru?4 lherrn
0
rn uEB-rNF
I
c\ct$t
ra sn rhe
yrv
h,el
\-j
C0r,\
YJLI ath
ttes-fl"rlu
u
0',&'rLo4t"3
flaide
&
plarcad
in
$u-
4
6+nlica4r.^
8u*
.4
Axn"u.
\,
fOe
sl,
{.l Jcru4
Env
iranrnln/-
t'^
tc"*P@te
utrh
jau )'a+
)
kilJtt
-tn
9,
.tt4
Ur-l-
c"ffrus
)o
t\ged;Pre
itle 'cottne
nY
cgt
Q
t^
*{"
*n'ff
lqbm{)
H5 Ecr;pse ;-
19{t
i
\Jrrslon
i
Vsndnr', 6L\i
pse
t3
CltmTnt^tlc'l
S
lkl
Giucl krmrntr
c's
.[ll
dPr,:nlood
: l'Jl"lt'r'
P*
d".t
q
J hetP
"'
n.,yEai?i(
--
Ec'tiPse
tBuilt-ih
lH;'::*
. .^."A hec-hno)ogrc
)
a
du
alrcc
t-t
oor
xtc(nol SQ/YU{I(
uttfi 'f
ut)o
a+llw"Rq-
Svuosr oin
doc.J
:Ill?l CPrr.^page)
Dunam
ic C,'e-g'frLqe
Veri
d
ereder*r
ala
Cc")
inuatcl cYdttdtar-i
.
Ui6rn&me
;
i
rcrJ'q
--l
QtL!\uN
d
:
-Log;n
s-v
[pE{)
rq4
I
Ptocedr,te Lo
develop c{k ve G.xk'tpLla"l
&t
Q
usinS
llyEcripse E.x
!*p-t:- creolr
odf.lBo$e
tab)
e
in oraclc-
--'
6E?$'"-
Deside tbe sar-
guzrrtr
b
6e urccl
t
.),
69r-2
Sete.r coL(ol C
x
)
&o- use'1lis
F ohn
uoo-e
=
'lqgc^'
and Rld =
Taru
J
\--
r
to"tt t* )
(uo"
"d
crcde n
ri e ncg
)
x
SorL>
3ele4
6oc,*1*1
4o- use..lt6t
to
!,c-e una{m
e
=trtga'
aod
*6='tooir'l
Strp -')l1 l-
lqunch rlgL.rlPse
- roE
bt dluosing
i]5 latotk
sPr^t e S\Aer
L,
1r1n6
glc,ce
ul)'e'n
pn'j<'t<
c"'ttte
l1lEdiPse rntnU
---
---------->
fub6cl
iplicrn
1n Fc,.rncLHc.n
----'-4
&trrni+ !.r.$ {oluQ tb
lr.dtf
rr
.
-
6Kf -ts:-
(-rto.h(
urclc
p(Djcrt in
}1
UEcliPse
lOE
coun;(
*)
(ibvciid (7e.t{n-hbL3J
0
LdgiY'AP? '-------,
Puir!
'-
stq,-l:-
Ara
oxdbc\+'Jal $re
to
be hbtatits
oP
r{t" 0-ju4
'
pilhJ
c\iLK 0n
Fru.id
-=-+
Bulld
Forl^,
-
ACd e{Ernar {tghe
itt3
------
Lroo5l
*q, -g
;-
Add
ond
&'Et-.F Ojdbe 14
.lqt
tbe
ft'Dj<4 J*^ paqe
+o
9Lq
tocbvu-ol J-'ta.
'p
pig\r
di4
on rocbru o t
-j
N{ll)
------+ }1r rn
I ------------,
.F
le n
c.*
e
lN'|ili;-il
----
arr
il
&'m'ht'n
t
t'li
<ft..,.n otnon = {91!
nerho d
=
fost
>
I
u1l fcfF(lh
{
loqtn$v
U$1nome : lin
puj
tgpe --
fxt
T6rrrt
--
"
+i' l>
thi
I 7
ft^rsrrJod
',
4t
lLLt
igPe
=
"
Kxr'
z;nPd
bPe
="su'b-it"
/l?otn,>
(ublic
J
L
ll
3^c'"t
t-tc|rne -" \,r" I - Lb-t
I >
\lcct(e -
"5b-6E
it
-
/>
6Kf -S :-
Add rhe
&xr le-;
frrogr
am
-]o
rhe
frDjer]
Qighr
crici.
rrn s.tc furd."
---',
acra.-=:'
seryvlel
--+
Ithrrroi
E'g.-rl-\
"=-ta
ffifr;
:
-----+
6eoer I
c4
Jrraplo
uat t
/Ju.r
1
t $'it
).'
//
Loitns'v'
javc'
(s.tt'r
to
DB
sl"o
J
"rcr
ocrt"c-
LtsinS
ff1gro
eoln e
)
''
f
enr.r
+sbiP
t O
9{+
Pac}',{
e
cnxt+sl'iPl
+ i
)
-,)
i ft,+
o8t
lmPort$
_.)
c\trss lj'gi
n 5rv exltindg
l'lii?8'"'v
lgt
pLlb\i
c
',16i
c{
docau [-
'
-) $ror'rs
sE'
roE
3m% P(Dd
=
rgt!st
' xe'P*u''*'
c
t" ):
St-tH
nX I
lt
0{d
=
rts
Ponse
'
3u
[nl' lR'r
(
)
I
Con,*nn
on
clags
.
.Q,tNcl.ne
f
'orc.c.le
.
idbc. &*r
.
f-rl.
D"r.
"):
6, =
llu*
t1a,nc{ler
fle*Gnnerr
a ('iat. i cnaore : t}*n
l
@
loca4h,,s+
""
lszt :tri.,-,
t'scrrl',"n1.-'):
/f
c".r,t
il6. y-ya't<d
St"*t'nt"s
o61u+
p.p^,et
Sr.+e-t'*
fs
--
c?,yr
-
Pr*f-*
Cp+.^t^"
f
"srt**
count
[*) kt-
&r& t,'r
f
\-r
uname
=
|
anl
,^a =
l. ''
)
:
Pttt
rl^t
a t<t'
etsnie'
suGr*.nrlir'.
(
"te*,/
nr-r'
)
:
ff
,i"1" JLw
cae
Il
,*--'t
&'r
ohie'r
usrn1 e'ade tf'r"
&r"et
I
ll
s" f-- lata as
+L"
"ltl1 f&ravn
Votrrte4
ps.ser5nr"g
(
e,nra);
ll
eno'*e
*e
$,wn
Qer..rrSer
ts
;
P!'
u'e!,,-!'
S"e" [)
j
fl
y.ce
ss +Ie
P.*w
ixl
tsulh -- O )
iP
(rs'ne*ttr
) ,.
n'gsu11
=
rS
'
EaJ-&r
Cl) ;
'-
t'
:il;i'-
'**
colc'r
--ired
s:'ze--17
invo$ei
cntde''r+<"$ 4id*z'
else
r
-
r/aliel
6'ado.}}tnlt
AN-*r",
'!
go ffl"*lnf'r-?-*
6'o1or
=red
Stze--L
> Voli'
fl
tru'"
;d
bc oget*<
Ts. clDt L)
;
'
F!
tloseL
)
)
66n
'
clo
'eL
)
]
l llu.r
d
-
Tt"*T_''
'
e'
P'-tr\t"u'-lrace
(
l;
L
J
. t,
J //
e"trer
t
,
-)
pwbtic
Voie
doPor
t-'
-)
tl"obs
SE'
&oE
Ji
"
doGtt*
frc1**tl
rerP"-ra)
;
u..ll>l-\'
-
$.p -m
:
&,.rr
pi
grr.'e ile ex
Rryrol
brncai
So'iror
tlr'tl
tU
Edi n
tt {0 u
N,rn d-oo
----------a pre Per"nol
-+MSLcltf
(e
--'
s( fJ.!
-
bt"cot
--
-+ otfl9'*t]b-t norrl
tY r;-
Pu.n
P'6
t'tcl'ct'
rl"a
trmier-l
crn
F-iatt
---
'
Q,,rv.,L
>
rncEcrip
tt t$n'Jt^
clpPlac
c'^I7on
-t
lrorxo-l
6" x
-+--
ov.
\--l
\7
\-/
6we"-
Otx'n
-----+IgPL
tro@J
&l
Ltrl:
UrErne;
l@l
txrd
:
@-)
til--fl
7
y6ued
ffnnot
*lcns
i-
0 Docurnentu-r,on
AnnotaHans
Use knl
toh:
te
dcrr!4n3
rDK;-
use l"trr
lo grrr,fc*<
S;nce .,raP t'0.
pro.Jlcrrnynin
S
Anrpf Cr$
orrS
"
\'\era Ao
tr.^.
to &nP;
gare
rbe
tol
ro
)zorr
ffeso{-rr
ap 3
onA
lo pertftt mr
(t
crc{ e
X)
Doro
Crbocr\ Det-a \s cc
ted os
Xrnl $196
SoPar
,r," bort
trr. d
trletadarc.
Offrcrltms.
Annorc'hon6
cFre $e
Jar,a 6ka-ttrrf.nrs
fu g*.from
meladafra
Qrraltorf
&ntaY
O P Annotr.Ho.\
", -
clnP't
Pccfamg:VAle
-
- --)
@
Znnrotanon
-
mnne > (to**t
=
''lall r
-The
hbo
\rts
ctl Anmrafions
',-
o\r,r.h a'..
tt)
ond
.{e,f/ll@s
Ultcl
rnlc Xrni ?ites
-/
)
)t tr
Dwumenlakun
Aoonve*a-hoo
&-vedS
c'f
lava
1,51
the
Srr"jer-t
D)ndot:
CG,rt
&"nr"t
rn
r{'e
Fo-ol5"t)
b*n:ll
tocotl'"st
"
t-o"-o
f
Uxtnlnr
/
-{--'*t
"--a flir'q
ftn-
@tn*m.-.1
drese
c,,te f\et'v
in iava
lo/ru
/
ro rz
Servlet 3.0 Annotat;ons
By Shing Wai Cha n on Dec 02,2008
The JSR 3 I 5: .iava Se'vlet 3.0 Sojgi&:Aliel expert group is in the process of making Public Review available. You
can look at Rajiv's bioe for more details. The reference implementation is available in GlassFish v3 nightly build. In
Servlet 3.0, for ease of development, several new annotations are defined. These annotations are resided in the
package javax-servlet.annotation.
They are intended to provide meta data onty. In other words, one still need to
extend the corresponding class or implement the corresponding interface.
Now, one can have Servlet, Filter and Servletcontextlistener in a war file without web. xm1. In this blog, I will
discuss the follorving annotations:
.
@Webservlet
.
@ServletFilter
o
@WebServletcontextlistener
Servlet Annotation (
@WebServlet )
In JSR 315, one can specify the servlet meta data by using eWebServ.Let. For iustance,
GViebSe rv.let
(
nane:r'mytest'!
/
url Pa tt erns:
{
"./myur]" },
.initParams={ SlnitParam
(name:"n1
",
value= "v2 " )
pub.lic
class Testservlet extends
l
value:"v1"
), @fnitParan(name="n2",
l)
j
avax. servlet . ht tp . Httpservlet
{
In this example, the class Testservlet is a servlet as it extends Httpservl-et. The GWebServlet provides
the follorving meta trata:
the name ofthe servlet, mytest, corresponds to <servlet-name>
under <servlet > in web. xm1
the url pattem of the servlet, /myurl, conesponds to <ur1-pattern>
under <servlet-mapping>
in web. xm t
initialization parameters of the servlet, n1=v1, n2=v2, corresponds to <init-paran>
under
<servlet>
<init-param>
<param-name>n
I <param-name>
<param-value>v
I
</param-value>
</init-param>
<init-param>
<param-name>n2<param-name>
<param-value>v2</param-value)
ln
web. xm1
</init-param>
Note thaf in this case, l? Tn i t
pa
ram is used to specifo the name/value pairs.
Senlet !'ilter Annotation (
@)ServletFllter )
One can speci! the servlct filtcr meta data by using e servlet Fi lt er. For insl.a ce,
GServletFi
Lte
j:
{ ur.} Patterns={
tr
/nyur}'i i'
initPa!ams=i
I fnilparam
(iame:"ne sE "
'
value:"Iny
filte-r") ))
nrr].''] ic class TestFilter
implenents
javax'servlet'Filter
{
p,]uii. .'tia init
(F.ilterconfig
filterconfig)
throws Ser"letExc"ption
{
)
publ i c
FilterChain
vo
j,d
cloFilter
(ServletRequest
req'
chain)
throws
IoExceptiorr'
servletResponse
res
'
S ervl etExcept
i on {
)
public
l
One can speciry the serviet
instance,
o"ij
t"
void
destroy
(
)
InthisexamPle,theclassTestFilterisaservletfilterasitimplementsFiLter.TheGservleiFilter
provides the following meta data:
the url pattem ofthe filter applied' /myurl
iri ui*i""
parameter oi'th" filt"t, mesg=ny
.f
liter' corresponds
<f ilter:-'
rn
Not" ttut io tf,it
"^e,
G Init Param is used to specify the name/value
pairs'
Servlet Context
Listener Annotation
(
@WebServletContextListenr
)
content listener met data by using Swebse
rvletcontextlistener '
For
to
<init-param>
under
. v;eb . xml
implements
GWebServletcontextListener
h:1L\1i. class
Tes tse rv lelcont ext ti s t ene r
j
avai. servlei - servLetcontextLi
stener
{
{
woid context
IniLial ized
(
ServletcontextEvent
contextDest
royed
(
S e rvle t cont ext Event
sce )
sce )
)
public
l
void
In this exanple,
the class
listener
as
it
TestServl,et
ContextLi
stener
is a servlet
irnplements
ServletcontextListener '
p.ooidu" r:he meta data
that this rs a
war file.
context
The
servfet
gWebServletContext Lis tener
context
Iistener in a given
+
-->,
'---r inhOdoce d
fi"-
---) cI1
jova lcchnoto8ies
OnnotcrHon
3 .
jak
I's
tsf
are dgL6
tope
i
tc.sed
o", idx
l'5
?;u5
SuPPt+ f,ta
Example
Docr^enrubn
Anrrol-zcHanS
@5",
@arrrhor @
vo"tion
@
;roo-
and
elc.
.
@Over"rde
@Fot
rBoP.
@il
@
crru5e"
v )er ond
erc.'
Xrnl ftte'b bosed
yesocace
8od
prftrr-ance,
(xmtporsora are
Hdvt
t,loght
elos. so,
th,j Bi"
bad
pc"fo'r''o'rce)
'
Anrpra*io
BIve
Bai fre"t5itrq oF nudi&'c*rcm
becn,lse
*r-5
colrr
5p
prirkn
conPi6u'ranons Bives
6ood
Ptexrbilig
ge rdd;Pic&htdn
anJ
*
ctireorl5
in .Jc(\,,a
f-.re. But
6ires
6ood
g,ktrcance
'
^
h
-^t^"^-
'r--''
.) based
crn
jav
t's
+
fltuts
t+wrt fvt
-2
/\[ fie
Jiua
tahrOto6;es *nr
ave desig.eo
_
PYDgraroi
n
3
*orntaH
orc '
$a'let
J'lr
Slrtrts
2"x'
EJ83'x/
5rT
rry
?'e
+)
+hbe{r^re
a'a
+
dnd
*"^
,,,.- Xrol
tp
-+Aoooafion3arelikexYn\tc'13'andtbeAnrrotal''or''parame'tcrsdre{r|a<"(
OitTl
bc'jes'
'-
4
Ne Con oN4lU
annotcfion6 at 3
letAs .
'
O at tsoarce lerrl
(
on *re
top oF
closs
or i'r"fu"
)
(4 a.r r,eJho d leuel
I
on
the
lon rr( neiloc[
de/;':r^
'
/
Jttr-otlo"
"
)
(f
ar
ft"rd ler^el (on
rbe
bp
{ insl-amce
V<znl,"ble do,laren'^s)
--+
af
$e }ime
6p designlni
eacJ.
annohellon
its
lort
of u;tili?4Hda
e EvNl annol-a.ilon
is a Sgeoa'l
@i"te
H/.l-'
anl {re
fwame}<Y3
ors rnuhds
dedaud
;n rlrri+
n+xt
k"r'e
'
.-
-?
Evcq
anro
krtton i11,1<r h.e 09itl
be implerneltad
t1
$e
urn&r
l6tn5
[')
f.{,e.r
.
(t,ll\ !e &edgJ '
o?
anrn tatbnz
6ve
to/) C)^J-J?J
-
The
irnplarnc
nlori
on ,4
Anrofatlo"
Servie-t
5.x Srppo
t$
Arrnotollgn s ba:e"1
uth;le loo
L;nq coitb ,*.o'tle
t
3.x ,
J
i{ yogranx,t.
)s
no+
)e#riled
-Ibe
lmflnrcr* onrrohtHcts
o(
&.rvlelJ'r
l.
_.
@
!,leu6e'ura
1n;q5
[il
ter
(to
onBgn""
f
+o conff'gt te
( to co"P"'6t
".
govter
lrD0'am
)
&:outetFrler
PlDgram
)
Sqrt
ler
l-'slDert
)
)
*!^( .
Servets &a6rrtln9
Torrftf
t 'X
&la55t
5h
3'r
0rebiog
ic
11'x
Jbost
6'r
ctcrd
elc' ' '
Poc\.c$e9
o( &{v\e,t
.5'
r af i
jalax Servte*
PIC
jo.vo x
'
*-{v
te} 'btr?
Pl'
javax
'
Setv
tei '
ctnmh^
d
crn
javar
'
Serv
L-t '
descfl
Pk^
i)
Pn(e
detre det'eloP
,
deptolee
sier&"-
{t{-n:-
.5Kp
-0
:-
PkX
Ccanl"irrg
ctnrorafians
)
p\,X
.jou
cc,n
gorher
d&u,'1.nt<*]cttt
otr.Lr
geflklE'x
crnnolalldu
h
*'T
&tlaee6
deu
NEoava
Dvo
I
it-tl
awO*e
\ Saro't
oc eee \
fndex
ldrn t
'
3#
enJ
Qtelu]-"
&'{\rtq
3"x
be'xPd
kee{,
the
Torr(oi
1
Serw'r
{dt
u! e
z-1omort 1
-horne
)
\
8l-al
t Torftl
+ *:{vLl
Ad[
z-1om
catl
-horne
z
\
uu
r Servt$ -
GPi
'Jc^r
Ppare
the
dephl
eem
en* d'reOz"y
6fructct'rc
.-(
@rnt.tU.i..tt
@v{.uTn;rPo"am
(-ro con6'grrve 6eqlt8'ldtPavarrt't'r
6nd
elc..
.
-.
SorDdnb
Otlt''r
artowhara
are
&rutetaZ'l
P''6grarnln$ i-
ir*s&,ces
iJh.
Seorler
i'nogr-aming
,
responstS;lit
SD
,
uyb'x'lt
s-fle
a1t7licatlc'n
btq\
Tor"'.r.,{7'
exe
Bra
f+
r,.
i, de'sS
Pc^rh
,
4
tteAarPticot'l"n
hc"itC t{E
c.r5 vesur.Xr
pqrYct\
'
HEB-1NF
ForrnArno
A
PP
7 @lc{sies
I
J
flrllic
void doPosr ( ffi9:"ulerRerycst
re+,
C
I
!
F-__
Fcnrosrv '
jav
q
l-Pr
F--) FormSr
v
,
clds
s
EE'-
do ob6e.v
e
*rlt
il-,e* i5 no
web'xrot &te
//
:nfx* 'btm
I
lPotm
acHon
=
tutl
Narne
I Z'inpttJ
bSPe=Lc^t
narne
=
&5crDorfi e >
Lb't >
l\owr igre
=
3l,a-t
t
Valcte:Sena
>
Llk't>
// Ior
-Stv
'
iav
a
pack69e
Pr
"
irnfDl
+ j6va.io. *
;
imftn
t
javax .
6er
v let
.
,(
j
lmf0rl- jovor. grvlc+'
hftP.x i
i.mFrats
.
Jal
ol
.
servter '
orrpiah
dn
'
Web5erlle+ l
@
N*s"'utet(na,n
e
=!+',
*t9*T'
:.:. ;1"la"r
"' " /Eestrv
3
)
L-r
]qr;<r,t mmc
c{ 9-'ut
Cr
Rrblic
clc{ss Forrn5r
v QxEndS
H+q&rvler
{
p&btic !oid clooru[f+f439wletfua1Jl,5t
re1'
Hf?&rrvteteuq"T
f
ll
gen"t"t Sftin3J
res'serGnrenrQpe
I
rt'ti i'rr., r
");
I,lr'fiWYrttt
go= res'ge*lnlrrrcrt)
j
)l"caA k-
dcil--^
Sr.'n6
anac',e
=
ttl|/
' gerPator'acv
f
"trvrmr"
';
'
Ptl,w,nr
(
"
H"t,o
Fl'y:
'
+ arproe +
":
ro.lads ;;/re:"
+nett)
//
(
tose
Strea'a
fu.
cltxe (
)l
"es
'\
thtuos
56'
roE
Jota.unt'DareO)
I
rrl
l+ra bt(rw
Pqr\a
?e!J
rtt?or.os
SEr
-Til;
doGrtt
1".9,rcd1
6Ep-E,
/>
javac
-d
*.
dc.vc,
-
dElo9ee rl-,e atovt t-txbofp
lic4li
crq 'rn
Llbroclr'7-h('t''e>
\
rnrbopps &tlar
5t<P'ai
Tedr
tl'e
("jd)oPP\i'aHon
h+rf,
:
,l
lo@lhost
13050
I
FomAnooAne
I
ioe't'btrnl
A:
imple
rffnls
jar'x.
6ervler
,
&'.,rraGnP-,
(r)'
]t
is
cnued
"righrbrind o[ieoJ
to crrr
9*w
lJsr
l,,oBrarn '
Usin3 dris
ohjert ue
can
gorfrr
inPo'dfu*
CarrvenlSrvleF fogf.ro
Ar+pUcA Scttn
da* ftflf
o,nd
a"
--'-, &vl,tf&uoincr
crtois
Setvletgru6ra6 .
fu,
ohjd
uh'n
tnqci+!dcl:4E-'r
ls'ants'A on
Nhor rg
de d;PPcreo
ce d@
er"retGnF
3
dq-rtct
ond Se'vlel
Confcxt
ohi"t+
1
C3
---------r &n
rer Goff
3
ohr
%%
hlAr(N.otrPlg4-
-:\
/-'\. @rvl<tr / r*q \
G) Qftruv
iavter
G'\lt^
t ohj
di
\q-l
6
w/
@
@
$qrukl@oftg oqj :-
=--
grr st"vlel
closs
o\ie{
rb ;s one
rf{*g;r,tw
w I
Jue r-to-'
-i
&
It i5
rhe
obiect oP a on&rla{io3
Srvtt+Co.*cru't
arn
gorhcr dcrJt^
F.o-
rrre'b'rro
\ ftrg
) 0({I Seru(o
clc.6 oberr GrfJon
->
9rvlet G\r-ca
Y'e'{
&sr,rges
rh;s o
L}a-f ohan
desr.acticn
eutn} is tc.i.scd i6
411t v
Ser
ul(r pngrarn
l- L'$en
&\ 6e.r v led cbr5 ob'tc* is
)ezr'"F
-)
th; b doier
l.r
./e@'ed
lo
6arf,tr
Selv ter lnit
Fira.rrr-r.r
vaotg
4t'-
uocs
'
xrnr
B t'
ServrerGr*cxt
oUi :'
-:';::-
^ ^
^^r
'l^p
alnh4rl
TrfnroYu
cJg
&'jcbctfP
I t a,,,o
-
-)
rb
ib
&e objar oF
undertcrgirg
s*rurcl
cco-.td'e{
t-{pried
jave clas
{'eh
irnPlernerufs
jovq,t'
&rntet. 9ru,-.f.rG.*.t
lr)
.
?d'o.'1t?p' {"1'" rtaiert e*rcr u*Bn
rlcjcof
puco}Jao
is
deploYeed
CoU
$rvtet
Conrc,rncr
C1-sotc6 *us
dCid e
.
j;:;-*:;*
rftis
ohFcr
orrn
crrbc.oer,cdLridn
i5
siopped
tor)rehttcJtdJ
ctndeployeed'
l
^-*,r Frd&,'rft{6
vrl"el
--
-r
U$T
*u5 ohieir
uxw'' g1/r'"'t
6lohot
inir tn-ror''ercr<f
co*<xt
ft*
urb'xrot
ftr"' '
^rrrn
6er^x.i
a',d
ieot
r-le
01r\
flt
* &jr,,\s
obsn
unde'i!
the
urbres!\-Le
[rqrcdrs
oP
pebolpucodon
'
-'--'
uSrni
*.rs 6hiect
coe 6en
L4E^r<
lk
strtorn'9 ?oinFnd
to
*re
uebP"'soctrct
gmgrarn5
'--r
Jh.is ohj* )s
Vlstule o.d
d'(sibie in
ou 9""'tti;"
Prfrcms
( C,..re*
-'
trfb
aPPti
crrHorr '
'-_
\
n o &rver $
dcb
oruric
o-Hons O
deplot
ee ,r
io tbe 6ir
u-r}oppu
cctidE
c,-rre rlc*e u
^(unninS rrod e dntr
ry u\.t ap.plicrillcns
a't
*c"e
in
56oppd
rnode
'
cdtc'
il6'
{/_|l
Yht
I
harrrnry
&w(oQmrerr
ah.cts
Qy
&'*t aea^Io-ble
;n4t
u;a$t
-
g 5ir .
( not Len
bcz Cont<linu des
fn,tes
Ser
utq
Cern*uct Obieal-s
tohe^ {'ei
{
trx-b c.Qoircorlons
to
h tuppd
rnocle-)
.
1,-
tr.,, c\
uJdfe{v
e '{
1o
r.ocJoo.rpribfiong &r
deptogted in rl-rof
9t
r
cr:eb
c?p) icafint c.rq
$6ere ln
running
rnode
/
tlme
&tbopr"riar5cns
ate
rkta in Stoppe
ti
mode
And orhc,t
*re- urtbo.pp
liro$ o"ns
&ye
in Bsl6oded rnode .
6an go(
3;rr
rnt +$e
c""*
"p
Cr.',
**dt cr$oiloble 9w fr Co"rer.t oltF*s
I
l
n
4+
a
?r
4=+
+8 P&nnlnj utb
a?dr
ca-rl4f!. s
.-
7
------> -!6
Pelmded arb
aAgtrcarr
c'ns (ttron s 3ta6rd
onl S bii?I
)
lD suNtr Pr'',ytLft\'s
utt
#pn'
to r'l''c*
4tnt
ulirtt
zload-on
--sF.;t<4
7 an|
orl''u
$'ee
bdle*
\'
alye'-d)) *n*lbA
b[ cllen'r6 cam
\a'
Wme
l*"t"\
9*what'"
Ctfirerrit
NtaiLd-bIe)
0'v La o deploqet d
$avltrprcgrams
r419'raf'/.S
ore
ObWs
o:tt
4+d=a
uxlapbcatton
Aaft
enobLed
*nor
4
----, fu{
ek:a/-an -
s tarrr'rP >
errLbted
JLrrull-1 '
6
---i
fu ofre{ wy,esrcd
BtrroLefs'
oeri
ctr-cle the Srrooing
oQl
ecl-S
$ovret
Gn*oiterv
and
Qrn
be
d;PP<-w""r
tcth;n'tr1.luf,"l
'
ocoessed
bJ
ftrD8ar-rre/
1o
6e(v\ej PrDgr&rniog
CD O((Y
Servtet
cl ct(s
(3)
re{Aesi ohi
YesFJnse
oqj
Se-rv
tel 6n
f"'
3
S&letG,'*e't
ae
oQj
(9
t9
g
All t|,ete c}lied' urirr
be
ctared
bU
in his
&'vtt* frDsrcms
b3 crsJnS
To atess s-!n Servle.t
clctss
o{
u.6e
"*uS"
\.edt.r{
d
/
JoX*- r,-l
c0
obJ
obj
TO occsss ttgzlesl
,
T5
F"roe
Ohj 5
LrSe *
pn&m3
o?
T0 occesg 3c'wlctG"r?rg
use ihe
Pfi&m(}c1 OP
Qu)c\i
c
c\0s S
t
&tvlcef-'' )
obJ
lnit C-)
werhul
Tesi6rv
elKrds
Us
lus
mcrhods
t
,)
t
-
rerGnp;g(
I wrrrioct
fboo.,ga
to G"o-t&n"'*
(tl)
bJ
CoU
gei
-rv
j
Fblic
chss JbstSrv
exienis
HS
16'9
c
t.
'
P(rbt;c
loi d ldtt
)
{
\--2
Serder
Gnft3 t6
=
Xt'9*tttC^P+51)"
=1:-
'
"'
'
"
L gtstlt rr-rbod
o1
&notic&"Ja
dau
J
fxrl:lic
yold
doXxx(-'
-) tharx
SE' Lo l=
.,-/
o
,
t
-
Se*tetG"&6
cB
=
Bd
$-tt*
Conhg
1>'
SeonterCon8
6
cg
:
{Lblic
void init(&rutuCon
hg
.g
)
f
ttils.cg
=cX'
3
P&blic
void doXxx(-,-;tbrut':s
SE,IOE
s
L
U6e
cg
bete
J
.t
T0 Acces5
Sc,vlu
Gnre, r
o{i
."
.
Poblic
Cl0ss lestSvv
g.{lcrds
HsJ
CnS
'a
-t
PuJotlc
\roid init l;
t
Sanlu0anF{g
q= guLr,u
G,ryu;
/
g'*.e
S*toc^,.e\
d";
Serv.le*.G'nrtxt
sc
=
Cg, gaScrvr*Co*ft",l)i
//6ues
(e",,ierGo.u*r
oga
q
.--
--
-i
-
3r
Srbric
v'o\d doXrr
f-
,
a
et
frwt*Confi3
cN'
f'rrlltr .
Lrri.lt
x t
5C
=
o"
k
n
I
- )
th-rocrrS
SE,foE
g$xule+Ccn
h3
65
c6.
ger&tv
terG"rc't C
)
i
bl crse
ger&.vrerGnrentt
)
cnarl'od
(butong
3
Gn.',exlLg'("tel
Ct)
)
purti
c closs
Test?v
exlendS
l"16 I
G's
.
c
t
?cbllc
Yol
d
inj
t(
)
{
SrUq&nre*r
Sc
=
6ergrvKtG*e"tt);
NdE"- n\
t,re ccln
t
accevt
ciriftr dl*t
b
ctr ind;r"*fu '
(D
S*n. wthocts,
telP
clo44
rx't$eas
corn be coue cl ulil
crrr
ob.ld '
efl':-
-lhe
obc\a ger&'rtr
Gtg-g
L)
rrcltrs
n f,trvtcr6orx'+
or"i
//t,*
3
gr5ric
Votd
CloXxxt-'-)
*noos
3E'rbE
{
*rnt*Gx*t sc--gtt9r,'\ctG*exrt>i
[f 5'*'
cLctc'^
tr
fuvttfCork't-
l-,
,*,,.
mahod 4 Genr.,ri
c &rr'v\cr
U1L^A
.
Lrf
irofio
inkrnal$
uJes &rvi&G"Ag
oLPrr
' -
r-oitha.t
acoesr)nJ
$t^'taG"elX
arnA
g'q"';ax tr,rtft'&
ln fuLcJs*J
,
get$x\iPf(',"itxtL"l
mert'od-t '
pucdd
on $Ci
6ar$e'rs
we
AS
o
@
_j
*)
1o rtrk
the Udbc
&de oF
C&n
PosS
&tc. to
Orr &rv let
|xorarn
foro cc+E;de rtre
Sstvlef
PrD
gfarn in t-.DO
(oals
.
Forvn Dola
I
wguea
r, pc.varo
s
)
ollacpd *orn E.,d
us"r
(Fro-
ctrerr-t 6l de)
.
fi5 fnit
/Gw"t
pararn, y6.tues
col
lerrcd
.Rom
urb"xtot
(rbtr'"5 It
ptqtcttn (Fto-
scru<'r 5ide
JP ke daJ:.' to
be
lross
ed
it
.- -
lohnical
dara (rire nome,
ad.ltess,
acae
)
*r'o send
it
05
a
Fsmdhlz.
(ffr."gl,
pmSrc.m-c,
)
rP he dara
6
be
portea is
Yarn
cot darz. ( tlr'e
idbc
clnue'i
ct&rs'
(r{
li db
u&'n'ire'
?cd
ond etc...)
rtr^ &nd it 06 inicl
cu*<*+ [.rarn
vdturos
(o-"tl.
p'iXt"rT v)
6ew ltt
prog'rcrrT c6
Pte*iute
coi"
tu
rocliq
don't
Lcd
tode
rw.neto.(t,
db us,narne
,db
(b.tt("o/d)
J*nX
in
S-t",-P-r"o-
Ie i5 veoomtnded to
Sdher
*I{e
dcfoiLS
vc&!a
b
**,
*'&*,.rG,F,
oojoj
.
}en,
rct
inil
pcryc.melc"(s aw speci
p,'c l'o odn
6e'rv
tef
[trD
gYorTt '
E\tL| srvlct
init
pdc{crrneJc{
cbntrrtfis
one
name
a.'e
\ojr-'Le [u*rdehnta
)
o"
-
Frrsr
nq dre
catn1+Yrt'tt"tt
Serv
ttf
inir
parapc/-crg
shourd
be
epea
h"
I
jn
.,lb'xrot
f"
'
'"
"
D
"*b'x'-t
Ht<
f,dbc SroPd"e-r
'tr.lIn
(P
flcx;ute
coleto
t*&U
'"k*
apprrft*icn
@
oF
rt .
N*^
qlab' xml f;re
cto Sd'tai
irut
ptawf-'
fO
vw.l"e
t+tL JZ*c
C&AL
+
3ewLc.ts fvtontov"l
As
[&2c
no's;
6a
-65,
oP
dUsrv
pioglarr, Iotdrnl
yaUc
lrDf&/rl
.
,-&
moctrfi c ct-ttn'r
,fdbc
1rrD1r
h-s
( grwr clcr-ss
--_--a
L---,
t.,L'l
co.r dnft
OP
Srvtcr Prryram.
?or itnr.trr.tr Ddfp
line 366 -
5g o
j-
inir [nrar<rc,
S
toocheivt the Pie"r ui
ti 11
Pec.dlq s.vrc+ -ini
t
trlycrl{dFtl
DSAP P
Qt+rest
ctrr
I
bttp;f1
ltrothoE
t : l4'oJocl{t
i
ngtt'
ttr*t
dRI=--------,
DBsw '
javci
l--'
DBsrv
'cto-rs
l--)
oJdbcl+1ia1
40+- +10'.-
rro.t
^"s
&rorn
r'Jeb
'xmt h'tc '
,
g"i
Nba,t
i6 rh d;?Putnce betttrzn
fel&ett
parc(Yn s
'-y 61irr
iloe Frssed
bX
EDd
user from
ctlent
6ide.
gfvt& fT
Dl'rarn
Yqrlrs
I
p(}Jarrffi
grulC't-
and ;ni f
flirarogl%)
se'rvleb inil Par'{m
5
----, urjrr
5e
PcLss
d brJ prugramel
p6-
Xtv
<l'
,1d e
-----t
Gooa
&x FcdsJng
rcohnicr
dcttt'
to &""t9
ftrugrccm '
?) Snu
rt Pt6tat"t
ye&d6 1-bot Yaluet
Ust"3
Se^vr<rConf-t3
odl<'r
'nttl$olt
bse
rlro ra
----+ Obe
btt
PC('(Om
Cajri
.j
.-
of'nehs o[ *ad.;n5
g*tt**'P*..*.,lot^.rP'*
d'n
tt
Pt
tu'
--o
$rvrcr
po6mm
fiad s tbase
valeles
Uang
Rqirert oqiert
Srre,[-ic
ro
s*
4..-
Pa,.r-
One
reofls
h
[&ramtK'{
Ccom
haLcc
Vc,lseS
ond U)(
Cr\m
wad
'
iru t
(r).
Vauq
Dl FPe'ren
t
$eo.f+"
b
e@6
$tder PrDgTaYn
'
&u.,'
l,orl putNele
vabrl
read 66rt
0
bt usl.U
yflntPamrnetcr
C-
) me-rio<l
$r,,,rG,neg
.g
=
g*g*'t*G'fle()l
f
oottt
ire
Q"uretCo"frS
od
Snrn$
er: cS.66GitParar.ercr
f"Jut'stn")'
Shi
ng s" --
c$'
geffotPoto-
c'tc"["aur'a'"
)
;
'.-
Io
rtil,5
hf"*f
tl:c
mcrsf iill
tq
d
usin3
gerT-rPc.lo-uctNc'tcs[
J
tr*",
pnc(me =
(sn''r)e'ne*r[\ernrn,
();
//3'*'
init FJraF
nai'vl''
Srrr,''x
Pv&l'
=
",
*i'utPa,otertr(p"o^*)l
lltiuu
r'r*r
parrat V4l4r-
PC!'f
am name
p;'ubod
pr*-."or.,., e=
cA'
getl'.';tB
...''et.,rNla'.e
s(
)'
hh;re'
has flo'eE
le"enrs
C)
prl.prinrtn
f?*"nr*
"
'!1Pwll
o
5
/g,ws
ou
tr init
[tuatn
!d,'4)
"'---
gr,
ftrirulh
(".bt
', e{ obi
ect
-t
Sttr u.:ing
SrvlaGn$!
ohjtr
Srvter Ccnte*.y
lew
rctG n
Pa g o bjerJ 6dll gjc I
.Ass
c )
on
rtat
ob&t
clars naync
"
f$p39t
"s
lCt)
;
rc dan
\.noo
ob&f
nam-'
og Oar
cctrrent
Seuttt
c-lor-'
ule
*r{,rn
in aXJ'5 snutt} frrogmm
of trcboppucar{cl-ntx
t'*ln{
ow.
+)
in
ou
rite c{bresoL(rce
prqirarnGoP
u*.'""f'fO*ttt'
zlP-\>
E8i
O
Jn hrrb.xrn\
Fre
of-
"
D6nep a+pta,tlcm
zuJ$-r,'lP
>
f
<Cc,ri'<^l
-
fllctro
>
\
a**m
-narne
> dvive'
\
,Crl*rn -
vo-ltr-
e >
Suo.
jdbc
)d,-,,
r
Amk^l
pu'(yydij[
eCtttt"
t - Po]G
\^n >
anJ
gltsz
\
tt-n>
ct"t I
'
iP-n
>
aryE
visible I
4-v
>
idh:odbc
:
(ncrds n
h
olt
sl,Y,Jr*
I
aan'
u
lrr"y^j 4
1
lconlat- f&{^r>
th *l^nttt^
z+-n>
duaui
zlf-h>
|
*-r, gor+ z/p-ri >
I zlcp,
I
|
< C.nru t
- f)&rom
>
I
a.n
'
dbptod
4p-n
,
\
,
/Qtv>
ttge, z-ltr-v >
Ll
c-t
7
dJtivl* :
zS-n >
6r"Lc
215-n
>
.lP-n
t
,
odbc' trdbc0dbcDviwr
tlP-v >
(noth;ng
h* logicra nome
6$
gervt* pYDBram
Ai!'en
io
g6<b'xmr
h
rt
)
'
I'/1
e{'/retcr^\ ohie* .orre/lqSi
cal oame +cS.!g!t@\q.O
.-'
Pro'rriottn (
'2u.
>
cror.or
,()
r
6lrrrlte
szrvtc prDgTclms
og o
c,)ebolpr
iccioq c,ne faoklr6
tD use
Seroe
:",
@'"*-
ttren
instoo-d oF
corldnS
them in eutt
&vro
GnA6 c"rrrrlcrn
ir
ts
yr{ocrpn
ded t0
LdYiK
tt'em
d5
or',n
in ox-b.xmt
4,a &s
Gr*
t pa,,r-
vcou{l , so+p},
uje
ccnn
veed
and
&mler
t
f;nrarotrcr5
cr.re
Uisl
ble
(5-c>
DBSrv 4
sarlt+ -4c.w
7
zl@d-dn-
6kx'rt(+ s 1 lt-o-s
2
zlcoutct >
lkI{vl$'ftT,llPlr.X
>
Zs-n > a.h c z
lS'
n,
zq+
>
/dh.xt
../ tr_lt
>
zl
S-m>
ZSttvILt
>
/<-t>h,LzLl!_n>
z
s^.>
feybsy,
.
Js_t
>
z-l
y-r-ttt
>
ls
_n
>
/-,(
*P
>
I rctrwt
z-)
g-
n
s
4 &-r',>
lwltene - &tc
*it"r-
-t
LLu<ttemc _&,
lc
, lhpuJ,hfr,,l .l,
_
?,
4u-f-t>
f
ocb-+t >
-)
in
brrL)
o.P
D8s'vlry
injtc )
c{Lets
to
gr^)wcm'+L&r
obj
---
"orQ,*u&*r(
))
J
$,u,r'G,^**
gL=
fleX'
1lt
"t
Ct^rc^l-
larr,xo
Valwu
-
lrOtic
vold
{
tn)
I
I
ll$d
\--,
*'a
!1
$\
Sq --
Sc- gglnrYa""n"ol<t
S>
=
V.
?eftr
rP"ttar',.lsr
F)
Sz
--sc'
ffrDJl
P"'\^t^-jq
n
S4-
--
g<
'
4l:tJ-t'14l/aa-otvoH'"t
ll**
Jdx.
ce'
6bJ
closs.&{N^^e
fsr)
)
[
"aa'"'"
);
t'*");
1"
Atuw" )t
6
&r.ar) 1
f<r,t.,
<,n
)
)
d+'+-
6en=
D6uut{c,nagtT " XetCannerrlvn
I
C.**tt
m-*-,l
51-'-'-leT"t'"t*
Irs
-- c-.
p,o**S*o-6
("
saa-t * &"-
emP ctrll/ft
Lr,'Pno=
?
"
)]
J
/tnu
Cu)
J
L
l
(etrqt^
.1
Jf
-Thcn
hte
"-vi*Sn,t.,T**,,
)
1 /l;n;*
t
I
t)
rt.ogfl{ms
rmtnole
9,rvte-rt
ofl &
itiS
tcarnondcd
n
t^
nl*'t
\lslbltlr'J
^
Ltrba4put,,fio'1
a.,z
looldl
to
*l&Ve
tAe,n o3 Conle* f:rltm
as shrPn
aI",'Q
'
.r.
9"'r.r
jaac
arttl*'11"u
Uoillr'{i
in
tl.x-b'xml
Yn3"'xX6n Yfl
U"A
yl;l
^*DW
P
aattluunPts
^q
-y4(,o+
r#ayu7-al
-P*
*la\
'
5v-nlwa2
P
-
+,,r,ro
D!'k8W
-
St-r{P
.f\e
sf'4,r,'ol!'6)
}>nqq,d"fn'T
+
fll
tnsr-a+-l
,p
+r9
'+
re,rrur
/razWf
da)
?aoO
F@i
Q^1Srrr+"t
1*1Jeav,r/5
Fwp
naV-wrtJz>i'^4
,Tnu
a+ sdv
ZxVl
?t0
vsuf
v.t
t4
wq$lo
p)"t""?
->)!o,STct
Jez
E
rx'5u
-ty -rtv
)ograp W-
'"7
-t"oral"al
>>tr'uyflfl
&
V*VA.
itayl
T,tt
tp
t^"ttnlflo ,rnp ni6kL
fs
l.7o+'.d
6+4y t'no
jvoS
h-
0:
-1n!'nr>*
""b
*4*0
*-^l.Pvga
-lv?Lto'h^'a
bl\r\Tyt -d,
,ffr*.fl
tp
ty.6al
,-yto4,l,lo
nV .*iL_@
_
"!*P 'l
ii h2ff'r-rff\r.h"
++f>
sr)"y*ai
y,,.o
lqaqrftl?
,t.rfy
T\,oq,(Dpvo
pnnt at:^,5
+
e
..-- 9-t,{-*
=aoo
*l d,.@Lr\nno. :losc- *ryQ
*rp
arln-.}
<-[
_
.p,,,.,"r,r^
ovlD
-ytr,d',raoo
,,
ffin,;r)o,r#_:r:::jl^k#
'-*",
or) 'u
'?
;
oo'
".uo
)acl'
(
ard'lva)tL
"toN *
,t
ffi
nrvl
ao
r-fi
nT .P"\r*^t
lw
Q'Q,6
--+ IP U bJrDr b
frls
s
cLri,4
X.,t
greg.
-__+ If
rnuSt be do,tloped
a-q
t"l.o k o
ioaDynpd$ bl
e
aqrp
licon
an
r then
;zcs
ff e,fu in
th" k^'4
e
U Lrrf,l iD
&e
lnfzrac*ton
blco fa:lo itovoplc,.)ole crppl;carJcrrll e,en **{"
txh-se,tViceS enabte
d &pCtrtlh
on s
Oviei V icd
ctidgrarr
oF
t-"rb&tv,rres
se{vi@
BY'EY
(,tPPr Qe6rsr.'i
3-!Vice
c
SonP
YPrfirnse
o\ft4 d ln te5fw!-
J-Ax
R,
J4X-Rpc
/
J,ar-rJS
rrnrB
h]eb&"rvi(es i6 c\n XYnr,SOAP,
FitP
@
bseA
+o
in
inteYopcralctbte
0;sFrisL{kd
o"llP\iedr'lovrs
d istrlsurc
d
+le
tn-Lnol
o3
9 &d *'y
"+
nnj1aft*,^
cla;ce'
t"Lh\rologl fLc.f nftxo<
tL! tu aetrLb' t
;rr
tkrvdr,:c""t
@.n1o*u,ts a'r
intev
opet ard'-g\e
Qw
u<
utt"4nLe,"<N il,out ,wrr6tl
ukt
t-
(om;a$t"lb.
{1;ak y
lv.,Wopey"taJt
g16r
Gnyo*<,*t: W Dt! S,u;
rU
fut:a anA V
;(. \lv.<a
.
il.r.ro tLa J,lol ron"1
CI'-
ge.vrce
f)yov
i&r
dc^."lops tg<l
strr.r,tr Con
l61rrur
oS acb
c,Tptzc*lo'n
irls
cl-o;ce
t-cehrr"b
9"3
(.r.rEr,
Sori"
)
L-'"$ Lr.,r\v,.c$ ,.\efu,ls
-
$6\tc p'roV
\lv{
CN{r"
{/d.lr4
\JsoL
d! u.^yno'f- 4-
-rtl^tu
Lcrn fc\(^J
[,-'1
a{.. /.*-;ts
t4*+
,tre*-S W'c
(aJY\
us<-
"
NLJ
(cnttu,t'
SoAP
tq4es'
ovc^r
Ht tP Ye?'rs
I
-
t$---t
cin
(,e
give
heb.xml 1
Ye5,
Posri bte
,
a
Sorne narne
Rt
ge-rvtef
ini
t
Rirornefei dnd
rl
tql
l0l 2o1t-
Conft.r
I pnr6.-.^-{ pld.ad i n
gi
A*'.'
Ond 1,1e ,'se
A;-
Whaf ig $e
Bcz @e
grvtetGnx^ t
&5e 6er!
k-r
-
cooAt obJec-t
object to Ytrtd Cqntx
t
Srvtet tni t
gl]ame-t
rs
fO Yto d
init fr&ram+'lr
Va-[4e
Pcrtamcf'-t
\,atcl
'
diPPavtnce bl,,J
ioi t flcrYarnetcr
5
.-
->
9peiftC
tO each
Serv
lef pyDgfirn
_
-)
use&rr
fb pus s
}&hnicot dctla- fu *yvtc}
Pogram.
----n thdrl
d
be
objcct_
in
--7
ollooed
ytad bt u6in1
&xvklC.tdtij
Serll<f
PrDgYam.
dc'pticatt init
PorarneR'r{t
(ufr.s
an A CdYLFc^t Pa'romeE'rs
Gr*er I
Rrrornerc*
5
-i
Orr)frPn Qrr
orr rbe *#o*t ?TDg1arn
uxb
aPPtl
cafi on
use P.,r
to
gas s
g)
o|c^l
technl'd
dc!k'
t'
rnuldple
uxb
resdctr
ce Wlafis
'
sJoourd
be
rad
bX u5io3 6etvklG'nre*+
objed in s'r rle/{tYosl
ab.
oL
DiPPe'ent 6lpraache5
09.
.rrc.d
ln3 Czmkx I
pa\atY)e,fc{
nar.f-''
.
Patqm
talli-s So"n
teb'*-l
I're
i'
fipptoac.b
? :
-
-An,octchr
:-
(
,r,"X
turrrcfal-j
.rn
ilbire I
e'bagtlo'e
E\e'"e'*sL) )
t
,l
,.,
eclch c.IYlle'..
t
pct{dt-a name
St,ing Pname
-
f6t''"s)
E'
nentEle-en*
c)j
l/
g,,t erd Crnle
r
t
PcrraYne
Vcdrre
5h
",g
f
vol
z
5c
'
$uln
i t
fc'rnt*t'
( p"'t"
)"
,
;:t.
; ln (
gname *"----+
n
t
1'vor
) l
6er.,te-tCot'x^l
Stt'nq
hs*
fd. mr;sl knDul
I us'nq
Sc
.gctfnirPan rrrert"f t-t
r',e-tho
d
)
g,g
= 3J$rvrrcc"*'*i
C ) '
// Sttus
$-v
ret Conrt-r
r oL'5
sc'qe-rJnltPard-.r.n
("dbFnd");
//
a'*t
on.lcxl
frtrcrrh
varkf
-tl,
Poro-
nqrne
lD
9j
iis vatu i
s,-
9.rT,,,'P*o"*t'
\atesC) d^
)
e
=
s'
SefinitPata"'eltr
fiames(
)
j
hene oe get cru
amft*
f
0:..4m
nemes cnf
Vo!-ref
'
7-
1,
-Ion:,..uQ
*.uoX
3'"
&
rbe
jdbc
c6d
pm6nHe<
f,.1g
*-,at p(,t.r pos e
T6e lares t
6fl1-igt{o]Jao.
&r
v lect
gprgo
66aHon vcrS;c'D ;5
3.O
Srvtet 5f,ec; P;col
ian
?,
-5
h6
,rsrn3
$rviet
G.rrcr t ohje.d .
$rvret
Gnrcrr
ob'1
// ffl-
Accss
io
$rvtef
G'rex
t 3c
=
get$rvtetG'*e-r
()i
-fomcr,t
6
r
Glass l-,, s b ?.x,
r,rbrrT; cl-o
.
3 o.re
ctere-loFd
bos
ed cm
L6e
C.'rn
arro
Sirr[,,
$e
4trocoin3
addiHoro't
detzr-it5
fr(o.
Prlntln
L'
4br
>
pco.pa"*ln(
zlt >
?cr'Pntutr'C
zb>
''
'"''
getC
la<s
SC
Ohi c lCsS
f)Qroe
-+
'"
fl1 tloderlX;n3
&"*
ioP6
"
+5c'
f're &rvi-@
b spec; 0
cc'l-j on
\t','sj
<'n
(>)r
ger*"ruLuT:nk
());
?1,o
1rllruln("
1m
> Canlirc,+ ptt
"fl
6itt"t+
.
gell1;ncnVonI
<'"r
(I
)
f
-
" +Sc'
SetGrfc,+Pad
tt)"
tt, .-
.
-t-:-L
Wtbcl,Pu
ra67
^
"
+
3a'
get"M
cr{Vrs1ab(
}+
rbe execuHc/o
og
cr$ &'(v
let c )c65
C.tn trrur!fl and
U|%'e
It
c[*ri.tg
t*
inskr-,6icHc'r,
ond
lni n.r6.a$cm
'+
lfl'Lls
gwt
er Gr*tx t Ob;ect
coirh
C,trr
cisi
n3
rtre
exeLLLB&\ 4 init(-';
6trr
&.r$ief FrogYarn
'
Y0o-
tife
cgurte
v"cd"if
'
L(crn'
I
fl
6rq,,
r, *",u
inlrL l.
c+
lhe Cde
Can
Fexk
not-
oicettjbl
in
our oxcoorskr..lur
op
oc't
b"*jil::
&* $le
r*!'0
Obderk5
V];lb\e
a.'
A
c4t
?r$ i
blC
in rSe irut[-)
olstr^tff1"'ts*
and
6-oJa
Picaed
tn d"e
'-
Se'rv\ct
\rut
ff,t\crfick]s'
d;FParcnce
u[d
Code-
Ocr\
g'$ttf
FrDTram'\
the
p\acad
in Corrs
kLrtf,tA
0e{crnc}t-\6'
buf
{".1S
pl"cecl i,i*o'',"**tr^
Ctur1't
reo.A ond use
is
?ot61bl
in
tl^e
@ww
*"r*5"^*'
cre".rs the
6ervterconPit
ohjec-1' a?le'(
o-
tbe
on
s.'vlet pmrrar4
4E Ble"iUle de b modr
fu
(,e
aan ako ffuvur aloc*
9+pc"t btrr nof
recornended
, Beccurs e if is Lrkr to cr:e
toq-b.rm
I
ins
read og +au n
fl
9"p','"1<
Vopomw
lre.
-Iomcdt
+ i5 dcdlofxa
}ased
do Setvl'{i'l.o--'
$".,lerG-fi3
oqlt,-r (&*,-rt
c" i'.&r'err{;
Ohieli
Is .ol \i-6d
anrd
grul('l CrqT!
ohjerr
is
N0'"
tode pkrcel
"'.
4a
in;t(
)
-
a- *i.
'
Oi Nl-rdi i6 rhe c{;PPerence
Lrenr
i c berv l(}
blrr:
@roer,6
$rt lc}
q
16gs
ond
HrtP&rv
lelC
tc(ts 1
llrp&rvt+
lbis cross
b63ed 6err lcl prugrcrrn
Can
hrodre
drPfea-r*
frrDtocolS
bc6e
d
.ftTle5t
,
ferpctrt I
Doesr,'t $u{,n6* fu*trc;i;c.uon3 [furrg)
One
ALetrc'(} c\clss
tDi$ ok6kc'c* merllods
1lrovides
crnlg
35\,rce
(-,-)rrdoa
(rut*')
to process *e
rttl*t+
6tve5
&{!tcrQe+regt,
fu"nielPr"fotSe
ob 5
Does not cilltu t6 tort-v-toitb
ol
rhe
CIg prot-ocr:\ l+tlP
lor.^*s
---a
ltrls
ctoss
bosed
Sev'iler
cnr6
H*PProrocol
bosed
l-rDgYam
*" k"df
e
rqgests,
ws
lxr'rges
->
stq,15-ag
S'*'It"ls'''3
comPleej4
'
)
Abstrc"cr clc{ss upt*Du}
absff''d
ntrtnas-
----r Provide-s
troo
Eenicefu-)
rrethods
(
lJolxxl-']
t"erhoag
to
frDcets
$e
re4/'est
-----i @rseg
l-lrp3*retP"1at'1'
1)*p&'rvte+P"+a"x-
Oqp.Lvs
Allot-tls
'
JDsc
(Hht.i>
c"t't*t"s
5.r
o?
"e"4\5
alJ&ilabte
idbt
c"o
ot$"
)
Xon*cb_l:-
o
uaeR r
( Hit,"l''
Con
Pol
@
rco,.a
.-)
fb is
jau
,Tdbc
6'" o5
*u ao o* **
cq ?ool
.
-)
fb i5
crecried
Q
pn{rcunex
moruraut
Cless' ffrq
Norne
C
"&n
.
idbc'od
bc' ldhc
Olbc$rr"cr
")
;
fonncrro,r
(t
=
F,*,
llongo'
3erG.neut
- l-,
-' -)',
...->
uqft.r
ain der'lovoAe
Driver |tlctnat ed Grnn&ficrn
Frol
{a', Bfondotone offrti@tston3
Ycln Crutslde ttre
uver)
r!/
Dcrv"'
'
i omj
r&te ln
u*bg
( tire
c,x.Uaf,et
icaHorls'
oLpPli
cold
on5
ed5
coq's
)
JDBc Coneohion
obitx
rc cof
Prcd
Ra'
reffe scrLK
Jdbc
66n
ficol
(.pro crraqe
ohf u5
in Cnnneeficn
(t3o
I llefrylen
6
ft
e Carnntcli
vi5
\J
r-o)
rb
5in3 Dal<, ect
Jdbc funnarl<rq
p6l
+* orade
mdar6
u
o', t C*nu"j-
ObJettS
in
*pr
p6o'l
'Yqws(nts G,nnerFI
vi lg orrlr
-)
Olf CCnrrectr'an
Slur.
E6i
0roue Pg u,,
t'
JPg
c
Dr,ha.sor.'te
fl"- $oo'l rrrr-lt
k
JDBc
ar*g*o,.
ttot implemei'urr
Oblq*
re{rrz ScrU
Jlbc
Cmrr eri on
poo I
.
oCcetsed to
htaScr.rte
Oh-Jerf '
OqJa*
ftYcLnS
rb i5 fie Cyq4o,
oV
q
5o,
eao}
Cdt-Dnec'ta"
Obie{l-
Dn.",r5t+ilteJ
Jiloc'claY
-7
To
;xovide
8l0b.t
visi5\ihJ ho
Obrds
Y%16t1
Ctco
la,rin6
nickmrnu
$
ona
-)
Tb
lYo{ide
Btdoat
li6ibi\it6
to
ih
reti6h''1
6\ur,
rre Srrocoi.'g
ore
rbe Qe6iswl
"Y1
GussFisb
Y%i6tt9,
Wob)oSic
t8ist-nJ,
CoS
YL$ishr{
/
Rnr
re6tsr"tr
,
ond cfC
Evr'3
&ov"q 6lues
laleUtogt.
rgluq is
Gbqsqsh
reg\s\
i5
c,nd
6bject
rePc""eoce5
pe g\coce
them in a
o0-icrs
ndmes-
D-go,...
obie4-
i$
l.P!11n"
@ill
bs
plc.te
J
.slu,
.
coe)\o6ic
&'^('J
one
[rritt-ln
veStaFrX
hrin-ln
t
0\6k\
OP
bu;\t-ln
\&sht
"t
@@'
@@
\ @,t
javc.x.
s"9t'DrSru,."
tt)
'
G\cas$sh
9"u'l
Catt
gef$nrrc,oo
t)
on
Dot
ohi
&o.o
idbc
cc'n
rcol
ure
Reclvrd co.
ooJ ro
Cvedte
orkr ebJd
bc o{is
And
fD
b1R
jd[4
PerrslsRni
log/
c
O
DB
slw
icwx'5?l ekg s
)
&vc lc Se,..ft4
lQe6rsrj
sf":
j
Solhra
{-- r rsrobjt
TJ,--fu.S*
hicE oalne [tn))
o',o5
noX
ah^l neYrrg
a
idbc
aPi
Java
opp
Ert.'p Ie
ftenor;
o
a.^?pli&ilion
:_
C licnt
4)P
Ger
furq
&orce obi
ftom re16B
(
Javo
.sg,l
,
jrti
api
Jhd i
f,avo
apP
(iauo*
'
no'mlnS
)
Jndi
api 1o the
pc-rt of
t5E
rnoctcrle
fJoua
m-i.,"1
orrl
div;cn,,tr
Ir*crft.
ohjerr
ie"reglsrc'td
Pgrsttl
slw
ApP
iduc
connc*ion
otri
Jna;
Jn;r;or
f
ccr'*tl.t
f,ndl
n
c'rrc'
lcpveents
lhg
Ohj
?ePr0!a/td6
CdnneLH uiq
bluJ
fie
drnneth v ir5
lqa
a+p cine
DB
blio
Jcrua
a.{^ p
s
I
,^.1
and P7tsn1
etu:.
d,ia1rarn f6
oL,Se futuu
fir:ln.,}r_a
ilU
(bn
necl/crn
@l inetr ;rfL14
NebOer
vcl ( Appricarlarr
&rvcr
)
Qm-doseL)l
DGslo
l^j,r.l0 Irc
dic^gr@rn
o4@
lrr-grc,mrrr Lt6 5 tgpe
crnd to areote Pr
oP
eet oF hav,ng readgly
('40
prqropagt
c}.rrs
o-dbc 3r,ro6t*.!c.
ond l<eeps flor
crUj". r xeerence
)n
n
icF name
i
ori os
nam e
/
,*
.*- u
clirtJ
appiicoftdn
Ond fndr code
rl>l+t
q
Jdbt
&iuerr h
iruferctcf c.,:irh dcrg,bc,{e Sicr:
[dbc
Cd|nnetticm Objefi'
avGildile
f,dbc
Cooneu\an
Obeers
'
rdbC Ccmnerfl
o-o
fbo )
Obie
*3 rcPresentr
ti
"
,
regterry
sltr.l 4.,
B1oLs0
u;sibi
)i
ry Fru:tq
':*/
A
Ohicoi
YtFelftna
.-
e,@,G]
crienr appriccrrio
to
ner
SPe
GnnaLti6n
e
YePe{ c{.i46{cro
@
C\ied
6iPPurodcrrr
Ccr-uS
Gmericr
Obietl
k(!cK
to
6K.P'n:-
cilc
Obiecl-
fbe
con'closeC
)
'
&rnnedicmtlcol
.
C-t'dl^i,6
o[Bn
1te
o.drain
ccrrroole
cf
toeblogfc
krt'('/
oIEn
brD.or"r
oiodoco
n htLp:/i
tocorhcrtr:?ozo
/ccmsttt
*-='$.
.ff.
ffi;; .h\bb05s-l
,9rcp-n:-- CrtcLK
fe Jdncft'raSoorce
poinli n?
19 rhe
gsStoord :
$\r,bn5sr
--=-lk
s,;l
JdE
Ccm*'o}J<tn
lt'ol
t
aalk
Ad-r., CcrrSoF
-
-
) *lvi(es
------1 JDBc---+ Dficg&1cec
-,Dro-----.>
_
r'baq(rn\( 9 nlio'5
naoelJrdi
rcr^C
n*ale:
Irosdbr
J
---
JNor
mffr
1"ttil-ilJi:p1ift"*.---'Drz'Bnseturcl@'-
t- ,
--
i
-"-J.gtljz,B,s(
unu'
Iorcrte.s
Dr,w,
(T'in)R'.
SetvrccC$"r&H1.ns.Ve,rstrms
qO,l
4l--,-
=rnext
rtt'a)e"t
'r
Frem
.flet
r
proro
$r6uJ
-rr,
o
l
--+otrb
-r
Duatuse n"*.
EFd=
j,'u*tiil;.;@itrif
-;
Prrt
:
lrszi
Bet5
Driccftcrca
odetf
vepe-ren."
*o-
*f)"ri h
*t"g
o;LYrEnr-
&orn
Cfi)nec'hicJn rcrol
t.
$etGnnecdcm,t)
On Derafuurce
*rts
r-,er{rod
veturrrS
JAbc
,ft*nf
Gt'lneananOhjetr
o"^be
{rsed
b5
-
Qthor
telrrast
ctnd
Crtrex
*) pnredky-e
to
cYec*e Jdbc
CcrnfeLflcrn
poo
I
+-
oYcde
and
Sbc
DcLFc'socr'r'e
in rhe Dorron&'rvcx oP
tr;cblo8;c
to'x
6it
rt Adv 0archDorrrlin Se1Ve
1
4
coe'b169
ic lo
3
.9tQ--r:-
Start+
pogiarns ----"t
orcdle
ct{.'o logi
a'
--1ggs1pb
oje45
--r Adv8olti
Domor4
--;
Sl-ar r
admin
Swer
ft'r
caen
lo g
r r
.-)
h6,coie u$^(Eme ,F1o*l
pcr.stt^xLrdlW
--ccnfomfo*usdl\r'''g
{
---- ntn t
L--:---J
-->
Tesr Con
ftgur atJ
on -------a nxi
---------
E
Adrni
n:(yu{
--;
p;p;5ft
IgE:-
ln rhe ahove stcp
arale5 Do-iaso&kce o hjerfs
'refrresen$D9
JDgc
conn eat'oD
Poo I
Otctde Ctnd GlSo
\ePS fuAaftc.rceOhj
Ykrcrre
in Weblogic
tqlshi
[-'ng nick Darne to)
olias rlxrne
(s",u"1
sPdftJ
r+)e
F{,.Gm
yatues
&u
Jdbc
Cor'fful-
poo\
Admin
Ctro5ole+ Services
-r
Dda5o(rc5
+
Iouncr'
D*qt
f^---l-lr------------1
\Ccmqu;on
toot
l-'-_----r
L1i66n
G4a-ig
,f+--1_=,+floxirrr,rn clpeirg,lr!__J-----;
-f--l
r-;----il
A,$c;B in0rrrnr
:l
+
I
--)
Save
-----------rYAdvonced__-_
^Sf^,.,x,1=o;---1
L,Do,4
cmrrctton ft:ylTJ
r---r
&;ecB r0 he..t-(dled Blso
*
Erb;;le
Jdb.tc,nnerdo,)
#;i$H:ffHT
--r
save
ffffJ.*;*;n-rc'r
1'rr'
intle cnnnedon f,oo l
itut'^tds
(a?R* eun soa sca' /s)
Ixornple
C6E
ut*
r otndotrl
furm
Durorf
c l^IcbPc-s c
C{plicoHoo
On APproarn
3 &se
Prg
USing
Server
rrxrrr,Bed
ide
&.rutef
t0 hfabaSe
Sfco Commnnr
CdLftC'n
aEbc
C-snnetl"i:-{r
poi)
ed
Poot App
Neb6PF
jduc
con pool pfl
gtt On ohl
'#am
jauc
con poo
1
Pi sh.t
@s
*)
Pot
tbe
Page
6ource
Ce;d e of
No" 65
ro
()?
Col Cotrn t
,-------,'
5
I
L
3
+
J.3''
[.-F_l
l3ervter
Pr$
)
lo
I
rajc.
bl J
3+5
rarnesh vi
?f,l
rovi
Clr.nn*
chove
of?1,
cclt-t
c-.r\
.repe,
Afpi;
cra-tt11
6
.+
"a
al('jcur
s di6plo{
al:{'ticc\.tiort F,ryrst
Non-tul,^;ta!. EnAa41^4 in
m',nd,
lofle
i,r rfre
funJ, 6n ,
n
^.
\deftA Tncstaqej as noo
-
fecr'ni cd0
N- Au th s olso
y<a,*.c!el
r-a
CorvLct
VtA'(a1n
,
{nessa_fl4
%
f*f ,
n,
D;
lC
9o,ne
yu,g<-J:^A
o1
DrDced&Ye
to crecfe
f,dbc olcLtqSocrce
rcprere^.r, ng lhe
JLA
c C]f/lnettlo,
IDat
.f*
oraak-
iD
Gtassli"h
E,.x
scmtn.
Step-r
'.-
$ep-r:-
eKp-u:-
*uS
ur
I
(@X
of,drcw.id{
fire
to <&hssBsh-iome>\ Aflpelve.{
\
dor@io6\ ni,ttrdflftEnD
1\ t;a)e"tJ
$rdetl
\v,
\J
.
01lSun\
Af,f6t'rve'{\
bih >
oSadm;D
Slaxt -&rrran,n
mgdnr,n
-1
Open
thc
adrn'rn lsrrc#
on
Ccm50
te oP rntdcrtni
"
! *r{''(^
'
@'r'bocoaato;ndoq,
-r'l5f(
3ft1(r
fte funr,ir,
&t\ra aP GlassFsl
(rngtlort*"' !
)
!,
slcp
-s r-
c',are
Jdbc
a6rrnecdan
pcol
+'
"t^:
'
'--/
.
Qqggn..s
-----------+
llD*L.---.a-r*4or'pootS
-----------? lrrtu ----+
rua-e
:
Iryre
I
AdYnin
con6ote
"--'---'-- ffi'
-
-""""""'' 1vt''=
l?6(I-rr
TU0
i ---,
Dirag@\c
Vccd',.i
@-
v't(t
-----J
'r
3,,1 i;6r
ppls;
ze :
f,
---'--+
rcr,*
pol 6i u
"
@
----"
" -'>Vlon{',.e
vft
', Otcl '-----e
flrorsurraihtaYE,r*mo"ft>l=aW*"u"n'vtne;local-horl'------------5
Vu*:
snt'+ =-.-_-) R,l.h,
-,
lah?Lh
rytL
--:
W
----------ae^R
"regrrecnn
n1
the
ab.re
JDgc
Clrnal6n't
pu-o
1
'
v
------->
Jo1;c
JDgc
YesotriLeJ
-.
---Fl
Y-,
poor
rprne'
E=]
;"*,;
Alvdx '64,1 '
8lLP4'.-
cYe'j-
Admtn
Console
JND}
Narne;
Jlbc Dem
6att ce
Qeso(r!
Ces
[4
:
/f
tocot hos t
'"
+z+
a
US',naroe:
fegtoser
a
P0ss(r)o6A
:
rcst u!c(
J
Qrgeno'
pocedo.re
rc
dep\o"pe
$poiicorra"@
o? the
"6s
-u+ ln
rn,cbrrne;ruSen
ft
oP6la*
?+st
-7
9I!1:-
E:\
Prefrare
wot
ftre
veP,rcsen-t'in3
FcotApp cocb
o.pp)ic*r}')
f,__j
fico
tAPP
Jbo55
$(p-.ln. ctep\o9ee
rbe above
oa'
ftre
in
mgdornGnr
+'v(r
CbPt
rcolnP?'c':at
E:\fircIry,F
> jar
cP ftolApp.war
6KP-il:-
rncrE e SuTe
rhaf
-iJ
dorro"'t
ela59e5
F---
connhc,) Servle+
. jevq
f--,
(onbPool
ServteF
.
cf,.rj
9w
e'r
oP glosgFs\
'io
ruonio3
rrnd 6
?eftofeorr
f;re
to Glasshshhome\
Agese<ver\
d'or"ons\mgdomain4\***|;]::
*6ve1t1crnc.
gcl Connec'dan
Pool
it
notfun8
W odgiol middleuntrt
gttui
6tfP
-N
l-
-resl
fte
6e$
64Pli
colicm
:
//
to.ortoor
: 6 56
5
/
Pool
tur
oPen
Bmosq
@lrdo@
"-"-'-
-THfe *"'g
tlBu
Er*cr
*re
lc'de
naroe;
Fil---l
ry
Norr;ng
Nirt,
ia ota
@.b
IsPe :
Version:
Vfndor',
apPl;
calion
Afl:n $a.v'{
sltr-r
s.
x
(ctmPcrriule
tol r{r
JdFl'6
)
Apcdhe
{f,eodor"'."n
[Qtd
Hor
)
Crecr-t'r
;
rncrr c
p1,r,,,
Ope
nSotrrce (
Fto- A frc.lr
e
Fo
undc,]i."r
)
CommelCial
(
fvom Qea
t+c.r
)
Defurl,th
PoltNo
k"
Neb ctpps :
8o8o
Allo(,s ro
Creorc Dotrr,r
n S
h.f
givA
Do\l
.
a)
dePrurt
t
5) mtnimol
r) Srcrndrrrd
b) ureb
S
de Por.rt
Dortrd n
E
"
ThcS
are
I0
dcxrrntoad SIur
-------a l'Jt'J
lrJ
'
Jboss
'
('r3
Drnlc,a d eltn cx zi
p
hle
8,
errracr
->
-T0
str.r t *)e Jboss
servei
CdePrrrrt
t
L Jbos;
-
bo rrr e >
\
bin\
ron' barcb
1clVo1-cd
C(u,roYn
ctfi ca rd
->
lo
chang
e
" httP
"
pcrn- no
'
o
e
rt-ld"|cd
Srder
Srrt!{i-uY '
'To
chonge
the
port ryrmbr-v
ofl
it
4-t
dorrrai rr
)
l1'e
'
tr:ord reldred
possi ble
b.,r
do
rno-r n
r-o ho'<e rPm e i5
defo.rrt nqmed
dsnein &:tw "'-
\v,,
in% {,o,r'
line Nols
_
6o{t+
'
rbe W6.r fiite
bc,ce d v
\_-/
"dcfuurt" toitt
be
'-
\_,,
lo"
)
,n}t 1,6
'
fi1aa}e
in stctttcr-H
an
"Or3
Jboss
-
S.r'o.&A
-trdk6.ziP
6lir'-
-2
JP
prDb)erhg
ave rcdsed
rherr rernove
"Fnd5rr "
-tn
bosS Sevver &ns o\e deploleersery
is
no
r
bc,rd
dePioi
amt n-l i
3
Pose
i
b[
hJbeD Jboss Servet i6 6lcrr
hcd
the
Jboss
Serve,l
use Servet
"xm)
Bre
'p
ot'3
Jt""'c'ln
GDro
lJlnss-lbme> \
se,vev 1
6.P"urr \
Oaqe
r-he
Pirl-
0flrjbLh(
v@lrle of
\
rtorst^r6'sc.'r
\
s"*er'xrnl -^-v \-'r'
Lclmneuzfi
> t43
;n
def-arr tt
Jomo.in Seruen
op
Jb.&J
F
clcptoY
ee
fit.
t
a{tPn
Y.)
proceduw
1cr
cleplofe
rhe
Jovo
dh
&ep(!:-
fmf)a'
tnnv Bre
re?rsenfini rhe
unlaPDh
E: \votcr'tPP
l.........................._
F
Deiuj
ls
.
hrrn
I
l-Srts.t' rf
3
E:\voFoAPP
>
Ja1 cP
clf-6 se s
l.G
Voltl
sr v
' iav4
I
Vorc'rSY
V
,
Cla ll
hJEB -'LM F
cr:cb
"
xro
)
VotcnA Pp
"
uar
t*Q),"
Start
Jboss
S.,rud
uie
SteP@:- DePlovee
the
Nar fl'te
coP't
the
cLtfw
Vor<T
APP
"trxtr
SK{O
;-
Ttrt
the WPh
hit-pr //
torarbosf
i 555 b
Zxboss*horne
>\bin\
run'$ard'
Fite
fite
+o
Z5boss
-horne
>\Sentor\dg&rult
\
\-,
ok?lqce Sl&.r
f
vowP'r',,
/
tr.,.,rs'htnr
t
a------;?
$"-.negTolte
8""a
hle.blog;
c,
,Ib06 5
Glz.ssFs\
prDr-ctt
l,Jebslk-^re
Gn*gu'ios
DiP'e"ent
&rvere
io
rDE's--
n
serva.r
.,irb
r15kt-,lse
Jor
-,
pmc&re
tu
Gmp;gt,e
ti:nffi,u
6lornoin
:':rv*'
hlindo@
menu
----+
pve
peve
o
Ces
-
ffi
rtSE.tir,se -----o
E
ssvers
--+
$
wotog;'
-)
E
w$l03i
c
lg'x
Qeooole
+t-4
P
epl
ov e rrrrLr
Ccnsole DePtoverDe
nf
D)re*.os(.i{)
cm' hle
(*Hffl?t")
su{0o't6
wrn
(Lle
[dElugee
$r're" )
does
nat 34'Pq4
Drrc*r5
(rrr)
rc'rAre
(**ff:Tt)
t"**
Diye&dv$ lot)
r-rx:"flre
(tod+ls &,a.")
suqpufY!
'
Ooes
nor &apc-*-
l-po
a depluqcm
co* fu+p
cttul
Beahome drrntrzrr.J,
I;fil\.'r";;J
E,xscunr,n
dc."U
a
rDot '.
--a
Applb
---)bV
--------4
APP15
----------a
ok
pro ced-'re
ir,
crng
guw
rn5 do,",al
n
!
serr'ot
o?
GlcdsFitb
?"
r toirh lldEcl'era
8DE',
blindoco
rrf\crur ----------.J
p"eftr.ercos
--a
pnbEclipfe
'Esunxn5----oEGrl^uFs)t
------lE91asspsb
L'x
----J
@ernlle
------>
Hurne
DirEtfcnY
:
Donr,io
Dame
I llgDomcnn -4
Jbrss 5'x
Servet
urlrh
ltEclipsc
t0E
uiodou:
*'-*)
p,ePrenC65 ----------;
fl
qfcrils.-------)
ESe'rve'rs----->
pJBoS
--r
B ilcsbx
--r
Oerrable
-r
JBqs I'ome dit.toO
I E,'.\Jboss
5'x
soPr\ Jtcss-5't'o'604
dePtu-rrt
E6fr*b".sF
;{ilil;\-i-d.tteoc'*
\
use'r - rrrrrs
c[na,ns \
Adv
batch
Drt'dD
-)
qpi1
-r
OFr
Ser ver
nc.q e
;
dotnu n na-e
;, .16ftr,.U-.
'
i
--)
proce
drr,"re It: Crnh
6u,re
Selvei
Lo&.hot\
"
U!g'I
nome a
ga5ggrrrd:
-lorncar6errrel
oi
rb
N
erBeone rO E
&rvers
---r
addselve-l
Jbrnc't 6'o
D :\romcor
6' o
Ctd rni n
admi r'
----'
Fottb
6tcp@
'.-
ToolS ment'r
-'-----+
-+
Stzrr
ruP 1,t$ -'---
t
I
use c'srot Ca]d'
n c' 6c{ipt
-)brDdsc{
seled
O i zr6t'a?r- lrm
D
\Tor"(at
6.erg
Stcp@
i Linr
'lor.cat
Se''ve-tr
@irb
&tI PnlJect
0;ghrcric].0ncoe$pnaas.--.-.-.apIDPc,rklc-5---'---JEp"n.------:S8rvcr:Tbmco]-6......-o:
ryq"
,
Qt-tn
rhe Lr:c$ fr'uieu
v\
.--i
pYoodrrce
tb
ConHgLt"e
rido\r:6ic
&rut't
crirh NoBeons
rDE
L
-
Jools
rnef,\u-
-)
Seyv elrs
---------
&dd te.rve"V --*------,r Qlade
ocbto5ic
&lwl
---)
. &',r,t
r tocoH cn
,
, nexf
)
LbGI 'rnSFcrrnlgg
,,
Jauahoss
-t
----------r
fints h
----------r
Ctose
to
C*e.fr*
JB
ossB'
x
gein'tr{ urirh
Nter$eos
IDE
l-
6errvor
---------r
gadsrxr
-----+
J-Bot('A-PPlicall/n
o*
*--
(Borost
)
*'
I---\.
$nx,r
l-ocon,,n ,
lp,\cU*s
s'*te,
\
lo*s
-s'r-ii]-l
)nuf ----'-'--'
Urnoln
-----) F-"?"t"
1
-------'--)
4utL
>ctctse
OlE,Ynome ;
{[sc(rlord
i
.------4
frrDtedlrre
-Tools
-------r
Sewretol-ro,i'in8
'-
-
o
I
rci >"rt
'.' -)
-lhe
Pfoces
5 oP
rncrrrnq h)dj-ipie Grv lek prograr-
s coro->rounitotin3
@
jr\
eaLh
Dt'eY
in a
chcd
q
prDcess
the
4)ie.,t
Qenerarcd
,ft'ufacst
ia cttted
S"4&.1-"1"r-
-'-*$lglerc[cdninJ
is du
ah:ut
t,tceinT
getvl*
fnJrc,ro
s i orceatk
r:r, aik
otls
**'o
y
*'-)
.
oll rhe
&rrtlct
pm1rarns
4
gdv
t* cha,itui n, t'itt
uJe
gne
yeetl 4t
arl
*sro'et
abi6
beLartte
fi
p_u,is
ktu'm e \-aoytests
6,^ %
cti
e4nr
T6e
k:o
rrodes
op
etv lep cfiipin
3
Fo(da{d ing
Rqruest
rnode
oP
&.wltt c,lFnrni n3
indlud
in
3
Pec;rrs e snde
a( Servlet cboinin
1
Srvl
pyq
(6oa..e p.t
)
brodgei iolrrd0co
Stv
?,
Pq
(D'est |'r)
trng
no'of
&wlei
paofj.r6,r-D5
orn t
Forcr^rdinl
Rnjrrect ltode
f__,
L_
G5
ftrftrnl
fh"r."S
L
flce
i6 Q.lvlet cFrr',nln3
Oe
.'erv lel cb.Linint
(&cner^o5 tlas c.xrn+ is
-=z)
---
fie
br,"r Sf,ri
(Slvt prg)
t,iliI
b"'0.., Sea
rpirr.loo
rclt,t]f,se
#,nei
d.td
b3
&,.0.e
Le
cl;scrr
cr.l
h.'r
FqlQm
bmr
Atfiqf
,9oarre
of
flsHrr(}tcr,
progianr
(Srria
PrS)
F". b
--t
I
'
la
I
--l
,
Woparn
(5yy1
I
Iwtud;n q
lleepon5 6
Sew
tel C
hai ni n
3
a
rnade oP
5Yv1
lfa',.r 1rr1
)
p-3s
(Desr n's)
--:;
l{ere no
}ltro t
gu4er1
the
.nrtcnSe
C6rrzkrinS
toi n 5e
ctiscaded' .
so
,
hm\
outfrra-f
aP
Lo #,
sccuce
f
grvr
prx
) and
Dest p,6
(
srve)
Se"v
t ?-t
PfoS{ams
*)
The
&<,,^rte
6e{vlcr_
Desnno6<rc1
prDgram
--r
Pe+.^e.srDisptrt
l,er
06
that itplemrnrs
-Frerg
al.e 3 cr\rp\ood)eS
b
Crrate Q*y,,.st
D irp".r"h
eT Ohj&t
In S'rr1 9r5
(9r"t"
Prg
1
serl tet chairiinS .
ohieu op
crndeliging
$sxvterGnraln^
seoYl.r
.
&p*t
D ;sper.r^
s/ (f
)
.
\L(?
P
ll
ed jcr_uq e
la-6
"
,-j
I
\\./
,.
=
rE'5etPgesrDisrdJeY
(6Y'
Y,
-
-T_;
*l'')' v
>
(tor prhro
6rg
De*
F-g
(srra
mg;j
lf
VU".^
rt-t
f.ru:crr d.;r.t
w+lrsr
h'ocl oo?
o
Nogt
crv-,
tbtar.gl
ig
tl,e
Javax
,
B
e"y-Le.g
1|rs6lr"b
e'r
rd'
xd.
ft'*'d
t*)
include
(""t, *.
)
-
.Se-'rtef
choining
fl6rnacb
a :-
(bx usin3
serlBl@!ryI
"qj
) :_
T{r
Source IxS
(srur
FA
J
['rut,1-5 )i
l*^,,-t
tbe
)nclcrding
yesponr
rnode
og
v
gervle,F
clori
ru nq
Rgc
=
gcr$rroGnr<rt
():-lp'
''na"d;tl)
fleqAerrD'apc.r.l,er
rd
=
sc.
Serpq,aesrDirpel<,h/{
(0}a"'
'
');
La
1urt
pu*tc' n ol
Dnst
f,tqi
(srv a
pe))
t
--''lo
-- r
_-" I
--
t
-
--
I,
-/@
-t
:_:I
/
eho.,
rci
uj.e
Pe?reg
f
Dtslr"eher Objat Jo Cotnnrtrn iCcrf( tnirL
Td- Rrltcai d
(ot)
fd " inclucle
(rtc,
,
re s)
i
["r.q,*
s)'
u5in3
enretCor*r"t
obo
)
"" -
$e'nvterGnx^i 5c= ggr&rnrr
G",tt"r
(
) ;
ld
=
S'getNq-eJD;spot
hnr
(''o;:");
L> gervrttCt,n,rr,r
(qi
l--r,06'.^
mrne
cf
Derf
i nattcnr
pf
g;rco
io t'eb'xt'r)
g(
Rey,te
r
5
lJ;s
ptt.he r
-'0'-hhor
':
(or)
flpptct.t,:- (bg
Rq-,uatD;.Pt
ttt""
rd.
Polt,lord ( *+,".s);
tcti)
td.
inctude
6'rtry,
ves)
l
i6 rfi
d";PPerenq
ulr,ri Cftdi.X
U1
us; n7
S*ue+ G,rnu r aEielr
BX .rr;uJ
Paluest a ycct
Ansi
Soctr4g
6ervlei
;rrg
rrusr be
fiere
in
c^nd
Destlrr-rlcn
.Prb
&sf
Sqme u.eb
*--r gctrLe
e\\Jlcr pr8 q",J
Deetiros*
trl
Cct'n be
rte".e
,rn
Some
LLt_bo.pp
l; cclri <rn
L*)o
t oo ctif
Fe.ren+ orb6+pl icdll on c+
Sqrcle
(clwn
.
.
fr
ser<rio l-
lis.c 6'ru
I
obi
e'!t
F3
Sayres rf
isqyy_1",a,
obj nur
LLt rnut
l.no(o
url
ooifLrn
@@
%"'
4 Dqrl-i ncrHdn
grvtei
progrrq
*Jt*
)
S,. n ctqe 6P
Derh nc,rlon
b+r,,t,6p
Drshrrolian
Se.vtet pr,
g,
fite
r0.r,)r o$
Desrjncrhl
o,
h-l
/
j,
n
F*f,rc.t,
Sooser 6lr;51n
@th
us
eirb er
!e.,
v\er
C hoiil ng
---r
use
eirb{
gerQgteltDsfcrrcbei () (6D
gcrNaroedDis6.rcher()
h
Set @yr"rtDrq,.o.le
a\, .
ule
rnr..si knc.o
ur \
rrrrkr
n
/
t q;*r rr.r.,r .,
Y-S
r(.
(so"i6
rnx
)
Pr9
)
.re1
obi
bc(e d
[cr)
4"^
tolrL Srvi p1
g ,
&rv letG;.r r.
t
Dbj
boie.l Sqtresrp,{r*ttq
i
and
$rrc(ri
o :
.Here
rhe 6rv1
dd Senario.,-
trAr
w
eba$1i
cati c,^',r
h Aa (fieb
pr$
rr,us I
c{se
ilre
Serv ttt Gn
r'tx
t
ohi
b4se
d
Qea4'tesl D tspareh'e.r
.v
.'.-,.
\J
,J
obr
Fr.{
5P.av lt c [ainhoq
-\_-/
hrrt Req,cresrDrrpor"her
i.9
wt
trossi
b)e
.
-ID
ul
*,d{ledrruHor
o6j laa rJ 6aui+fha;n r",g
acle, ug
rh; s
cc.nct-[4
_) g
xpLf6
Lrr I
t-
plordr&t-n/
fi'e
llnrl{Crr}
05
g+l?u1.. rt) i spr..lre.',
1- 1
DotFc.
r')
nc(rn
g
of
op
C\"f$aro-rt
fd
9t
hth*
'u
'h.
diFe
blur
gaPejoesrDrparchtr(-; c.nd
getNamedD;spc"r"lrf t-).
-)
ccfq
be inro
ted Q ither
(.0{
)
tirl
Se.r ri
let
Gnter t
--4 Cc.ntr Lrke or4)
..'e_b
Desti nctlr c*rr
pyLytryom .
Destimttr o''cr 9r
rrltt
Destihc*rdn
j,t
/f,n'
rl&tr.
on
Qe1restO\ie*
ohje{r.
rS&tK
fnD?}&X
aj
servta
/,uo
Qmgrarn 65 o\Bt$ner.t
v.Lu(
+
Cdn te
invore.l
crnll
on
&ryv let
(o,1ext
oql
l-r
tan'
t
krre
l"t^1
p1"gro^
r
rex'
p;te,
irrrcLle
Sr.
oni Qk-
(exept
5ou,..,
or
De6rnlk,n
1rroc,c,m\
@g,r
isrPtJ)
6.r
lVa-edD;sporLher
[ -
)
'-a erRcK
$s lo$\cc{ rsyrre
+ DQ.l,{-indhi
trr)
J
Re,yu,esrf;5partl,e'r
&\nitii.,6
ro Dst
-jlf__f:g
',-
{d=
qi
flquest
Dil[,o-tther
ttrrl
QcqgestD4on\er
(o{ )
Bvo,.osc'r
un&
<.r.)
bt'r,r arrgr
4
grv!
gmurru
.oinac,lco
Pt,
qs
nd -*
a?
1
s"'
gerl?"i*'"tDrsroriev
(/nec'isr'"
)l
rd
>
yl
I
s.,
W.Pe,*tDrspehev
t"
/
rcr-; )
;
"-[
&.,'
'-*n
cf rl'e Pesr
jte
nt3
)
Qel4esl)4utdre,
+'rrerNa-.aDisPottlr
t"
C'
+u-
):
L'
(rug'.or
rr(nie 4
9r''<r
ilP n'"1
)
ReTrest )isprther
trinHng
lo
h.r lmt p.X;-
Re4-r'etr Dispt ctrer
ra -
v.,.y
/
sc" gerP%r6rDispor-c\ev
(
''
/*r.
btr^ t
'
)
.
-
-)
Co
nfi
flur-c,.rion
oP
servic-t
plo{oto
in tleb.
xro\ is
rnarxlatoru
.
Eo, Jo
Serllet
ctoininS
'-)
CooRturoHcn
of
JsP
pru0ram
in
coeb'xrnt
i3 0 pFroo.[.
50,
rn &',$let clrraIn
f
nt
:
-*u
c'!r
not
"Pfl
[r-,r $te in
oeb.xmt
60 Jn
6er\,lq
charnr
n3
if criLr
6e
;c/"a]i
A..l
Colrln
itS
P;te n6.1rq.
Under
sfald;og
rd.hurard C-r
-')
;
-
tO
6octtce pru6rarn
)
rf DispklI
("/6?ur l
"):
L At
-*rlQesrntl
-
I
'--
(a
re6haDrr--
oi u te d,krard
onJ
Yts
fErrlc3
'
I' I iolr. r >
W
zvlPli
cct*1
cr\^
anr6
dre l*ro r aapw
4
srvB
FZ
Et+
Eu
I
*q*,*:
(j)
*>
td
,
Porcoara
C-,
-
) is rbe.'e
nlive
Ofr
Tbe
@4
bt",.,l or,rpu* o
I
naes
n bmwwcotndnt
U
6ro.rcmqt6 pbncd
bkt
xecurc.A
A* fl,ei,
tr*'nl
goh gflL
^nl
gtv?
Pill
Cant
"+
n
gfl
L is vis,r rl.
{J
mode
Q
5e{vlerc"foJn;nJ
&rr the
htmt auqr",t- oP stva pX
-
.\J
in
gav
a
FrDSraq Di,r
Le
'\''/
J"1o
v'
&-c
*+tB + an)
ftalo'23Q
AA)'e4 '
so' ll'e
*T""r
&'
,
aaz,*u
aIe ln
(rvi
'
+1".
gruL tb
(rvl
u\e
ft1lLLtl
a*H
A'I<8
cF+,
tr>
per
Pa.r
lotoatd;n
'ft4ua6l
Srva ptl coirr 5e &sc..vdeJ
rL&fafi e ,
aC
a\rcr vd'&atoar
d
L-'-)
e'.4*rt
LO;
bc d';" co" Je tl
u6c
*)
9
-
yi,r,
aAl'ttioq{
aoi-
l'"-
6tvr anl
srve
&n be
llpn
in
(t
*^u
d
&b alt|
a ca},
cn o't io wo c!;fk**
'el'
'-r
!/
W
cah ont
oP So
e
9et"*n'
oll)
Srua
caa
be a *vkt
lnoyam
tt')
-JcP
Poxtam
(-1 l1+-l
lnotrawt
*
:':::
*''
*
:
-9d)
"a'
p*'o"naL-') t'**^
*'.l- -:*
^hff'*
e'rotg',<'t-':-!!4Y""'
:
\-./
E,
#,-'"
*;:";:a4p;eanon
iar
e^e"tza
'^Lg
*l'^
l^e
euu'vo'u
;'
'
\)
raited
fn orl'<'r
i.'Ie+ lngoms
4
wLa#r<^!4.,\
4s
caw)
"t
fu^!-Y=-'
'
I
n"n-8"tr"n+t"i'
ff^\
'''"s'o{a
<m
Rw-.."t '"t
fi;s
gx,tLcr
is cutft^l
1t
&teb(
nan-
t@"'-r
| ,
u
^r,u-
g,,ot<-!- y-y^*
-?
'u
6t^d*t
J*
EnJu^"r
,l*^
p'^ce1'lw
are
rc''tce)
in o#"u
'\-/
WLanta}1cn'
o'nc,:'of,Ct-)
\-'l
Exomple
eer'rlrio on
Fjroter''lof &o h
6uraf'c'r'
btr
t'*'"tt
'Yd'11
\)
lf E'firv
,
ia'ra ( Error
6erv lcf prro'-
)
,_/
poblic
clo"s
s
ErrSrv exrhj 6 Hbfp$rvlet
t-
Pab\tc
Void
j6Cnct
(-r
-;
*rocoS SE,aae \J
{
ll
Pr',e't
crt
sefilnqs
prinr wd tcr
FD
--
yes .
Sethlritcrt)
i
--/
t*.s.tGntr,"r\p"
ft"*t1t^mr")i
:
,
i/ orsetoS
rrm -re!.tlni <.c!,[ Gruidrol ,'rs8s
&t
e.d ul.{
Pt
"Prinrln (" zar,
zlorrt colctJ
=
.rcd
>
fnrcrrat p.oUtc
"",
Zl{5tf
=")
i
i/
ctose
sireorn
fj(l),ctqJccl;
'
|ll*ort(r'
-)
Btblic \'Drd
doPost (-,-)
frroos
Bt, foE
a
1"
\-
&ort
!9,
res
)-
3
,l&Po6rc-' -)
* J
lluars
'v
6nF
Sure
"6r.6vv
''
Prg
in
h;eb'xml
Bru h*'"
3
"
/et'ot"
uvt
ptl<*t1
\
N1oin&wrer-
pq
(oesr.,r
w5
oP DBArr
tdeMpplicaricrn
2
Frlollc
cless
DB6rv
ac.ds
l-lrn
Stnt/
Itj-
f
grll;c Void
inii(
)
{
3
f
tT9
--'-
- C0dc *d-
rY\at Yaise
ecePd
cm
J
tinu
oolLh
( E^ctftl
"n
el
t-
lllonnclllt
he
Y(#{es
l
tD
prrsrr
PrS
fd'
Pcqtrr-rA
(
"u+'"ts
)
;
l,
lt(r!<h
-
ltrJo.'or,_t
Re+isrDlspotLe' ra
-- rel
.6erQrlrexr};,g"f*t*
('/eut'r
Frclic
Void doPos t ( -, -)
{
ac".rt-,-) I
(
lir.blic
void des
l-rog t
)
t
]
/1a"'*9
J
/.t^t
Dedqe
roen-t D,aotr'1
36rct-,t"
4
OBAPP
t14)EB-f'UF
Yelptt
trrI.-
-)
(r)0
d\urdri
S
cdnd]
Fioool
Urrlersrandi.'g
b*p: //
rua
r,os t : tarc
|
ooflr
I
;nrt'r
' nr^
I
p\are rd'&T
u;ord
[-
'-)
tnertrod
Cd\\
in
5fo-rcYn4&f
b
g*ee'"'rc
'
vd
' lr'clud
e
t-
'-)
"
-
broco6er
oindoco
tlrot,:s SE, rD E
D6App
DBgr
v' i
ov cn
D85rv
. ctc'-s S
LttSrv.
ialc,
EvrSw
, clo-14
tourae
srvlef
[nP@6
(iL a
Orl
rr
I
'rotr
Her no
Ou$rr
be
d,.tccrrcted
]
pm${an
qnd
lltml
drlPtd 6i11
4
h'rh 8{v1
thOr means
r$p6n6e
SNL grogrom.
l-->
Aiab.r+..!ey
rrc,b'xrnl
hebaf)p);c4tlcm
!}@-"
o'5;
teq,res
) ;
s"a
(Uesrp'S
)
Yd: sc
.
fie h*.n
t
fPcde"
, Suhcr
to6rc5
(i)
6r)
Ciii)
Civ)
I
gerR.rms
1;rcr,rcling
response
mc*Ie &
&ouletcholotng '
ltsf
rneor's 'incltdes
degn.otto.r pn{ram tb
the
Cr.Fpd-
6 So.'1
c"
1tro6'ott' '
Same aS rd. 4,nrnrd [',
-)
Ciu)S F,i
ot
,(
Reap-se
flcnerolcd
q soctrce
pvo6tc'rn
c'ntcd
ns fte
H+-r
atte*
c
Had'(
btlc
ht'io -
av*st
l-o6t
c
ol
@"tqea
96Drt
Lttr'c
rhe olc ,f
lotb
Sotavce,
&rre
(
bcngtatxs
'
Nelrr.Xez)
Des$no$o^
Fq'anu.
rvfyg
6orne
Gs
.rd,.p,rroord
c-
-)""(or".t"t
,
crtr"-*
.*
""-lu,rffAtr$:.l*',
'ibi
0 rd lnctude
l-,
-)
Uleb
6"PPl'cortcrn
bd
pmUtem;
Setvrer r'ry r
(Ortnercres
Weunager
)
h,.r.le
t,utla6+
4^a,
rha-in
G"k"t
St*,r:-
)5 VcIX
ue ftrr
tr
rnoFe
as "reuso"ble
lqlcS in
lncic-.din3 *e.
orrQ..r
ce{rcoln
Grnrron
lqrcs
tiue
rnutTli\e
tcrcjo'eaoc'rce
[rru8rarns
d""-r'{'
+b^ l"rJt
o,[ S'g
l'6i"s
a"e
not
reus.-:>Le
lo6;'s
' [etau:e
",*"
rt'"6
^-t
in an cocL
r<ourct
P'0,
y'1"6
^*
plt*r
in
^*n
*:"":
'U'
n
+b^ l"rJ.
o,[ S'x"
l'6i"s
a"e
no1
teusataLe
(
u*''"tts \
hlcbroXez"
';
ol
a&o1rLc^ll'"n
JPP-,'
f'u^J* o'l 'N'*t
'
a"**
a'+
AsrXatl
Sarw'
(
9,-'*
bl'
d
.
iDdude C--
rta; n-d.,r*cnt
l%i4
oe
t^r-b
ga6e
f
.
rd. igctude
t- ,)
td. irrct0<le6:, '')
Mdn, donrcn-r lic oP
YY"'
'fd lBtud [-, -)
Yd.ihciodeG,-)
flah
-C,ruenf lod;c 64
hc\'oea
rd'inctude (- , -)
- - --
(rme.
r,16r.;
$.r".Ptg
3
\,.,
',J
t
\_-/.
,-
\_,,
-To
be obove ctiasrarn
l,eod.. a.,
d
Foo tc6 logiq9
e.''E derttard
crolX
onr e
'
&t+
'{t
o+
"X
'iPafr'rdeL--)
Thq
ore *r'sed
in rrutHple uxhttssce
[n-g3
ft: rhe
&'ppc
\-.
rrrtlnod
ou'
$amp\e ccde uEi\q 'rd'incluae
L-'-)
:
-
+,
tl
--
//
Heoae,S,u
:"uo
(e"'r.r
Oq)
rillic
cl&ss
lleoder5rv exrcn4b
H*p5e'v
lct
c
'
A*'r.
void
docaer
(-'J $mcos
8E., roE
J
'
ll",*r"
&rtinSs
P',*Wrir",
ftl
=
reJ'
$urNnilt"
C >
1
".s
.
c"*.'*1ype (" fe*tf
htmr"
)
:
/l *P"*
the
l,"od-
co.-r<n;-
Fr'
prinrlq ("2b"
'x'
t..^'
colcrr =
rTed
'
iiu='6':>
LnfiUutt
>
5
Ar vA
.
zlf",,r>
Ao*oltt,
>
4b>
,@"
);
lao,pinrtn
('^'
t6?
+>"):
/l
aonor close Slreorn T't
#r"l-iir
'-)
firrut'''s
sE'rou
fl
p,o'.losucl;
3t.,,il**',,'l
Gu,ne,n*l
W.Lfd,l4
i
t
0
Heol
5w
{40
t',
tneb
"avn\ Pire
oirh
"
fheadurl"
&rlfafta,
mcrudes
*,e
lectden
conlcnJ-
r d
t
-- rcor'
ga8"7r'
u'Dspor'l'el
(" /
bead
"'t
r''
)
;
P'A
)
oll
N0IE;-
hlbrie hlorHn;
nid rd,lncttrde
(-,-)
qcrr mtrsl- Rol Csrctmt
t tht
ves ponse L7
a[;,t4
po'closel) 6
lesnnakon
lnD6ran'
&*-"
6nes
ndainl {"'{""'r
*rlorse.
W
txcan
dn
ths wrv
nl';te
Mv,t
fr)il1
fi'l'rx'ornAL-'-) '"etLta'
Furn.b+.',r
(h*r
Zhr>--zE;t;zAt--
zht
>
zcenrc{
>
Lb> {cool \
Plain 9ervler
Prg
oo3
rtghrs Tpsefrt/,
P.,t
so*Xo
51,Jan'l'5
F:on-zon
zlb>.
Srblic
s
L
Q,r
DBS,v,jayc. (S",uter
Pt
oP
*rre
)
DBSt.,
e\rend6
fl*PSe'vle-r
rioid
inir(
)
void
do}l6 U'-)
t%'*os
sE.,aoE
rnorn-Codfrf,
ll
i"rr"ae
$e
{-on
Ct't-*
, grP.aoutDrspr<frr
!, FloKrhltiDl' \,
llWor
1'
3/t"l
C,rcb LErePttsn
e')
*rourlol*
class
[tu1")ic
{
J
Fl-bl
i c
{
trg
f
II
estDrsprctre
I
t@
llloBrt
to
$enercfe
rd
=
.e?'6etQagaestDlsPr'\e't
f
t*"")
;
r{.
tc'rcord C"e+,rur ),'
'l
lldc*-, ! .
--'
Wuc
W)d doPost
(- , -) thracos
t
"
do6et (-, -
)
',
]ii
61ep"sr
6_,
_)
fllb)iL vord
cle$rog(
)
t
---'
j
ll&si,5
Jll
ctas s
P* *" ob* &rnple Eare
d rode conn
P'leJc
Orqrnple
oppl;crrticrn
"rtfet Aee
@
op
Pa6e
no3
6?
fo
+O
SE,fOE
peepblerasr*
llrectcgy
StrtLcttrve
oP
DBAPP
tr1s6
-r N F
p6Sw'java
E.rr6rv,..iqva,
p66o,5:yy,java
*
.
ctd{s
C5
)
inFrt'btql
t&,rmfnge)
ftrrcr.hr-'
tf*
f-t
"
tr6z7
Tgq
- T4l
Rn ;rrruding hs&r
conre.*
+60
-714
't7l
8eg
Errrr tl(vtet
->
J? yd
fuir-oav
d (- , -
)
i.S exearrtd ;o
rd. inciude
(:-,-)
uitt
nor
be fie,e
h-t
""1"-g
&ste
g"vw
F"tr
r,
d'*,
tt
rd.incrude
C-,-).
vc!-te
*rw"n
pvo
,
clore L)
(,n,rr*ttr
in
&r,rct
(cxv Ie*
f*fllo-
Td. lnc!,de f-'-)
-.-t{'"d'
DBAPP
inpof
' btrn )
F<t
rcl
.
lut"n I
I
r cl(las(
\5
I L__"
l-> h1eb.xrh I I
t-
l--.) li b l-
'
i--,
trbcl+taY
nc!.xmr(uo Pitc)
gcsrv.java(rnr.in$rrro
ntS)
.J
lie.sdorsw
.
jar<
(o,,rr,inr
)Ia&,r lngc)
socrrce
g.rvlct
p-'la"'r *"n
5u
2fla o(
\J
Lr"^o",
rJ.ftruovd
C-,-)
,r.r
"nLX
&rcan'&
rAe
\-'l
?* dso d;"cand<
tl"c &d
',nct Ael l"r-l
o"t"i(
r.pirA
rd.
inol"de C,-)
fm'r
g,mmir
^rs:^,rJ
i1
T)ur},*^
rD<'Ltztt'ctrce
&*'r
(gr-tr
&'
$s4e
b0 *"{
/.e
".*t,+e
\
en
Y"l*-
Ph2'clnsec
)
t"'Ll^^A
b+."e
,^U'\
d"W"cc'^n
L-'-)
'-"fr{'l
C9
fu Z,A Exar.ple appliCation
cr4
&zu let o6o,;o'tra b6 crstn;
yd.include
G'') rePe', 64:p);catic"rr@
oP he
LsoVle't^'
"rd. Paa-xzta
(''-)
^"a
Pe'ftrmio, ServretChc"in
rng .
blo fioO
seivlet
pmg{crmg
oP koo c|;PPe'r
e n} coeSopp licad'o5
Ye$id'n3 in rbe
Some &,vcr
j-
petrogal$^r
9ct
ve-r
bnt':6er 6;n3o.n
licoltcm -fr\ro
6tt.c
Io
lsisyv prg
(60u.,
ce
8ec.{.r-Li
e
t6e
filctvte
an d
$qle, e'rue'1,
o$
rnuor be
a.re
rl.Bte
Fry
creorcd
%
*'nfl &rrrr
t* G.re-
t
obi'c+^
d;lf<tzt\t
wcbappU
calrl rns op
(.|c r t'6
)
se!
vol
.
N.-blDEic
&s
Lsr
DoF
i5 pos6;ble
.pl&
in
fdecalrse
flerGntcr
r
(-)
oF ruxrho d
is nc*
;rnpbroev*<d
dATGr0
l-->
F;rst$rv
.iav
c1
l---r
F\6rSw
.
clara
ftt6
)
RelrestD;sror<ber
D5Hrntrbn
prqJrarng
*) "Ibe
above
dlc.B1.(rr)
L,dsed
SelvtefchoihiT
po,t6 i b\e
)n 0rhet
genvan s
.
io
rbese
Se-r,t
e{5.
3rt-'Arre
WA0n e
V,J E9 -IN F
I r-
,-
--,
f'-'Fnr.'btrr') I
I
|-
> hleb ' xY., I
cl rd6es
NES-
EN F
I l____
_____,
cl.,ssg___
__. Secona
S
v.
jav q
tr
f--"*.*-t
l--
**r6w.ct(r'J
l$ebbgfc8. r
horne
$,rce
Code Cr?plicoHm : -
i/
Form
.htrq\
(waone
Ane
)
L%rro
cru,a{)
=
*#_.,#gg,t"ffi"'
-
vctlre:
ziorxf
"ffi-l'o"t"
rtrne
="
t't'> zbt>
liot'u*
fg
fie
="srbrnrr'
W)ue;
'itPe'sarx'>
44"o->
l'
-^
l/
l-bYV.
JAVa
inP,rf dc\\ox'
f'ilW'
x)
P
;616r'ft
JaPaf
'&notet'
hrt?
''rl
trrPvt
idJa
'
lo'
ie i
Ri.bllc
.
c\ois
pict5rv e^tords
Httf
Sc^uri-
{
*u.
vo;6
dC'rr(H6t2
n1' HSP
te<
)
rtrtoc':s
sE)ro7
SoP(
cloC'rs[-'-)
ef Fargv-):
llgrre"<tt
Qth''ff
**' r*G**fUn"
('
ten' 1l'*-
r'
)
;
P^tt^J',n-
Pi,o =
f,as
6ettJ+tt
c>;
ol o$ove
'"a
.
-:
v
loPorr
(-'
)il*
nn-,
(
1
ddnu
1*a1e]; \,.
\
\
llcLc'+t
\-,
'X^
*M,
p-'"T^r(*7'6*?^o
*Ct'"))"
Ih"a
"*il^"
laPate- Ual-,.e
iyd-
yEsr --
no
nno
i . ,
g
l(1.
4a>'tn'tJ');
fu';'mn*ln t'zb>
-fl;
h(o^r-
lolr4l
/luzr^J"
$o
'r'syo'ot
&
9"^t(vu
l"rff
'
.
1ork9.aet{i**'
ou: e*!
&h#:cann
(wrc")
'og^*t'**
'"'
=
6o9*16Q"re*t
())
tgrs*t,o^*^n
-"o
il
w
&bl^/-"otto'
(LJATa')
StaaArrcr+
ec*
=
yct'
6't?o'rur
["
wmw
^
)i
tl
bt(-tltL
peay'rrl'qatt\'"'' r/j|,J)
V'n9"1
.to
Sn''Jl'v
f3
2gJ,urD,rW.\^
td-' sc?'. gu%'g"nrf
Dxtu'k't 7" lsuut' ) )
-
]d'intlqJe 1-re4"rc5)'
]f
aocxqi3,);
//
r.nb
.
xrn
I
(w aone a1-+
)
ConBgure
Fi.gr$*
po6ram l'nurn3 /furr"
Grl
Parfc{n
'
lt .
fl
Srcr45tu.java
f
NnTno fae
)
import
,pvax
. g*rO.
*;
inport
java:r
.
Sp.ter
.
hH'p '
,t
i
impm
java.
io.
+ '
Fr'blic
closs
Sec""aSrv
s
L
xEnds
+lrfP6a'vle*
ftrbli
c
vo;d cloCp,1
(H+i9ec'{vterQeryr:
t
{
8
o'Pt' do6rtr(-'-)
o? &o'oabrv
llg-er"t &lhD63
y6 .
6erGn]t'.4ee
(' reor/tnrnr
'
)
I
Pn
nnh,lvlrcl Pa
=
'(ea'
U"rlnJtitt"
C);
llreaA
-1.."t ar.r.
int m=
filqdr.
p.-r.Jnt(rut'
6elP.tt"ner<^l
Cfr'
)):
ll
$naoa
-r|e
cuJevtttt
int 'resf-
n9*
Do
+ Do
j
po'f'nrt\(
"Lr"'
'1-b2
the
ll
tu*, dtse- t\e
!ila"u"t-'-;
frrgtrc
Vorcr
LP^,
lhsn
L
dtfur (rx+,
"-s);
J
lluP'st
t-, -2
]
ll'tau
r4,
Hgtz
ruz)
*l'nns
*)='
uE
//r^rcl.
xrnl (blnr*o
fttf)
Crr,9i
gurc
Serrru&."
ve1.,
HfP&,rvtctPes{Prsc
res) +rrrcs
');
SE)
IOE
re
-\.
ctbe VaLtt-
is +flH
)
FDBram
[orrinS
"/sutr
"
u,t
Perf<"
a '
,One
,
NATtoo $tdurs
w to LQtoae-NdDtogic
-tornt>\
cu*
-paie*\h"oins\
t'
4avgop11oononPlrour'tutto
ff*"
AdvBorchfomtin Sen
t" .
cop!
h/Aone
,
NATtoo
rrrl
:
l'1*p;
i/
toal hret', loto
/Ht'one
/
f"*.hf^
t
*re nrlni A
lbe obove code
etGn,rt^t[-
) is
Nilr rP'l'
41n 1q
hot )rnolc-rrf:nreJ
-lorrrca-t,
C-r'las6 F's b
, $os6
6grn'ors
'
Bel:'^ds
g
i n rh-i < &-.nxars
.
Lit'tri.^5
mirh
Pr?reltD;qrat-hey
ob i-
$">
fhe
Sorrcg
g.y1q_1
loe
ibere in iroo
@'>
fo,rc"5xvter
frroflcrrn
Cmd Dsnrr*;on
Nclo{tp\icaldc.n5 {
SCrme
&rvet.
fu.r
lJebLo6t
c
f|\ --'
-Ibe
Deslinolion
6ewc'r,
v(6o)
A6p,n.r FE
anc
rhp
";bc^r.
PrDblerng
ail
to
os/rrfllrr
=:+::-=
ae
&rv
ter c l-nin ing
Can,f
cJiP F
ever*&r ve,v s
pnr?ram
*"',,
[g $erre ;n hoo c{iPfete^f
fh;S
Com
rr*,n:cc-Fl
crn
cacro
t'S olll
i
r)
prd0raro
ceort be twn-io.tte
fvr.ttom
IiFe
?hPfT,.
ele, -.
. .
Wkt{-
&Ltvluchc"ni'1
w;rAoet
Ltsin?
Qlnt*tD;'g'*'J'
et
ofuett-use &,ll}udrreuoa
anceprSqyx't
a( *s'x'aP"s;rett
(-1J
&r.s4't
&rrd
Pedtre$
on
lre4i"'t-
j
frro|cm
Ond
OegHnar;c'o Pmrdm
&f Pener*
&Tlappl;cafirns oe 'ftno
-lfifrrforn
Lhde{ 6l-andin
Fmt
resPt'n3q
C4444j'd'
bfl';ost/'.
ulntldn
i^r*a 1
Senvl
DQsbihc.Bsn tr{
u{l
\,
isror"..
t*t"
Mo}rna
60
N
1' ro $e
DidflrcrYn
_
O
--,
Clienr
fivJ
1q/us
l-
to
Scu{ce PrD{'&Yn
Slvl
-
e)
-,
All
lhe
stnrg in $rv!
tmflorn
e^
edr'cs irrcludin6
'us'
ttna
Pudired[-) tnerlrocl -
&crrtse oF thi.,
rhe
Hrml cl*Put
Bet-eal]<A
b1 $rv1
program r';tl
b cltcer ded
.-
O
.->
6rvt Proffc.m
sfld$ imp\icit
Yaspctnse
to $e
btrouxci
toindoo lp'oint
deri-incJ|"n
Progrctm
tt'{ I
cDlleftd
f'o'n st''dPedt'd
l-
)
nt*r,el
'
Th"
s tojtts
code
oP rt,- s
Teqsns
e
i5
600 -3qq
or'st-xng brotosrr
Loindbul 1o
Fd
f<x
rn
Qedirecl"t
cro
'
-
@
-t
ftotose't
u1i ndolo col\eLt6
fJesh
rot{c'n PrDt{
c.m
uxr Prorq imp\icit
tspc'te
ctn J
fle,nerottt
irrp\rc.il
reTcsr
t6 Des
ti no$an P*6ot^t''
(
orv
a
)
['tt'ls
is rn'b'n$
bt'+
stna
Qtartttrt-'
-9.-'Ar\
$e 6rmYe
": ":
.T*". X.*
co\crdor,:,
\ooincl
o"\x
the
hm'r
O
--,
Br.rr. @ogrc"rn
*rr
$pr*""
*T.,r
a"r**,
ke0poiot.
:-
^-,9,*,'tA
*naBedr
rrc.o.o-r
Lc*e
d
e'tv
le*cha-r
n
in6
'
*
g
res.seoaRcdi'e*c-l
rr*hoa
pxgor'ns
,:;;
,qa.st{r,
*-'se tkvns'
o
b*
61v,
dnd
grv?-
9r6e
!rir)
not
use
st'me
"*-t*;,':;....1
o"t*''t'
in
:rv? Ft{ctt']'
Foilo,n
la
g-,ua {xoXiaYn
aar"ta
Wfigd\
'
P'o*n $r
ri !
O
To Pc'ss
oddinondl
dar('
xb
*'e
orl
"?
tes'se"'al2td;"ctL)
OcLttr.*
oP
Sx',)
A
|'!t{rctYn '
Fd;'
in
6':1!:
r
*, ffi'/seurt
? sno
-* tot
("'o-e
=
*'ri(c'nrh
"
)
l
(or)
res'so''a[2edi'e't(''bttp:llldalbosi"'-lolofnrnaJsao't?'5n5=-tol{st'o*c
in srvB Pr3
Srnnt
5,--
9
'6ttPo*..,*'
('sno");
-
S*A
g2
=
rne4
Xu|r*:at"
f
snamc')
)
.=
StUo"'nrh
':);
@
6rvi
irrrc{ac}s
coitb srva
h
l"r''i"5
ohe rf,'rtoodF
ta:tnd niPairl''
^tg,n*^-,
(f
S',vr
and
gY\,a
Pt6'ns
Crn be rbc,z io 5:.-e
aebappliccrltcn't
(cn-) Con
bc
r-
$pre in tr.oo
d;{c"t,r krebd{,piico$crr8 oP &roe
to')
&PF
ser6\J<t6
0
Whn
6rv.l
cmd 8rv2,
vest des \rr
Qclrr,t trx-bolptrarHarl
lFcn
eaz
(an pat
re-lahue
uri to) olsolufe
urr
ir, s.senJ[2drru.r(-)
@
@
8rv&
can
be a
&'vretPr6
o
JrpPrt td) Hn',rtr"l
t4
ptlP P'X
("0N?'"t?'3'-
croa lle
"
-.
0 ao rer'rHrnre
prujer-rs
senal&drre*toq
\s
usePt'r
tok'q
one
c-of*t
\-7
Crr-\.lrylt"s Lt*et*)
offxf'"{
QenIa'Y'
-
F
q
ecenar
io l-
P(l
---
ilen
a
*4teat
cttrnhn
k'^
A'c"-
'M
.-
!olrc.'
C,-P^\E
at4t'tvet
coitYnm4h
"
be
*A**a
tD B'ct't
\
*T
s"a?***'tt"l
C-*"tb'
:
WAffira
@W1
""1t*'5
Wnil-:Tery
,,
\-
-
*'
$'e
v1*ut;;
}/n:-el'otn
tfl\L\
te e"a;x'rca
n
*Y1'M"t
t##"(oqar''*+tn
l*
-'ry'*A
i,i';"u#;
^
gu"tl'e
,'?Teer
&^^
dt'ol^l'san'on''
rct't
E
T'J"vtt-c)
h^t*LgEeonn"
*T
"\J
il NNw'6ra4le
"
C{m
'
*--------;- dt'\'t'4Yn ointr
int'b'de
1fu
t.sY*
Norz;-
*,U
ssa'R,"d\;
:::^
rry+
"Y::Z--
-
pNri'rlple
o4pl;cahh 6to serd
Qcd;Y*-l.A
cn
""-
urtc'r @ioao
ol
dlogram
--r En the &5ove e*p)
6rdn8
t0 the
Peploqeer6cnf
F6'rvr
Seods
Vcnqe.l,
Vc(tuea,
Volttr 5
{1rl oP res.SendQediTe+(-
)
Direor-ct'!tr
3lr&ct'tYe :-
: {oft/ l^}rre
i5?rtr
r
?
<sdroe chr"
>
c
gct
vc.i
Ssiu t"o6t
tn U1
oorrndlnX
tet
&d SUrD dak to
fSrwjala
F&v'
dcrrS
wf r
--------+
nrt
-rr'rr
f-..--,Fo,-
n*t
T-
)
ebrses
l,J(-b'xvo 1
T-
Dqiolee ln
Tonncor S({$rd
C19pt
hJAt
-hdr{ f-o
4-Kf,I)cof
-kJrv
z
\
wcl"r'ls
\
ru
nr
\
) hJE6-INF
.l
\ r all$ej
I \ F--
-----,
ssl\ 'Jd',
a
l----r
t1.;eb rm
l
t
,,,,
_,
gsrv .
r
l c.y
in
fdv8crtchDcrno
n
Jcnoo(
op ,#lto6ic
r.-*:.q\ aarfar.-1.zlsrnd,ir,
\dr4.
\iAa {trdtr
t',
,*'";
-^ttt
*t
-*tt*\
d"nans\Adr&'rrh
^;W
tJ+/tr14"rL
tl
//r,rm
.bt'n
I
(rRr u*eoe
)
< For .q
aclon
--
"
fur r
'
rrr-rhc,d
:"Jtf
>
lc(tuei : <inFr
$0e =
"rtxr '
rto-e
t "
tt' >
t\'t
>
vqlqe
?:
Z i^trai
t$re
=.
l(rl
'&r\e
;'l
11' >
z-{dv
>
Linyl
Boe
='su5,n;t'
vrrittc
=
"
ctt2.&'tls'=
!,JAe
Deelqec
('
.orl
6o(rc
e cc'cle
j
-
.1F^,n
[
(6w,ia,va
txar
,**0,
imPort
j6,Y6i*
'
ilervLet '*
:
imf{,Yt &uax '
Sawtet
'hrh
'
*
'!
ifln?afr
idua'
io *
',
{rrbti4
clo( t FJYV
e'trnd5
Wq6ontle+
{
lu.bri
L void
dooel(
[+512
t<ovuuf
'
[tS& w*paru'
)
rl"ttut
5'g'
JoE
{
l[6anen^t
Seit'ngs
'
PrionLi,rw'r
1'o
=
r'urnie ' 6aLltircrcl
i
resprnse
' suGort"'*T!r'"(
'e"tlrtrtt") ;
fiwoa P,r%arq
t o
,r erca Lt;)):
fua inb
valt
=
Jr*4en '
pc'<eIrtr
(rt4 '
9
enarr
inr
\r,:7 --
t\*<1c"t
'Fty.J't-
(cen'
Svwc'netta ["tt-"))'l
itrf )reJrr'tk
=
Vaft+Vct?'
)
Ptrr. Pirutn
["
htv
;
&m i5 i " +trst't+
)
;
ll
ft..re
ffiot"g
5^'n, %^*'a
amJ
9'me
"restrlt'
5't6ng
ryUsrr
;
"P'-
'tvarl
*"
{lt''"
:.vaJat"{Pu
="
awsult
i
llnd;,t-ct,
$e retyw
ro SSYV ltYlrtrra\rh
L,
ys'Je/ndQedrr{/-
("htto;/
locathost;
zt'zc'/uAa
lg
szvttl
tqruw
);
s.o.
p
( FYv
i
ih
dafuuL-,')n
)i
\
lttoauC,);
Pttbtic
void
doRsr(-'-)
s
'
lo'nu
(
,qP
'
t'
,
\ts1oqtL
) ;
,-
.t
3
//we
b.xrr',
I
LtnAt
LtLbo4lP
l
Cnlt1u"re
f3rv 6irl
"
/?t''"
wt Patturn'
f
bs,n'jav<
(r'JAz
uuttYo
)
;YnocYt
JAJja
f
.
SenlLUr
'V
'/
in{x^6 jcrrnx.,
5c.,rv
ttf
'
WP
'
tt=
)
ia{,,rtn jcr.ia,
io
- f
i
fx-Lbuc
c\&-ts SfYv Oohnds
Lttttt
gu4',LLtr
s
L
\i
7"""""""'
\J
?crbti
c
Void
Oc'Ctrer C-
'
-J
e
il
1e;n""at
seftn1s
?r,nrUn.tr
1ro '
r('fl4l'$Jh<n()i
^
.-Tlpe I
r*'/hfr'r
J;
.'c-s
lon(
e
'
6e* Lot'l
ll,aA
data
6lut-n
b1
F.'.J PYJ
i'rr
lart
-* l.ry. potel^r
(,oq''e'r'
fPy*
C"p'")):
\(y*'!.ffr*'Jl',!,'
,
inr Sum : f,'*cr ery
'
pur
el'r',t ( *ytn
tt '5*{o'non
/lcrr
w"ttt
P\no+l'|a
v"l.Le
Ini rrrd
--
\laf
t
* ValL
"
ll
l*Q
k,t^
nstx
frrr. lrinrtn
(
"
zb' >pgrv
'l
st{m
i6
"
lsLtr
) i
Tui l"ny*tn['
Lirrsirv
: rnql
't
"
"tn"l
)i
s'r,.
p
L"
ssrv : drGe,
L-,
-)
-ul*A
"
) )
]
B,btic
V6id drPosr
[
, -)
c
t
aloQ".
("ept"st,
w sP-rc
),'
a\
Y
ilwev.xor,r
(wAa Ann
)
Crnfrga"g
,ssrv
trl
rl''
"f 5e'-t'
t
t
art FLttcf
n
ge.,ou
4
ubl-o6l
c
vV
f
f<'ro.'htn
I
&a,rt
Yofi'tc^t
gx\x^
'
AdvbarcS
!u".c,\n
re1ret t
Lwl ',
L*rp
:
ll
roorftos'
:
eo?- o
I
.--> 1n Servtef
ctr,iqic\g
<re
Ccm Sttl]ota
c]esH
ncrll
or
1trug'fqyq
&o-
Sur
ce
rtraot( de
sh mltcq
FrDgrarh
(trlg
rE&rc-ut
thE
KiAesf
io
'qlar
Co') telof
'
,
nrDqram
bt
t
toe cotn'+ lnclt'dc
rts,p-
lt
'P
f
'-r
d
Luot
detlndtb"t
l"tt""t
can inclqde
;[g
tsPonfe
hJb6t i6 ibe di?PYoce
blto
'rd
'
Pt'rat"d
t-
'
-)
0 Perkros
km':a'
d ft-?lrrest
ft'utn
o
?
Serv tet clor
ntng
(D
0oth
Su,rce
ond
atest-;nort
on
pnsrc(Irr6
Llte
S"rnq
neofre6 i
cmd
YeSodflte
O$et-ts
0 Srur.u
gmgrcrn
f&lla-S
Lo;tl
dsfi oertdn
Prg'n
&re'r15
(! To fr,sE
crddrHorot
d6yq
ftora
Sotrne
pr6r
m
tb det
tlnc^t{
c"\ yvo6'rurn
use
'r+resl-
ortfr{bort(s
e eorh
sccoce
anJ
d'ellinol"{c/n Fr{run!'
c!^r^
b
t\ar
scme
(,Jck{'P'icldn*
c41
[w)
in
rruo ctifftxnr
rudce$l'ittilt4ns
&
Same
g*t"t
Q
OerroaHotr F$rm
CorrSe
)*-1
1'rg,.n
Lrr{)
9/\rl,t-
[rty"r
[afl
jsp p"'graro ,
dor mt dlloqr
&sp"he.r
I
plr?
pflN
ct-[ &J}inarlcrn frtoftt
tt{
rd. ftqc,r.td
[-,-)
cterd *r' s"naPt.a'*ct
(-
,-)
P15 '
seM
Qedireu [-'-)
@J
*ltt no+ Lr(e
J
{tPtt t
'J
@
o,.rc,
prgrn
rdls5
1r:5 $
clesloaH
co
P9ltn
ho)y
'--'
ient:aft
ratoil
Ml
colrh
bvo
o(try
a;odou''
'---
'l
ofo
&attt,
9rurrc
1"''"6t
ct r't fn
@
ro
potr
qdd;$(fnol
.,''u rrvr'|'
clegrt
rn-an0n
trfATY4
af'W't# V/ra\
gnry
\J
to
the
t"r\
+ 'reg'
s"'d&dJw-tr
[r-)
medoj
'
l
Both
So'rce
or'ld
densnaxt'tt
lD{"ani
Ca'tr k
'j
\-,
y\or
i n
5.,-'*
r-de'Pou
Ld."tt ?'a
an I cOm
L(
\---'
llc-"e
ln
troo
&tW^t
w-ba+o1At-aJlor>S
'---'
garne
[c't)
dieft"M
Sem'jc{s
.
@
E
"tt+-
frt"{ta,\
C4h Le
cL^9
fvff4.r\\
\'7
incbd;ng
AsP'net,
Pff P-flaftl -
\'/
(!
{)e'rP*mS
5&\al.AiYeqi.m
roocle d
5c{vteicrrll-k^i}5
coi
r,t be
Lhlil\4e
O
Dtag $wuatr&g
.ce1&esl
onororld"n
VwwNa
ctddrgss
ta{
be
charqe
to ctce rahen de;$\qilan
tocrrt
t-o cL &ru:rtr_
Irnf&rtr
&rt in
Yhe
Lr:i \ l
hot
'r&lrnrrl0nd
1r'q.rt'.'r
tu
d
l's
@
ruaanr\O'rtde
Irr"y"n
lu cr {e
b lrrn
tleg,il'.r,t.
oh
Yt ho
R l-0
-(oorce
lm
fl
aU
Wbor 15
the d, PPetence
tlto
16 ' fl61erard
(-'-)
$
perftrrm 5
Parao'rd''
ng
'rt3l;sk
rnade
4
0
5cI
v tcr c-hoiru
rlg
source @
Q
utrt
oc4f&t
o8
gbada
F-g'frq
(d;rr be
oltscardsd'
5o
the cmlS
htmr
ot.tpctt
og
des
d ndH
crn
nmqrirm
$oer
+o brnoltr
''*
^-
(6 ftJpcrn fe
el
Q]
tue ft"r
{.x t'{t-Lr{
SerrvEf {an h
gurcrtf
c,'a
6. Pa.rud
t-,-')
on{ rd'inctadeC-'-)
rd'inctudeC-'-)
0l-
:
{)tF
furrng
lncrtdr
ng resfr/h 3c
mrt{e
ct &nLr
ehaJhJ'r5
Tte h*rt
oLfPcrts
og l"od'
Srnca
a'tr
J
der?tnd}l
c.h
frruilGJfl3
fc*ken
8otD
baaYn
culndo<u -
u s Pzd tu tnofude
ilre urrfr-*s ftoo
&irnmcrr
fagr
. (uue
IleoAe',^u lStu;
rd- fuNr:ar d
t-,
.-;
e.".{
fiS.
&ndPediy#
(-,) jD
[nri
Whc,t
hr'ryrni5 lP toe
ploce borh
drr
e
Sedvt&
Progr
t P't
jc'va'lonX
.
ilte$al
EtateExcettvl
an
^'n*
fqpc"*s iP crrt
plc,ce bA
rtr'
Sejl4)l&
frYgiafn
'.
yDr-
-ile
ePeeqr
"4
td'iqclt{
rio
G/
-)
tat;tl be d19'1
t&lrs ?L&Le'
6;4
59
ftrroo'1
Rx-'r,td L-,
-)
a"r d
x-d'
lne-tu'do
C-,
t
ih
'rn
e
*b
t{.e eW
4
rd'k""f''d(:
'-)
@
0'i- r^rhor
knletss
iP
c
Aor
rr{norl
crn [/D3.r
crrn s
W
Tn torn
(af
&rverl
fn GfcrssFsh
twt'er
NorE
".-
rrrcrffo
dg
P.,lnj/
ng
fu
rnr'h'P
le
0
rhe ePPeer
c'f
SEnil
r{dircHoo
g6ill
be
t}'
ete if
coe
Plc'ce
Lo
rh
rd" iocl&dec-''-J
und-
.ce
s
.
senaQt
a i relt L-)
rra$od
ln one
'Stwte+ FrDrr(rh
'
g
i[ toc
p\ote muttple
xl '
inc-tttde
t*'-)
rnu"ltods
ir'
crhe
&rrllt(r
Ft'fem
c'U
Wrrool
u)itl
be eP&*qt
6
IP
qou pl&ce
mu\$dL
"ptl'
se*+Qtd'r1q
t-)
rne-d"d
csJrs inctne &n/lil-
6trcn'^"
rht
rL
jooo.toq
-
;ttqJSaeEroc+rton
&eltt
b(
rol rl
.
Excepttdn
utirl 6e
rhrotrj4
ilteSol
t l((,te
lExce4tl
on
'
y$e rd'Rr,:c'rd
L-'-
)
'n'B'k)A
lnil
s?k'r
f<'lps
pLate"'
,
()
-.d (_,_)
]AJJ
rctttsdl
'{'d'
Fcnoc'
in ore Sa+*e W1'6-qrn
'
_---, A)e Sua.1tn3
ATe
rhe
c{{]S |n dip
peYerLi
Secor-ch .ng
inee-s
lo
petkn
m Eeab4r
Ofrrarlror
T"sr
ft.'dm
n
4YnQ
935
hrrp:
l/ nrwr.r'6oo9le
'-'r"
iTrsL?
4 =
seveo
+
wondg!- + gll
+l!sio
(Wob
"tsLce
tutnl2
*41tns*
gotu^
Vafu(
'
9t"9j
-
5*llll
o.or,r
.
bint. ccrrn
/
t*".r,
2'
7 =
rva
+ seu.n
+
uaond<r6
o
pn.r.rne a{rpucqHan
6n So-rd
Qtdrre4ian
fu maPe
6tU
ux}a'pol;callc'4
^
}ttl-g
to
usq
rnut'h'P
te
gr'YLh enfl I n eA i
Ngi-f,othisofpllcdHdYlo.1\1,&1&n.'Jtef[rYlgTafq\nt<re'l-ts@'r+'6yd,Hp1
'{tmote
qnt4otr'Tr i*hntlbtiltA
bleA
uebYtsdlutLR'
Wtr'u's
"{
J P'*+
Jea"<}
&6tnes.
&^r
itil s
69
cr:(
rntrr t
use
enl
'l
fl2edrrerrt
ea"-
Johoo
SeorLh:
-
htfp:ll in'se'ccvth ' )ahoo'
Corn
/
S*,1, ,q P =
ne,to
+ &erJn
+
t-/:
cmd
e"<
'
sc4
(.di
rrto
('
gurrvyswr n
9)
Atf^v'
@:IPti.tr
DeOtoYe
rrpn*
DirerrcnX
slrucluw
'"-
SarYch Srriog
i E;rtd-l
C6 tngi
ne
:
O
G(,ogle
0 Yaho o
O aiog
Sec.rct,Art
uKb.xY'r.t
6eo.r4'Svrt'
jort
a
l,U"-
Y4lresi
Ll-rl :
brrp
:// tocal hott, : rr2o
/
Seo,n rr*W
/;nde"
.h*rnl
9*
oboue
dr crgraq
bcrte
d srrrrrrd coJe
ve Pc'l
sapucx,A,*,(D
4
@fu,rc-t
@(@)
horr:
to p54g
4o1"r
b\$ Uflow-sernCe
Ptogrctm6.Q
0''"
I
Ans'.
in rhe
Sorne
tD|&fPltc&''lo')
(q
\,
uhcn
6o@rce prcg{er^
dnd dett f}foSr(rn "/e-*t
de S
0,
reryresl
c'$riurc8-:
Sarn
rq
and
reiPc.'sc
)
o'fz
nbF
Ldn?
some
b1xrn.!tu
totndot")
,
[use
tlhem
Sotu ce
sciitcrn
Grbdbf-dcs
:
t.3
on'd
dett lxx
u'ses
(ure coht
So(l-'ae tff0
Se,,vl.et
Cortrc<t
/
*pttt'-tr
^
&fhlbule6 :
f
rnet tohtn
Socrvre
rnfl
cdn
J deit tn{s
oJnt
not
6erti"t
velpest
&"
8o"ne
and dat fnry
geB
""4tot
fto.
'q,,1e
bYdtta
u:;"rdot"f
*4,r'e-s
ou1ettj
trettde h
h"o
eb9+
ol'ut&"*r7:
[Lerr
s*rte
i5
onl
dtrt
frq
6
ogrc^d
?oo^1
sl"ri*fl
l" dre
cri
t4
yes, &,al
P.**rtt-)
m'trt^''tr
ps.3nd P.a*.t
f
urt'2
eryo+
S**l
)
NoiE'r
c.*ribul{ ls
ti na*t
rha+
(qtrt lpL
a
\taJue
'
fl6s
a}Frtuate
.-
h!
troJ wlale
.{
ull
rlr
Xrnt, ti+rn
I tz'{ s
ait+r'!'rl-t
'
yel.
6elAitribrrt
('c,9"", rc) I
orfriulle
mme
Tnc6t
be
6Fin5
And vatue mu6r
be
->
@
heve kre
can
Pdst
$mple
value s ab
allYi'be'rt
iol-o
doe*s
orthorrn't{ntt
rhme.gh
auto
bcxiog
'
trr rrrocriPq9ntt riYulc
\io\ue 5
:'
te1. set Attt;urrc(" r,a.e",
"16'rnesb
"
)
j
*
uurvrtt
f1!P'+T.
muJHple
o*.Ufo.-,tre 7t33
s1h"o
pan'tsauft5
on chjed
Vc1LLr% -
badtu
e 'rteg
coin
be Gmlc"ttJ
klt
est
Afl-n'bu,res :-
in
nelrr*t
obO
t\e rqpoal
cude
&Ye v i6lble
in
chointttS
-)
Vi6tbte
,
r+!t
t
In
Stn$e
thvuagh
ot t
c.ltfib.44
stmrtft
to oturc lqlresr clrli
ibulc
rel' setAftiuJrS
(" *"'e"
'
toU
G
J
rer1,.6e tAuur;ur^x
("age",
=rot:
P,j,,' ,. Ccrnr(l
ted
inh
lnKget
cr;1c.0M
cla'lL
obj
rl"'ragb
olbbori3.
NcrE:-
6srAfiriurx
(,-)
cyear$
Ibe
nellr c[lF;h/}(
iPTrir;u,e
is noh alYeadl a'ail&ble
'
O$orloise
rnod,Set
rhe PrlsHnS
6lshiVtt
ua'tar
. YAr.
torecd
-rcu+r
iitilc Va1-k(es';
@
Sr,,ng *.nr15n,.,s
)
*,!.
gerAtr;bur' 1"name')
ho.or,J-o,nh*,,^ l!-L=--Eg =
[tnrcge'1'.t1'
gerAfiflbt''F t"oB'")I
---r
A*oonkrlry(r'rni-,oi
ir tdtetn. J
{orun
Cr
0f
Tnrc4 er
or
=-
(Inxg.,
)
*e9,,'
N"t
Ar''rr,ux("c.Xe
")
)
-
int age
=
C1. ioA/a\ue():
@:-
I ..
r<1'
rerrove Ambt
t (" ncr6e
"
)
;
OP Qnve-rtin3
Srnde
Vak'teS
CeHe
d
"
orda Unboxtarq
&
6pec9ic 16
g,$ Yerfast .
ortJqr'ilicc'U{
ta b;rapc,r
dc.rt
ohjt-tts ils curcd
clre
fitokU
Cztared
in
al;rest;
bl c
irr
hj
Srv
1
W
rhq
-.,.tt
6er
the
rYeft
ol-l
D
fran
,rw
lilsle,
tP c'dec|-[e
.S69;dp
cfki5c.ts :
-
fiwp
&sston
ses
:
yg
"
g.rS"rs;*
g1i
//6;"o
s*r,-
o5
see
.
serAr*;b..r"
C"*o*':
,,VoL,e2,,);
,"q'
".r**Ann
ure
l"
c^6e'
)
I
Ncrtr
.-
15. nr,.55
And
nrrrse
15
->
rqlreDt
0t+{
i
L&td5
.6cg;crn 0J.rYi bco(5 i
-
&ssi('n
wiules
the
SeJslo^ otl-rirr*e
br i5 vtsible
and
S,seran ollr;h^ie6
drlocdle
rr*,m'<r?
in
bt?&ssr
on 6bic't '
----+ Sesaicn 661i[r]er5
oYe
sPeciB
c tD one
&*o*'t
cr]l
ncloto '
6r$$c,n
atf,rlbil]ei
are vi's]6le
irr orr
rhe {rebwld664 P"rDranffi
oP coc} 4PPltco}lcn
rhe
irresP''r"nx-
"t
rte
<+4*a
ab4n
thcX ave
r:rsin6
'
krr
a cocb wsourc
ftDfttns
'ttu'srt*
'ttv]esr
/"n
rLtj-
brooo ,,nao*
&
ohcl'
6e:tt*1
alfrh'rct
ailY b@H
'
rlE o're stsd8'c
fD a Lrcon'n corn&o'
lryogr..rn
bj
B"tl-]Y
m7re'l fron
bvo(*tatotrn?'@,--,
rhe
ult *sa,w,
Wf-^"
+
afth
a11JSu''t'ln
A,
gn"
la,*"wr^Ja
t"1'
QtL"'Ps<e
darfo
&)s|lrq
'
AJha ---J
(Selstoo
olh,
Itr
&s. arAi+riburc
(
"crO.',
ao);
&<ston
oQjett ctllocaT(3
t-oan-rcrr5
;n rbe
gxwx
SQssidrn ofi-rihrfes tiaf
wJidJ
)n
Sersan
ob'i
b'r ;t
\xu(:c
to
cne
aleal6o
sryciA'c
fo
crien-.F(b5fffi,
laatt't
Ctttr: da2
ss
,6erArri&+(
('age'l
er))
fu rtad
Sel6idq
aftt)ar l/"lttu
i'
S*"fl var
=
fSn'1)
s"s' g.,Ar'rur"
("an-z'
):
jnr
c.ne
"
(r,*.-ge.
)
ses'6.,fut'i-'1'&");
-19 lrotrr,e tewlan
ath;U*<
ValLe'E ' -
sps, setAt;&+e
("ott'a",
''vol
t,''
);
**,
r."*utA*' *"rc
('
an e""
);
set. wrnorc.
Afti
aun
("
o4e"
),
coir| rtot b
fr-ecrrd
carriralf
Cbr)
NoTE:-
s6, the
tr 1rrdr&J ,ses6ian
OJtuA/Je
1lbfues '-
rclndoco
c6
C\ieni '
->w
--+
Lrlct*c'r
a)lu.
gsrvierCcrnlrxt
affr;bureJ :-
fhrs
ath,butet
albcatt'
*-\
in
&'vk*Lon*<'n+
A*
e lhqe
ajfuia.'tzs
art-
6ld"at
dll'ww!
o{ a nAcryl;cnA'^'
uf\,to
atl'rib*t-s
.or{
$si{a
in
a'tt tt"
pt'bwottvtl
f*f'
eP
'!Le'#bu!+%
'
-'tir.<syzrtxa
o{
+l^t
*Xu*/
Yeq"-tveL
"W
4
are tutT
'-l
hrtsy'd'lu<
af a
b,,^su
w,ndo* I"*
nh.t +!,V
no
Fh\
*7"''t
dn*
atfr;5r,ler
ave
(oi&lrlon
lol
Al(,6,1
gt+riLuJes +
6
wlrSilae"alr'
$cnl,ftr
fo,rfea
ai+rih^Jc Crofel irt
$v1'
pro6a.r,r )l
ltrlute
u'"rd ctc'eNDk i"1
"l-t
Ort^^,r
{ryD1$ms
lrwrf
ertlu
,(
or4
Cc,rrd&l
*..
to C',"ore
9"rerC-mrt't
arhihrr:-
fu,n G^to.
*.=
na*nwCo^rcxt
()',
ll6lo
k*utZ"*"r
"A
s.'r+A+r;u*(
""rt
a
","y11s')
)
g'
se:Arntu^t<
("5o^, *
1'
ec.
serAft;a,rc
l"'
*"',
"
vo[35") J
sr-6rrAft',
w
[.^6.",
+s)
:
-17
wr",are Q*G"Y'-
M*::=:-
-r"'*n*tw;b*-C
*t
/;
g&]e'rnow
r\ot*
Ct");
.-
rE&{t
ofh;bq}e
vfqrifsl
BcBPe
rhc*r
r*gns
thcl
are'
tyakc
P
ewh
ScoPe
i5
\i
\-)
e"tL
b*Isa
W(af
'
"
aj't
if'.
fr
-',
gest;cilt
Aftt;&.r-.,t'\
St p
;s Ser<-ion
R4'e t!"*
"t"z
+K
t'"'
aiqlov
'
*'0p* vn't'
k tl'*'qL'^ts
Cape
i< a++Acatlong4--
Wr
mealhs
'
I
-z
gzntrcrCw!<-'Y
+#W
,tt"
bd"t!^/-dl-
?oaaG,ta
t
otWt"t<
Vilrlc8:
It-,
\-
tl4tnand
tile
ft1uest
td $rva f\
ReluutD;rp,hu
yd
>
ft1/&s,t'
yDTn
t'Dxeau (''
ls,va''
):
fkbric
V1id dnPost
(Hnbrkt
Sryun,t
t$Ltt,
Fftgwl7\esroose
Il tvon
e<n" te* Co"n" t
untat<
ftrySrs;n
ses
='t-r.-ytcsr.
6u9tt,^t>:
ks. w A+*;uw. (''
atrre",
tk_iluez''
))
Se*WGru."
r
ec-
gct1otraGnnrO;
gc.
*Amf;u+<
(,*r0",,,
.'va\uca,,)
j
d
fue"d
(neoy'zst,
.rup<nsc);
s
L
dO(nt+
(ruof"st, rc4vnse
);
J
f,lt,t"*
/ stv:.javq
P(lbli
c
f
MW,W
6+/rrf
lorr
E)(drnpte Gp'Pljcodon
to
de*cng*at<
rl.e
b,+,orioar oF
dpPe{en} olfli bcrfq,
AttrSAoi
WEB-IN F
Stve
javo1,.,*t
6\ve.javq1,cta{g
6.yv3,
java/.
ctas
I
6.rv4
.Javqf
.
clcs
s
Usrnd Nelfta'Ds
IDE
c lo'15
3w3
exrcnds
H ttp&rv lc+
Pabli
c
{
ll t rnn
.ft.prest
aftai b't?
'relpest .
suAntuutt
("** t",
It t:nlon
*ssicm alh;k'r<
Voi d
doOrr ( H*p&w luP"t;.est reytest
,
/|ttg%ruler
Pcp.ns< n *"
j\
1l>uu^ts
SE,TOE
*rp-s.) fmr,os sr7:oa
value A
)
,
[
*va.;ava
ptlblic
.
cbts sfva
exftnd 5 Httt*,tu\G
{
'
Pnrccnl v()id den$c-,
-)
rlwos
i
il
6naot
g6^Ut
sE,
znE
:
'rxyz"ltte
\ fu*- SEt JnE
flsrus'Yta
*'ffie
ll
s'v+';^/o
&s
snT'iaua
W
&/-Y !*'*a
AL 'reryxr
to a"^or|'o'
fu*f
p'"7"a'*1'
FrwlJ;rtt pn=
vusTanse'
ytA)rto"C"l;
y'jfvn
,r.
euG,,t"il7rc (" tt*lhn^t
"),
fl,ual
.r.y"sr
Nfrh*
y61oe
pa,y,vln
(" g*r
: amt(r3)
@i+ri4."< Wtrtte"
+y?Irc\t.
6crht
rdu. (ont'";),'
il*t,
Sewlan alh;h't< Vafu,tc
1
llnT&;ur'o
ser
='
rx4ltest'
6tfoa"t>:
pvo.yinllnC
tAr, eva:
ana[gtt)
on;U,t
tJolz14.e
ln"O
(wa}rn.,
attr;htL
value
SuurcrGnx*t
1oe=
AuQiltletGt'n^t()
)
l\a.N,,rtn l"
zor,
3wz :
6ys(sr) ar*;gu+"
\Nse
: "
Itlr'r**l
tfle
fuyesPrc1t't'I'et
*yte*r tr
gvS
fn
vd, f.wara
(wsyttst,
ws1vorc);
!
yntaea
Void
doP,st
(
UsB
Pluts+,
Hs(2
J
'
doAu
(rqpett, *s1u^sc
):
3
j
+ sel
.
Ae$ffrart-
(**2")
)
:
+sc'
flu
Afti a'H
L'
ettu'
)
),'
-)
J
'2',
rd -,
"rxoyest.
6*D"pttDxe*Lel
(" lsws"
)i
Ane
N
eq?'it^ve.
b"t fur'r J*^a
rl"
't1,trtrt
h
-'.Xotttt
fu*
F6'
-
cn Ew+ rrd
tord
Wsr
ur6.:-
hryr'
ilt
zlthn<r: w^
f
Artrs Pni
I
ewl
futp:
lltxrthasr
:
-zt
f
WsPal
I
sw z
ffi:
lllouths+
:>"n
f
MnsPai )sws
'
ttto
t
11
torllost
"
tt'a
lhrvP^l
I
sw +
l,veb'rrn
I
cPA 6rvl
CP6 sYva
cVT rns
/srvr
LL,tl
ParfL'q)
|srvz
u<l
lutl<:<n
ls*S
uxt
Ptl<ra
lc,, +
t'm
Pfi<t
n
frr6
tnirh
fn
ait1"
fX
atA
iesaron"lrc,cainq
'-
U'
:::--:-::
!
ltere are
P TeFeS
, oe &-
lx84'
0
eron.
Crrn
rr'0 e
@
Dgna-'c
"t"
no6e
Rn verored lnrrrnagon
o,rr
+hte
6trrf[
anl
D6 narnrc
o? ozlttlzor>
ha"dsu
g
l,J4
ceb o.ppricot'ons
dYe
8lt*clees
*
o"y't
Ag-
rekt Pate
No!
@
4 @
4 ozf
t'
lr"tr
q- nrl-,oi \6
*e Q*PF blo
gs351o7)flc'n0'$emarLl-
Y"A
nng;
reP<n
'l)38e
Not t o(' 61 Jlrr
J
xta
-)
ro
ftxLke c,:eb aPr:rl
mliong ai
sicJcfu'r
v-ho4pveatlcrn
glloco
;tE
SegsiuoTrt.atq'nX
leabnrryl'
,/ ,
Hidde,l Farm
hetd
g
?) H+tP eoo
v-iez
6) ikryS-serc'n
urith
CcoH{\
4)
tlqSusro"n
toirb URLReont{vtb'
R*-rota
"ektt
Fr6e
No'o:
r
ti
eidt
r*ndXen'an*
1'
coe need
6ne
o?
the
'
$
H;adenForroFierdS
[tf,aden
Bo^)
:-
Jo R'rnr Dtap'-
'
d'o
Liil>L't
r?pp
an.Je.rvlet
fi3
->
Hiddeq Bor
i5 an iovisi bl e
Hidden
APP
=
"
hiddeo
'
OAroe
--
bt
Value
=
hellO
-z
re Pct
;nge
nos:
(Q
-6)"+*"
orlnfton-
i'ra.rr d ctrt
,
-
ftah
qn"
...--l
\i
\,
\__,
\-
\-,'
w.
t__,
\-
\--l
'\-,,
>
!{ES.IN
F
clo$eS
REae6r
&{r:
b11-9;//
tocolhoar
1}o}o/
g.deo Ale
f
nnt+'ttrn1\
DB rab\e
lD or&qe
'"
nrtSt
v1 '
jaVa
{e..cl'rtr
z t:-o)
'
rna
tlaatlad:l4"'-'
v!"clp6
z'LD")):
".4.
TesrSIva,javr\
x, a1a1ss
(?
)
>
Lw
"7
, r"t>
\fdl^e
=
flArrld
>
{rxrrried
*^:Y-r--p(vcuchox
a)
=
;Pmme(
"
]
[
,o,s (" ")
l-----f"vatl("
" )
L_._.._ Cavara
(,,
"
)
S|LT
c'reclhe
tarble
p,usc'n -
tc'$
(
mr"e
Va',cl'ra,r
2
(gn)
'
fte.''e
Pavar
I
\oruchar
a L,j)
'
Pavai
e
-l6b\e
c"'rd
'
// inrrrt'
nrml
_,"rr rrr1"
rre*,oa
-
"get'
.
LW".
6urro':
"
reP*"-
r..,",j{iij"'t
ljJor.,e
=,rr,erne'
Ncme
t Ai
nlf,rt
t{PQ
=
r't-"
'
Fod,flb
Narne
;
zi";;
tbre
'*
rert"
nc^"'
"fmr"e
t1&ri
Lar s1-ahrs : linrut
t
nt
=
'*n'oo"
To*t =u
t*t'
M
1Dt.
Srt;.g
5r=
re1,' g.rPo'ot''ttt'
(''
t'
''
)
:
//
3rut"
but'
o
-IexrBox oP
f"tt"
Pc'8
e
'
fo, fuodam erurr..lJ
of
l*ittdeoFot
roF'e
td 5
Techo;gAe
->
SoLrrce o:de
oP Exemple
A?pl
icrftdn
lkrt
LtB5
HiddeoETI.r
0etds
eass
loaTri:ak-'n9
o.ccardtng 16 te dLiagrarn o( 1zge
No:@.
DEloYee mefl-l Dire6loO
S
lfudt[\(
:-
"f--+
aPucr+'<ic'I
td(b.,(i.Dl
lif\xur
4fe
'
"5r]!tn'ir'
zlPam>
//
rerrstur' ioua
irnrurr icvox '
Seovlet
' tt l
lrofxn-r
Javcu
'
Seovtet'
brtP
'
* i
i{nPo}"
jovct io'
lti
Publi
c
{
Public
void
{
Value
=
'Ccrrti,
rt1
4
>
"+-
toE
res)
thoos
"-' cl&s 5
TeSrSYvJ
exrodS
HilP
6fd,,
le-t
dococt
(H+n&^
v wQe4te
s t
re4"
HttPseo
le+ksp"'s'
l]
gene".^t
seifiog5
Priorlidru
Ptn
=
Tel'
getli'lrtre'r
(
) )
{e3' ser Co]der*T8
C"
('' te^rl
ttnt'r')
I
llt*a f.-rl'ur't
data
5r,,.,S
mrne=
*
Ut'3"*^1'T$lil
grrng
fno.oe =ry S"V:*n:',.,*",).,
Srnn.tr
re1. gerParroaKd
t
kr,n3
lurmtL'tq.t ))"ft^
i/
Gtt*'c.rt
Dg rorni
c ftr'n
rr.Se
[R-oa-)
ll
as
hi ctctcn
bo^
vatdes
ie
(.'"6,:
'i)l]"u,.,
rDs
=
iP[r5'
e1'are
(flotried
''
))
.
'i\'
{
*,p,indn
('
zfo,ro oriion''(
"*"1:
=
;:r'
n&roe=
lst'|
''
"')'))
pul
.pvinttn
[",*'u
rnrne'
4inOat
1*
=
"^t'
"*'''.-'"""
'
to]))
fl,''t^"lt
,"^";"-;e"
zinnu-l-
rgpe--'F^t'
hGrn(
-
/tt*e
ko,,.,
t
in
4nm2
os
\;ddon
bn
vdue'i
f
n,,:.ev,nrrn
(''xtnlot
fgrre=t1ucden' 4fne=ttfr'e^rne'
Va&re=tt*n"".,"*">" ):
J
*
*"*'",:;
rbre
-'hidcleD'
name
=tiPr,o-,
\tnttt'e
=
"+Pna-eo" >"):
1 * **'"i: ** nre='\naah'
'.,'me=th^"
vatu^e:'*m3
*""
))
[
* t*,*-i'
a,**
lgne
='s'c''l-'
vntu( z'sub-it'>
"Jl
\.
f,@
,
f,,,,*h^
(" zl
l-n->
"
)
)
'3
tt*
etse
{
u,
t*" ["t&'-
acrtun
-j
lc\lc(rta '
>'
) )
*
pi^tln(''
vrt^ &
q
tae,,.r ft
.'.a1.:
4q\N
tg1u
=t
ftrr'
rtt,,rre
=l
3r-t-'>
'Lt>
f,r,
pri^tht'
"\
&t^ Aa,,7 +z na*A
1
LinNd
f7ft"="k*t' taa14='5'r7'2
4t2
ll
ec"+
-k..t
in
]=.,-z
a< h$en
tpx
valu<t
p,$tic y6;6
&Posr
[Fff
rea,
t$tr
ver)
t]:mu.s
{
.
da$et
(rtt1
,
<c
)
)
3
//
lsrs'a '
javc.
Jlll",'a
inrfr'
I
javc.x
' Servtet
lt;
irnfxrrt
jovox . gerrv
l(t
,
htl-p-. 1,
-
imfjcrn-
j qV6 .
iO.*l
imprt
jcwa'qyt'
* "'
ftrblic
cl&ss Jbsrstv e
exrerds
{-
pub;c
rtsid
doo,et
C
H6P
r:qr,
.H6f]
"1.s)
rttotu
s
sE)LQv
{
/l
3u"ttt"r
Se *'n3 s
PrintlJnii..l vo =
rcs'SqLJdtcrc)'l
ves' eetCc'nrenrftne
l"
rc*r/ btt'")
]
/i
,uoa &^^t
I
*',, t
o',6 ft--
a
]
otva
dz'rx"
).'
\:
'),,
U
&'eas@
{
, t
t
'!
Ierce
140 "cttse
(
)
i
I
haouet
r E.Iur
F+tpg*rrr
3r,,.,g
rx?me;
rg.
SetPa"an<L<a
6"Ftr-ntt'e
")
Sroinj ftx,.ne =
{Er'ryeftN&rff}zr7''l'IPt>an-'e'"
) ) lh"&t6
.,-.,
Snrng
rns
: rg
,3et?onamet<,t
(" Hmg"
\.-,
$frl,r3
.plvr
=
{e?^
$etlhrc-.e}<t 1"sr1'):
.
Shinq
i*r,
=
.,,.el
geJ
ft^o*t*n
(E;;''=',
re'rtboxrnrr"es
of
futs
'-/
t's[
J ',-
--)a
ll
inn^.
&rrrt
and !^-a
Ao:o
io
DB tal;|'e-as "e'exd
\-,
Ctass'
ftr,Mrne f
"0'atte'.1d5c' drivtr' OraqtDt;w"
") )
v
(*rro..
c.nn=
Dsr.t,rll&ra{er. SctConecdon C"
idb.,
orc{c{e; *,^nt
Sleca,.lh^'rr
; }gz} ',orcr
i.,
P*pnoaStar'.*
P5=
crm' p*p'.*'Sta*.''
<nt
(")nso,t
l^lo
P**-t.l*7^7^")"'
--
Ps
,
serDh;
ng (-
1 ,name
J l
t8.erswrnl
(
a, ka-e ) )
fs Xr)h'rrrg
t
Jr l.ns
J .
(?,1,2.,1.,1)):
,
Ps' set3r'ing
(+'
Pavr) ;
ps.serSmogl5,
Peve)"
fnt Tesal b
= PS'
ex&dc
UP
dccre
(
))
iP('rsart
==
o)
Fr-Prtnrln
(''zbt>,.bt > t2e6rsrra't n ftnea
^Utz")''
else
1-a.r'pntln ("zAt,
zb>
f2e6rswa|on
SLLcceJs
4n>-"):
l/
Dr.pto,
dXmmtc
ra:trcBe
h-,ng
Errn'L
and
R"'na &ra
p,l.pintlo
( ".brrfor-I
chr.. ;g
''*r,orrf
*"
"+
Pnc,rne r
"
"+r.rs)i
fi''frlintln
("tt"
zb> Rrrn?
data i5
r'1pzVa*"
"+
P.V"r))
/Cl.ose sr.rams
\'-:
lrrt
.
cl.oseL)
)
lE'
ctose C
))
,.J;rT;:3
e)
t
'6;nrsrz'c*-r'c'ce():
!
-J
l lldooei(-'J
u "
[tbl'.
void doPosr
(Hse
t"e+,
Hse
ves) rfrtoes sE,)oE
J
L
doCnet
[<q'rts)i
j
.;3
-
/i
hJeb.
x rDl
congSc^e T5r51!1
rlf5
(6iih
/tesru{
lJ ond Testsrve
Prg
cl,}rh /'o*;1,**rr.^
.-,'
*-
Con
VCu
e*pf,jn
Sorne
.yeal
Coor
td exarnple
.scerrrr
iOS tcl,ere
Sessicl.n
fradinS
iS
OPPlied'r
*
tr:
pe?cr g'ge
r.ro
@
o? Novernbc"r
?fi rorz
lnrdot+
:
ond 'rrnernLers clieft c[da ac{os5
fte muldPle
TYrs i dt"ttl6
"
ge66itru'
--)
Fvtn
rlcrlr$
h cooLies cre c'Ea.|ed
of
6ew
d
6ide
erlocrr.Hcrn
alonS
o)rh the
*sncnse
ond rhrX
5o
bcarm
Cli(rtf 6;de O\cmn
6irh
rhe r4*rps
l^,
Ttft
cre
.Frro
troflS og
cDokr.es
.
0
in,ne*c'X
ceoqa-s
t
rle{
cr5i
ori cooLiei
Ql Ped6ist(n*
CooY"es-
.{},
0osics
oP hrrp
coo\des
'rekn
gageods 6
'@'
..eF.
the
oPPrlcolitoo@
cr|
Pc'f *o
@*o@
-
aa.ar^
setcooEias
' ;ava llen
kt fr(Dtt'ho
io
credte
rhe
Coo
rie
'
\+0a
-
l+10 Jf
t^'o inme-onj
coc'cies
crre
edded
lcl $e
re8{,3ln 9-
\&\6-
t+r-l
litr*
pe.,.g;*t"r
Gn@ieE
ct'e added
fo rhe
resroafe
'
i+f5
//ruds
au
the-
coob'-'es
efrllnS
ol'on6
coi'rh
rW
*f""1"^
I
Tla&re
in
'fu
fun
Ir+5
- t+6r
//
lu6rc
to
dispta-6
dre
wcr,ntrd
e6'w
Y\oxn(
ol
H+'nt lqble
(rlco C!t'^ttn-b'
r-,.rI._,
f-rura.xrrrt
t=-
tt,e
b6.eica
oP c{Ijpies
Ser{"oHa
'
oor.r
Shcr<oceUe '
clcd
x,stac>)
HtbP c@vie$ :-
-i
Cb.ktei
Oye SmOl
I tg),ruet inRqme.Hc'n5, Orukr-h elt
SCdteS
mctfttdi
ogfrr
fzotz
a,l client 6idc
t
\J
--, &,
ondo
arc'od,ng
Dlrarofu
6wu*crre
i:-
Ctr:unAPPl
)NES-INF
theX Co.ma
to
cliryLt
gio"
&"
ffffiuz
r..x.[oo6rpl)carJc'a
k
t-
,*"lI*keh',.lu.,.l.
X
*etro
*t'vA
6
-+
b
Gcriee
(tge
nor
@
b6ed
E^arnPle
a{?ticadr-r4
o?
Nov ?fi
qor:
handart.
Dcrrrosrrc.Ha
&sstonTrae-k l ag
N
.r. to
DicrSrarn
4
fa^r[^],rrcr
7*]W'6*lJ"'re'
L)i
wsnonjc "
set Co,,x^F\nt
Q"'l*n
"
) )
Xplqeherlf
&n.Aepa
ilEB-rr.iF
Frsr&tvrer'
j..va
**gyvleir.java
.il.
closs
ca)
gg-t:-
F.)
------:
NeuJ
-------. PrqjeLtNoma: lGrr.lrtpil
'-------+Frr.ish
g5*.
rl$M srde cli(r( crn pre.ier Coou6
q
()z ---) r^xbnro t
-------)nela
-'l
hrrn
t
-+@
TAx.
hrrn I
<R ,.,.., o6lun=*/fu"r' -a,5e4=)tt
n
t
N&fl :
l-inla*
ryp=')fxt'
n"rne
='tntr'e
u
l>
zht
l2
F*hev Narrr--
.z;owt igne.="ht*t
" hah't
=
"tP'o'"e'l'' btt>
zin'luJ
fgne
=
"gagrn;a ' vdue
="corrtinae'/>
h?Y.u*AP^-,
----,) t)\tpc.fi(n
1
Rxl
!"t[:riit.----.r
Sen,ro ---r
Nctrne;
F'tsrSc',vrc'r
-
//E'rrt&i
vr<*
-iav
q
imPo{t
Javax's8mJt(}'*;
lropaff-
iauax
.
gorvler
'
hft' *)
im0a* ia.urr.
io
'
lli
Dcb\ic
ctcds
Ft'st'anrtct
OrttndS
Hrtp*'r'lttt
{
'-'
!r'2 *'r'nsr ) l+r"t'<
S?tro
Prb\ic
vo\d
dorne+
tltsF
f{4frr'
tf(R
r'a-''*7 "'
{
llX^*"t
e*l
i'+
aiaUw
tiar
U$n$
flEclrpee TDE.;-
1t,*l
4^*l'tYesrtdota
Smng
mrne
=
wrytett'6er?o"t'-er<'r
('*na""e')
I
S."g
P-t"tt.
=''reqnsr'
y-P*** (itPno^e")r'
ll ,"n in-^e,,n6rvJ c6ok"wj
lr*",
"t
-q"'-+ln-y"x I
d^j"
Gc'tte crt :
oel{,
Crl:r;u (
u'n"-4 o,
oune),,
Crrown
ck?
: nato C*u;n
1'9*,,
u',
$a-t-) 3
flaed
&ob;er
la
,rxl\ance
.relrrdhle
, aaa
Coowf
ev,ry;
ftll;7.zrse
-
aAd
(a6Ysa
lrtt-r
r'
tt
O-.""*
1.,-,,
4t*-,"-tn1
.h*'
l'''o
k.pr*t',
L"
aP*^
crrJ+ezl='Strvt'
-u/^'1'='tra"
)):
po.p"rl"(*rn
emg
t{ fu,,FTffi*n#:Xy
#>pa^d
lr'.n+etf/{#tz
--------'s?z
"---"t
&trvL*
---
----z
unl
tx,tltnn:
&tr
I
$rrrna &rrur'ialz"
;hl4v? )uaA '
&rrllLE-
wi
)^Vrtt
)att"x '
cw-tC1
"
tt+l' l"i
iffWrf_
jFa'ro'
n
'
imPsYr .)urd
sQl
'
V',
n c,
vtct
esttnid3
fl-t?!-{t..
I
Po
li c
cltt*S Scrt"tl
Xn
(-,
ll
Dayn(
='haLam4
>
))
Irr'fradn U
f^-'t
Li'!u*
iXr'e'=oteot-'
narnL=L+o'2"))
pco
;r"
^rt"t
f'
L;nyw
t6t'e="&'u-itr
la'bt(
=
ts,.Lt
t +'>"
) i
pa
,
p"r
^'rln
\''
zl
hn->'')
)
fI
oase
st ua"n
6
gl
.c{ore( ))
Jlla^c'"c''-)
:
fr,buc
Vold
JrP*r[
llsp
ttry*+r'
[fsg
*rtr'e'-'lr) ll*"^
L
\
rleG,.(*7*t
r'
w
7'"s<) )
e'EtZaE
r)}tme;
ga*n
79eaW
3
8jf-'et
p v clnhtr
(tlse *11'"'t,
WLratr!'t'k
)t''^t'
re))ae
lly,^e^"t
kt$ya
P^*llr*
Yrjf.d4ie
,
p,o=
+trlz,.'rc ,
gcrUnt"t))
su
Co.rc"*-Dle
('*^/nr,,
)7
I
llrd
4^-al*1uo,rz
d*<
n
ini- in&,me=
Ww't^:;;
l'zu'sr'5oP*
et-ot
("f;ntan'e"))r
i*
-f..x
=
4*'
ytJ+
(*yu,
y-V^^
"w
('a"-)):
ll*^a
$,
tl*yrr-t
J^n
(-'
tn"wt
,1
9t't1
C*r";u
I
llr"4
Ot'h( F.,ttr.,{^
u)
'
e-p'r*5k.*Jtue
(
S,
q
t
r-\
1.
rwrne
=
nvJL )
$u-e--'oill;
9c*
k""Iu
's'
c-t-Lf
=
reqsr
.6*
Cn
A;a(\',
iFf*l=
.'-"rt
)
*
*-.
=
eF-lo]
.6erVaue0i
fio-a --
.
rlr]
.
6er\Lr,.e
t l)
t'stl
il;"
P*+'r*Sh.rc,,""*
ps'-
bt'yt7tt"Sr'rt'**
("
insw
intt-h*'al
v^l"e,(
""''
\'l
i)
ps *G"t
7t,nu'e)l
F:'serSu"1
1a
%o"))
Y<'Kfi^.r
(a,%t)
;
id
Yual,f
=- '1tt"
lc,ietu)<'Ugl"teO
i
1f
(rurrt
==
o) g
t
yr'yn*ln
l-
PV'v*^wu
fuue
"))
I
elre
{t*.1ru*,'-.'
(?.y
rv'^un 9o"*'
)
I
l
3 _,-,J
ffi
a,*^r"
Jbr'"de
**z'dct
crc.s.*,,Nane|'
cx"r".ior.
*-
:'^"Y,' l^rt *,
ya.sn @u*t\e*r1Lg
G,nurau,t
c^'
D-'ru*{*'
6uLon"e'n.,^\ :,
r* ,
'u6cr"
)l
I
/1 et su rr,*o-
ftrl'
Close
[),t
J
pu,btic
vbJd
do&er(
reyrcsr/
q,
d
ilru.b.xrnt
161
gS+orn
utn
pt+t^n ,
utth
(,|fi
Gn6jrrrt Ertt$,rvte*
Ea"*r9*ra
ptTt
6e,L)
frtcrle +ab\e
'Tl.b\e L1*eA '
r1
\Joil-I,A
zL'aJ,ftr.llw nmb'A
'-t
tq,t nl,tu/@): .-,
a
a
CiicL
ll6',erwate
Qna-rc'$bFs
Ncha1e
l*oy
T*-t
cu,tJ T"mE
d*.r" ,
|ro, fiffln
C"
ab''r Drt
\I
.---i
DB
-taute
;r) orade
go"pxnrrn(&<hr>
ForraA
lrq
&ia la
.;
*aomg
1
D*a is l'tlndrns
*'
d
,"'" +Prnw)i
--,.-+tct'r4
d"ful
HsA
ft1fer\
W
*"rd')
$'-'^
(EiraE
Wtante \ I
itu,
lg,'l
Tat-to,h C.n
',"
Varcrnrat:o],
fto-u
sn
e
CsaEie
Appe
----g f-2Ltn&3
-----'-*
'{bmak' X
h*p
:
/
tocorhost
:
xro
/
cool+eAepz
fWZ\x*tn
i
--)
TP
(oe
t$e
--J f.P
dr uJe
un
de'l
fnrntfnot doopies
PetnWt't*
C,ooHes
doli(
zve^
aPrcn
geJ?icln'
44
oI*^
L,a'orr" r'Din
d'on
i
r
CloEed
itlrr
!e
frtunarcl
Ortt'rynolfca!%
"
(h
s*"nana6orn'zn't"
yheo
)b
is cotl
ed
SesslcorTrc'o{ainy
rhan it
u:o,,'t
Co'ne
on
Au Sts"
--iL&;
ntr
bt
it
Betut-te 4,e. y,rt'to*
C6he5B '"tt"'*W
Gnhq5
Cl4V^t-
tvc'ru
botost,.
fue to
.ur',nd-oo
"nd
clle^f
sesgon
b)u;
bnase't
14,r,
$c
->
per'i
5 ron+
CoC
LleS rr,cl
On Clic{* m&Lhi n e
bYin g
vlrcrs
fD ComPurct
becoure thq
o\loco'k
@
----)
fut,
rhis
rchhlcrqe is ceae
d
a-s
HtlpSessi(J./]
&
{L
gorics
O?
Hrtp6essicnr
coirh
CcoEieS
Hrp
fessic,n tlJirh URL ?tcDdHDg
;
-
base oxsrcr.)
Trc.c-lcln
I
re
Pcrr
pga No'S 15-20
Thr5 tethn;1pe is the
errnstrn
o+
Hfrp
Sessl('n
@irh C@l'les
@lx.,rf Cmlr'Yl
urirl not !e used
and
&okn ea
rrr;
r
r
kr stnd Se.(slce^ld
fb bnlrsk
qJiodoul
atctti drh rhl
rerrry'tl.(
'
fne
velptst,
norbe ured to
bnnj
$e &sirrrlrd bur_ 1v crenwt;t"ta
,o
rntO Hfrp8ts(ftm
o[onj
LD',rh
debi
led
about
Biu'n
to\rb UPL
o+lrrlzotz
hrezgxe*.
HnPsesstcrn 0Jrrh
C0ovres
'.'
.->
-Thi5
terhni+r e u5e3 Hrrp
6el eicrn odecf
ctnd irs adfu|hrlt$
Artp
sessicrn
oh.jed
end its
cfrribc4r
S or.e
globattg
visibte
in
OP
oreb
e{pucc*icrns Urt thq
are 6pciP,c
tu a hrocosc,r
co tndo
co
.
l-lttP
555ton
ohjecr Arnlcd nJ One SesStcrnJd,
rhi5
coin dcto
and &nes
hox
fr
1XI>
a1rPli1al\
a\
in rhe
&r $esstctn
rrc.tF
r"3
mrl
tl
ple cxlawsotrlr
6eJt.lrn
id
$o<;
lo
Q"^
"e
cq)fre'
@trh CEoV'eb
k"hil+"e'
trse
vLo
ro

rt
homdot*
.re, co"nitvrg 1ez-frnine
Or(
SavterL;srcners
[Eve
ot
l^nndl;ng
in crreb
ciaan's)
wlnl"rw
.
nur*
oqje*, Vretlll oS s..nne lgic
Nfrn Euenr i5 raised is calred
"
pve.,rhc"nd
tiog
]'
fur *r.ts coe need
Eveoi
Li6r.cr Dcv _
10
Wfarm Event*andling rrr need
rbe
Srrocoin
defcdl-s
0 fo,rt.e ab)e*
->
VX,. ANc
&iltvt
2) Event
ctas 5
a) Evenr
horctrt
(t)
----
E3:
/anc'nlj6ttrK'-t
.., )
A)
Ewr*
+kndlint rnethod
-_'
auanPe'P^"*i
ffiar;aolbvcttr
"-
)
,,)
cm rcq!&e6rts'vtetCcTrtfxt'
Hi*P&t-'.:P.**i^
-:
:.:.:::",T"";:
:
KeeP
ilad's
oF
Vallous
ac-nut6ts't""Jor"d
rhase
OQyct
s t-T--''
--.',
*-rr*'.-
ri
'retre
d
6rfr
itrrfe$
crec4Jcto
I
npd'
kct'ls
cm and
Dasl-'@dfr'D
-
\--,
o-1 ond
*rese
OQ.1et
-)
81 leepiog
ttc.cr 4
r'tl^en
re4/rest
o'Q1at
io
c'renJd
ond
cleswoged
c.-re
corn
Fnd
',
Ort
tblercoFe.6t [nae55ing
ir]'e
oP eeoh
"r$resl'
'
\v'
'?'
fu
BcePing
trux&
a+ietr)
k'rvlerGnrGt
o$ea-f
i5 cte4r'd
ctod
deswogei
oJL cetn
'Fnacrtr
the
urb
opp\^'c-aHcm
c[ea'\otper"ct"r'
urdeplo'1eem4"'i$
]
-
.
Svart ,
6t0P
timinfl
5
'
-
'
8fl
veep;nS fucd'
o? ahan
l)t+psesston
obje*
is
c'rs'reJ {ttesr-5d
L^e(a^
\J
P;odwx
il"gj
hot^o-t'cb
firne
ctch
use'
i'
'14u* ir't'twL
&6tc'/) '
:
'../
EvclX
60rvref
LiSrerrr
Lisrtne"l lnKrkrce ood
rnusr
be de*tlo1ed
a8
thar
clars
rr&sr
be
Seprvole
jctva ClcrS5
\mp\ro"rn];nq
'-t
(arnBSure J in Ne'b'rrnl
Bre
APr r
,
YeflLest
oh)
&{-rrce
obj
,eicrilS 09 &rvtef Li6rcnf,s
:-
rl
Evcnl
c1056
lPvrn+Llsrcorcr
(r
)
lrvrerPegueerEwnr
I
Se,v tu Pq,ue
stl;str,<,r
Uawr
.snvu
PrS)
|
(.irvax
.
Sav ru
Prg;
Event lbra tin g flerhod
l'1 .
1q^les
fHesrro
Je
d
(-
)
fil,ttsiJnihati:zt.A G
ralll,tJt
-
Obj
5rvrct
..-
Gnle\
+
,v_
--,fu't\l'
(tv,}l.xl
_
!u_
-"/dH@tsla
0hi
&nt,rR.qr.s rAtrlu+t
'
l-v( flj
[jc.vax
ttrvtr
prg;
$ervterQnr
sYlPr ihlelr'srrfi
Uarrax
E utr P|.j)
aft,buxAtracA U)
dJhdbufe l2ctro
ved
L-)
qrkg4tb*d
t-)
|i\--
tcnharl.l3sraSed
(-)
CdntutlniHatizel l*)
-.=__-
dl{ti5itrAddi t-)
ortrierrc
l2etnqrdL-.)
CtYrr;rfl*eQ"pv'Le
a
t-
)
Sersro'n Cvrrrre/
[-)
Seisign DerhrDU
r/
[-)
Sentd{m}atEvcnr
[iruox'*vu
wX)
&r!
EtCl^le&tLi6tcnd
[javax'servtcr
PEg
)
Gerv ter 6rnxx
tr{
rnr,at
Ey(r+
Ltrvar 's rvlet
PFX
)
ftrulaCrnro,tAtrripcLrtq
c,r
I
jort^*
S<^tLer f,Vj)
Hry&ttiot
Lt,rct,e'l
(ja,rc.x
'
grvtt
'
httn Pq)
Ittt?
?ss r.r'r Evoej
6aro,\'
5aYvler' hRo Plfl;
H+Jflje
..Oqi
r--.-
-.
o- ..- T:.--,
*s izrn AtPrib.fe L]st(f)e/y
oltr;Utt[a|ea
C)
cr,tki
6lpll.-o*6
1-,
aJh;,urr-Pc'.larcdal
'
->llorrrlat
&wer
flives
togq't.'-
in
zlo(qcot*on
>l
logo Srdex ar)
6re.WdoX
k'sis-
.-lo
coriK
rnessc(des
+o
tfus
lryftte use
Sc'log
(--)
rnerhod ,
8kP7""
vgi-
leourcrG*t"t '5c=gerSw
ErG'*e't L)
i
"=
'Y'l5f'
fuo-
utbfu>Pt;ctt*")'
.-
x)
Prcredc're
tu
of,Pl3
i
&{vlJ
UsFcne{s
On
ftiVC.t
5wx keeP
rhe
uRtA?P
aPP\icoJicn
readS'
Deve\oP
rbe
'ftrrtpirg
,3
UsrcrtrY
cllasses
artA
P\ace
rltern
irnptt
icd,c.,(
'CrvEt'
*
)
in
NeB-lNr/cjq$es
lola,t'
irnTxtt
Jevcrx '
s{nvtct'
httP
'
lF)
/rrrQ"#et"*o
'i"uq
Ixrb\ic
c tass 115?.1l,ercttv
i;rplerner*s
$vvtctPelt'esrLis\uu
w,
F*,ll
c
t
3
firbti
c
I
la,3
voi
d
Sthrne
Void
."HYff . eod
Hrrl ;
11T*l"*'-f &"re'Qq.osrEv<"'r's'")
ffi^:err
ohia;
ir .Ye4lql
=sr.;ff
(Wu,*,,****,,^r:,5i*
.xe4pe5'Desnuted
fk*Lerlzt1tre
st
1u"',
"
*==-'po* *."
rc1,'rr
ol$ is cte$rD|ed
erdnrt
'
Sbstern.cqf,rer.ff,.oefl;rr,; e t)
I
ll
netg*'at
*e,, ou;
$urerGrw^
r 8c
=
,5?e
'
g+9av re+ Covo.;( )
;
[,y,y'oN
*FtY.I@ss;r6.-,De'
2r'
t
y,-fl rc
{gturp,*g6"tpa.r9-g9r4
llP
,uv o7r;
S"ru,..P"1po.
*-?
-- sr
"
ff*$*retP"7'e*r1
; ;
HttoknterQE
cst
hry
-
(l+p**rc*A,a*st)
"+l
/^,*
4es*Lesr
procersln3 *irne ta
lql ftre
Sc.rog
( h'<1
.
grr&wre.Fort,
(
)
+
"
1* tcuWn''
1(-
//
Il.gStLsrcnrcr '
javcl
irnprrn- iavax'
fexrl'e}'
-
+
)
imP-rl
jorr.x
' Rrrultl''
hW'*t
lmprt
jnua.c*rl -
x'l
ft$llc ClrL$ l1g5rl-j'stt"e'v
irnplerncnYs
knaettnrur\jstcne'v
6llime,
ct:dttm,- ;
void
conr*rlun'o1i
294-($.11wCn tc rE\r"'tr
---!e^et
ftb ut
ln
$;rdtle* CorLft^ t oh) is
(1
.
stl
f ."1.
{sre,.
ccrre",rT'.e
Plnr ; sC
)i
berv
rt L'crlrtx F
sr=
te
.
&rSewlU Co"tr"r(
ii
.3c.
ro g W
l"culoppu&r",i ;'
i;iAj' ;
l
ro'a atpe-'tEn+re.l (,1*r,.r6*"xtEv<rLr
sce
)
llgr%rtcrG^t*t
oUi
&*WG*^, ..=
g.",
g*$*tetG^r-extt),:
f')qfrrtoltpljcaHorr
is
cr'&rtoyeed
lsdWell"reloacled
a+' +
ven
ecloX('*6*elicaljcrn
js
rl,ere iD runnlnj
rv,aAe
CqryJrutorslj {to'
't
E:
#/t(
iev@{+
+
fenO
rr,.ure
- S.ttirre
)t
.S f^
o<q/ft
s+
.--
graceu;ng")
.-_-,
sce
)
cye4rcd
"
trl.u)
D'rcl))
l)a*eL) )i
' 4 tt
+@p*"e-gltirae)+
n:i'
{
rng
FLbtlc
f
L
Etbltc
.l
ptnic
(
t
*:
hrrP" ,F:
HlfP 3cs5 i o"o U sfcrrr/
g,tblic C ICrSS
{
long
o/bli
c
{
SLHnne
void
ff
me"+'c'd
void
}es;vnc:.teaftd(
H*gsessionEvcof lrle
)
Sbbirne
=
frst,-.
curreniTime
lJirruC)
i
ll6et 5".o-o
oru.t
Hrrr&stto.
s.r =
loe 'Sq3us6ldn
(
)
j
li get &rutef
on*x I ohje4
*tro.Gr*r sc= &s' ger$wretGnrc-t())
5c'log
C''&rs,cq ;,9 Stay;1cl
o*" +orrr,
Tbil)):
ll
ge* $"n,etet
Cr}ti
I
,
Ses6lcrn
gessicn
De(r,oilea
(HrtgSnsrtrnEvent
hse
)
flrriirtl;
oQ))
F*p3e.s;-
ens
--
htu '6+$-tsr<mL) i
Serurer-&,,,r-e^
t
sc
--'Seg'
gerSo"r
ruCc"trc"tt);
lf
c*,"
&,s1"-
J-oA-
eDd
r-i
me -
s tbirnc
i
lo"0
Ar'vaJicm
=
Lhrcret
c)&sses
in
vJcb'xrnt
Rre'
tn rhis
exarf,pl PYev
loks Hrtp
5crglon
fxD$(!m
5
ocasej cdll
I
be ulYJ
re i
n" t{r'r
S
ihlld
sen'\rt
er
Cfrc'r rhe
ClcSrn g
llse1vlet -
rnGf 0r".{ 7 WtK
crwe.''iT:,-e
fl
ulte
sc"loX
("&sr"
sc-log
C5e5'SelArt"ru'tt
I
rr'"','e-')
+
\6
lf*
iD
Selsi.r4
ms6s to \o5
$te
,*nn_ D"n)):
(
"
"'^"'^
is oo""Ple'/
ark
$ot"+
&ralt'o
o"-t")]'
$
#p'A--
1r'Bgu*r
d-eJe
in rr.rb.rrl'l !
.Wrs7 --
^^)::,fl<rv
zls-n
>
Zn
Llsl'
/J<,{\JU.I )
zntl<r
$cr
v\F
{,te4
//
1"1
3
Sesroe L;olere r.javcl
imfror
t
javax . gpw
1gl"
imgn.r jevcd.
Se.rv lei-
.
irrFr't
java
.
..st '
*;
tlgsesLiorcnev Mt'o
)
erd firr)e
i
ndr-)me
=
$s*-'
Llstie/6
ptr:6rctrn oo.-(D oo5".ot6D
^-
f-!
:
J\
\
\'.2
\,,
\:
\*',
\-,
\-/
\-./
^\J
I x,B1 e
otL
!/
\-,,
oolr{
oot
fouarug
zt!/
\---l
<
lisln
T >
zli srcrrer
-'
ras5
> llgQegLisrcne
t
zllisr<net -class >
Llisftoen
>
zl:'fqt'n >
?!if}ttw
-ctars
>
1155cL;tn*n
tllisrau
*clrlts>
4 lisltnc,v >
Alsltnl>
ServterFitrctS:-
-2
f,qvvj
Ftke'{ i5
a
Tfor 56rtg rwe*5
&X-t, 6ppl
t
Ccd"fcrr).
-)
se{vKiElke'r
And rCorrre.s
Pre-Yqlae.st-
Proces'lng
lo8ic
aftc/r tru4p}ngrhe
deploUeed
w<bc'+PE
ath{ons
rsl
rrl?"1)--
s1-rc,ro-r
ts-b
.teII.ltvcl
Proflrctrn
oP
&va
ure-bc+plico#4'
&.,d
f,esgmse o?
6*er crtb
t'etounrce
{'finrc'mg
s+
Tqlres
t- .
Erm;
t6vl5
it
(xggr+;4
rc6f
resfrsnte
$ennerrcr-F:'c"t,
loSi<
aAt"4
trafp;ng
rhe tsfrrnse.
6
aye
Vc'g
useftu fu exall'ke
adc-l-'iHcrnal '0'glc3
;n
aeM4wn
distc.ru-n3
*r
aisnng
1{ic9
qp
cDebfescLr{r: Pmgrams'
&rvu*Frrcrb
zliswa
-clars
>
l1g$erLrtna
z.lisrcoen-cb.tl
'
zlt;surw
>
Llweh-c'W>
y@?
xeturc rte
URLApp
opprr'caflon \n
.r?Auten
rnann{n
an
d
abKt{vQ
.torfrnt
-
Mme>\
lug
("Aa
---r
oe
d3.n ose
Llsrcne'r5
*&tffi"Mos
Co"u.
-a Ocrr
6erv
let
Cdnlonre{
A
frofufr
rfloriroYi
n3 on
aro.rcJ
't<1^-Lest"tcsfrs?se
w'ls
l^
*e
*+tu"t
ErLn
b
ldtnl
Wo6lv-ctrnr '
''-
L,grh CUf
L-n..rre'r cc indo(o
s
{eqrrgsro-
-
_(rsk
--)
Ever!
Sen tci. Ffllet i5 a
ihva CIC$S.
----> &wrf F'trcrb O.re
inrr6&ced
hl,r.ro fte diagram
O
flrur:Sc,r
coindoto
gives
r{rest
lD
O F\ter5
tmPs
thjs
Yery$t drrl
t1J
G)
l9
P'*t
Sbka
implcrrrnliDg
jawx.genrtet.
trlrcl
(I)
ServteJ
APr e'3
6'f"/
!
Pqrc"rr)
,
ex.-0Lrcs
pfe-Yq/-resF
ryt*:"x
lo'"'
.-@
_@
Ftrer rxrsbes
rle
teryest
lo
gw
rbe
*^'-t"1
*4testta
gtvt
Pmg\rcro'
6'rv.!
prrgrcrr',
e,xeclrtfs
thc B'lrgtc
cnd genaral<5
rbe
reedrS
$rv
i
PDATarn 6ctrr'{&}ta
tlie
re:fxt"*e
to
bvocoSe
6;odo0tl
eres+KS
Post
-TssPcmse
grf
ioFlan
$\uclE't
Kx frd.''os
Tboi
rftxmse
ond
,Serv
terl
tler
6endg
Fnc't
'respo."se
to
L^le ccn
de.veloP
a
ts'*>-jl
bt*
J5:
loqi
c
b"aosc'r
a\nAo<'tt
O Qeqrrest
Frur tm+ttt6
borh
rel4err-aod
PYDcesslqg
lAic)
E g'i
Aus|ann
crrH
oq
Fi
I
K^
-
lr-trlrorizatlon
FilK'l
respon.r
!l*
6in*dnS
a,tlg Vrc-rt*e
lqrwZ, w* !Kd'@
t4
16)
Req,,restDe.-c,ct F\il
'
@
Ruarttt
Flre{:-
-:
'lbtr<t
ad{ess
r_J
(rrc+
uo*
reryest 6a,d
65pcn 5

but Anp:o'on\
POKtYPdlrnXn
ftcn*ria.ta.-
Eg
&f(Coropresston
Elr{
EncrrPrJcrn lllit4
E6ncrrutr. Actdev
Ettcl
@
nqrtutt-
Qespense
Flter
".-
(
*t
--
"*-
crrrl
"respcmse
crod
aIJo
&m-kc'lns
'r'
-YctlpPsr
\
ond
lrost-rerfonse
wh<'L$ct|)
l%k)
.
9!-
fu,P--o^re-li.st
Ftttcr
l-oging
and A,.a;nng
Fttcl
ftrocrtiDj
1]c
mt
F;xed
'
50,
rbe ParnL5 64.r=,
be giwn actrrdtng
io
logrc
)
*zv
leS
p;111n
't-')afi'EA aY(
*re;r
{-rnuioncr0
ri es.
FIK{
'\i8 qJ
cle
d$t
X1;
is no
E
r t$Crrircnt
obo k*
coc
cotr)
g.*,o6rfl"1 od
in
!6 us;n3
lirr.'rCo.H3
i
--'+
&w letCornlctincr
Crre.oru
or'd injHalizes
drtrt Fltt-rclcrts
ohi
qfl',,a d-t''aontr
6er{\Jd
"*,,-
0r &rting
rhe dfluprocr*
4
wb
cr4pltcaflcrn'
---r
k,r1lr Ccrruhqiff/l
chsrroges
ttru6 o6eaf
Lohen
oJebaPPuccrHoo
i5
sliDpcd
/t"-roc'a"a
/
:
urtptryee6l
.
---r
ioit(Frrr.rcunFtx)
,
.bF,t
o (-,-,-),
destavt)
c't {he
ligecgclc
$frhds
4
S<nd,,lutc't '"
an, &'urt#tw
o[
Grr,rRme'rr
/
Prgto^,
-)
-Ihl'c
11 no
hecre)jlrB
*
ena-bi
lltrg l-toc'cl
-on- slz''trc+>
sn Ftra
W3*
--t
Yv\
ftricr
pqvaro
m-rsi
h ConPqcrncl
in Wob'xrnl
SLu u3ing Z?{lt'{>'
6rrv
&ry!1filtcr
DoES NoT
Exxsl
1f,rrc"-Ync{f}4t > trg6. Lvtr5
f;'rcr p.g*^
is idr,.,fif+"l
Loith tr6
p2; pr/trn
.,'
--)
hie CGn
,'*{[:;)
ExornPie :
-
5rv1 ,
6rva, s"Y
v 5,
s-r
v
4 are &rvter
pToTam
5
Frvl
i5
trtret
Pro5raYn
TO
NAP Ftvl
F;lrcr
o)rh all
S<"rvt<t PrgS
i':
\LV
J
\--
bzJ(vto|l
<n
ft.doh'll"er (
-a'T9 rr6rP
ge"{\,letE'tlcY
mLrsi be taken
to orbr, Ource
prg
l.Sr.
)
ft
e Cd'nwo
I
ditro$ L):-
-:.=:::=--=
--j
uf,
erll
fo
p\c'0e
unioifializd'Jon
lics
llre
cl09r5 Jdbc
ohjs'
uitb
Sarret
p6
f
sse otg
,
rhem
rhe
&s fie
uYl
R-0tt
Yn oC Se.,!t(JF
lFt'/
Or more
51,
SLivtef
Fltef
ftr05
co)th
iry{
TD
p{vt
iltit't Pt3
trr I
;nrtcr
n o? Frvl
tlith
311
prg i6
lx
P13
rcluporr
inic ( F;rrcr
ConP; g
)
:-
-)
05efu I ro
P)ere
ini6al)
zah'crn logics
lire crerLung
jauc ann
o6
'
dsing
Fliz
CctD63
Ltr\
Prx'
l;.lrt*nd
Se"6!ler
lisP
frr6
6ne o, r,,dye
Se,rvter
i
{sP
$'rv.!
urt
6lrKrq iS
Fv
t
t-tvt
tdrkYn
is
f
srut t
/51
Lt{l
Obl coe ccro
garber ioil Param
valLds oF Fll'l Prg'
d0Fi
lkr (
&.,vrt,Qryest-
ve4,, *rvrcrQesftmse
fe
s,
hnerCbc.io e"
)
-.
Ule ftrrr to
plct1e pr
-
re4ues f
Pn&S5ing
Ohj
1qf,rt
5eff6
the cocbvestrrce fr'3
,hot
fxrbli
c
void
clo6
I tr{ (Sour.t Q.j,rr.*r- vg
,
er",rrcrQesgrs
e
(
L
/ 1n,,-,*,",,
J
tYe6))
-lrz.]'l;xs
(pos r
-rer
Ponie
and
.
rrocesttog
Yspcrnse
lSics'
Firrtt
cbai"
is mo0pi
.oirhotrt
Vrett T3'
s ,
Httcr
Lholo E,
)
firoceaiog
logi c
)
rt-rar
is
rtrrrri
coiil,
FIW
To
llop
hvr Ldith
6rvl-,
BrvA
PrgS
'"
$rvr
prs
urt
porlcrq
/x/srurl
SYva Prg
crrl
FrttcYn /xl'Zur
I
Frva I{
urt
Pafievn
lxl*
'Z-"
j
^.-a ^'^'r
rrvt uirb
6-rvAsrv
* ?tXS
""
-I0
llop Frvr coirh
g'rvl,5Yva
pY$s ctng Fve
$rv.l l'xg
u'vl
ptFcYn
lx
I
sruv
t
Srv? Prg
tr"ll
Ptk"rn lXlSZut
t
Fvt
t).rg
u{l
o1Jtr-Yn
lxl
*
srv
b
gr5
urt rt-ifcrn
F
l
aaur
l
5rrt4 fr<g
tdl
frrltc./h
/>)
S'+ut
\
Frve
pg wt
Vl.+LYo
lll
*
Io
t1c,P Rva b;rb $rv1,5na,srva
frrg5
""@:
$vv1
r,
u{l
lxttt<{n
/xl
fuu'tl
Srv e
lrrg
c$t
fxr
krR
/x l
57tL'r t
Sfv3
P.9
ILYL
[rtrwh
/ X
I
Az," t
srv+
FI
urt Porfcrn
/Yl Ssurt
frrvt pts
u:"t
gutt'tn
fxl
a
pr1ne
fj
wt
Wn
/xf
seurJ
-m
l1atr
P\^'L,Flv
t'
ioirlr sJva
P{-3:
3rv -!
Lri \
fx*fc"(
a
f
atw t
pru4 url
Fxrtrn
/Slutrl
PYVa
urY\
gltf'ln
/5fut
N01E; 61|pe md6ple Fd6 J;'t!r6
Pro6r'{rns
ctrre rrnpped
afih
one-&trvl<r
pq
tbe/n
firrc.r
pqs
ytap
rhe
rlAest
Soiag
to
&,,vti
Pt
in rbe
CPt ordet
aF
hle.b.xmt
on& trctps
il.,c
'reifit^Je &ming
P"^
&T
vKr P
!n
fit
're;nrrR
Orge,r
o(
(fu.
hlrp:// totalhgs t i )olo/f
l
5e{/ tesrL.l :
fiisr=S
I
:40
l-91-
Jn rtu'o App\icartan
'
l13T;tK"/
-ve
infrr.Ls
o rP
3i
ven Od(^ t[);
se
'
b\o.P
lbe
"reryeJt
ffirg
It
palgJ rht
reg'ult
flg&'uv1+
prog
!o!'<m
respoD (e
r;\
t
to
f6
fl59cruta
F'41
{ne"r
Page
no'
Bl
\,ta
fttw
o'nA uxl"
Rr
fte
alttue
dta
grc(rD
bcde
d
tut)
oPCtcogcrn
Nhcn trr*r
t',g"a,n
r*o1s
*c
,*-#sr
aP
,'"*1:tt-,::*ut"-
)).;' -;-
usnr"
gr.e
"'ry-,eg+
4
.'.$
0on{
e
Ohj
etlS '
Fho
oP exec{rf,}'ro
retolrd
fo d?pUcdlfD
(t
-
ll-**,^-"n
dca\oqer
fte EicoApr
coe'bapplicarrcrn
H^s
dy:,.r:,3{''?1.
B)
seyvrcrcoue*,,
c\r.*es
rlstrrtar
o^'
Ti.:-::: i
":'j,Y"|#r^T#,*";].,]'"
,
I #;;];:
ff*"'
'l-rro,,-
-*
flgewrer
ba'sed
nn *eiv
on';5c'rortcn'
clcmein
.,
r,J,-b.no,r
ft1e
(zrar-( zr+r")
.
DJ
Endtser
Biv4s
rear^esf
io
llyftrvrer
protfoff)
(bm'llrocoti'osr'*"/0tfrfl:lT"i;J]lr,
ElFirrcr
l-'o{)5
the..-:f^esf
c'nd
det-ts doFrx'rt-'-)-
l11Frrcn
cturs
o\ierf, (rr"t)
F) f\a-'e#esffi$':
in clellllcrf-'-'
-)
r'rerhod
xeu.te
CD61-21+l)
r.,,) fc'doFlre
[-'-)
ccr-u'
F^o
the
r1l'tst
to l133rvler
:t-1:" .:T,:]
-
r)
$e.orel &mlcrlngt
catls doCnerC-'-)
on
l1g&rvret
a16o'5
6hleu indireot{
(lr8a-uq+;
J) flXSctv\cf plo$rl-rn
8efftrolc5
Ytrp'cr{\{e
Llf,'ppt;
!
chrc,trs
\o?ctlA
gJ@
is i+o
.ce&:,r
the
oPP\iccrlfcrn({
iK)
llSFrrer trop5 n5u resFmse and
e\eutlx8
rtsPonse
OD
lcgic,
ptace.t
6r.Ptc,r
r6u
'
brocose"r
co i n d r: cO .
fu'dotrtra
(-,-)nut*.,.
(et+t
\:,r+t)
t)
t'lgErrer pe &flc$s
TSUl+
rhe
i5
."
?o
{yarr,e{ roiod
.f6lsr,
j3|
oe frtdtc ieucrg
ose'l
lis
t (db
Uscrnar
('{cJ,
)
Passur.ryd
(Vcr)
Yajc,,
mahesh
in
futawse
t(&l in
crf.lde
)
'(G Ll
nL.t*
o
Tt'je
@46*,"
Ihe
@rP
p.r'n die1r..rO i
FilKr *aps
d
Erve5
ifie r.?Aest aod
C{rdcdlors
(USer
,
Passoora
)
$e
6.rqdenlto15
&ve inva\id
Rrrn
ffi9
Lui
t\
td)
gc.Xe
index.hrml
Snt,/GJtJ
""yttst
to
br6intrv
gr5
e^eule5 Ad
*l n,lt ccd-tot, loic
kt
chect
eff.d
mcg
(o) Il be
cIsP lu4ed
paTesfi'lrcr
ftc,ps rbe
tei,uer
h-
crnd,
fi5)ArAtg Cre
denr-|clts
cLYe ValleJ
*e hent Ftt'et
vttv
0 40
ttt.stt't'n
t.hg
rspantt
cmd
PerPTsrFillo
t**
"t{.|e;l1
0 {0
Log;n3..v
?rDSrqro $e'$e(drce
rdices
YesPonse
+"4PinJ
fime
anel
T*
*t
&Pf<'ft+q
tbe
rtsponSe
-ft,i5
Pilht,r
ib
nodceS
YqAe6t tro{'Plnt iime '
f.*,-,araE
ybe
ftqqesr
to Lqr"s*
frlogram
ruaxecrrrt
if1 B')'Br<
u5e1 :
llda_l
PasStx'ra
;
l-
vao
I_
/.-_-.-_---'.|.
(-L"3]I-J
'btnl
Uoami} @eb(t
ge
User
:
Purls(rroa
!
It'valie d
I
t
J"
-l
rd
Cnd.ntiad5
USer riSt (
dbbble
U5rrname (v.?)
pcljsj"
rqjc.
ftro
blw f2cyrr+haPnio6
*irne
^ne
to
b6Fre '
crnd Qr-rp/'r
haPPrn8
tt'
'
-
CD
(O
turbErrcr
tuPs
'-@
f...r
obove
dic'tram
bascd
aa?.0
L?3-6
1)
co
2? O+
?Llt
b
:f+r i
.Fvrrro,rd
rherquest
tu
Deh$.enr
dlreolon"\
Arturfttre
eeto'.
ig cr"de',fto(s
[u*rn
,
{
pasrau
)
o,,e
\nL$cJ
e$+:
iP
(Ydentlars
c.rr invat'td
2lqo.,
-to
n _?4jg
l,
t.<'t.".
?Z6L
?g+o lD ?|i 5
:
t%ir
Pv( arr-rtra,fi r ar,,on ( ctnrs
0{.p'htrn I
L,
3,-. oS
-lidx.htrr l h4 C.rd*cdn s
B3l5
'a bgingr v
ch6/tE fu
-lo6rnur
1 '
the .reslrnse
Crnd
&od5$LPdn6e
fa bnotore'r c'riDdooo'
e\arnp\e Ctf0l[ofic'$
"cPet
appo
@
op Fe rJO'6
qo
tu
qA
B
tttns
an afpucd an 5ln6le sdv
pmgr4Yn,
7462', fi pYDviae
Sbbol
vi6r6rurg
Z%B
"
\.reoahro 4xm dart
'-6kl
J
22Lt--:|,/;1: t^talHq $e
dct<.irs
oba]r e-t!fient
's{yar
lv lqfute
(hrin.
dopilkr
('t4rt?l t
'
Yf spons()
-
,--tr
rt%.,r.td
the
cr"l- I ro
ne*r Btrtr.
,--r it
i( rie
Ponorvgc , .
P= PJIFL
Co"
gt
3 ,'h4r(
)
ro
9;
r t<- ccmfr'
g
otl
)-rk9
-rr{l
.
-
logic t da rrJtos
ohc.h}rn }
w}l.r il.,e
61,.a
(yd;/rtic
s
d{
int\raloYC
C'"de.ltc.tf.
tfic us?rnar"e
,gcd
tb,tJaer) .
er.{crr rr)SA.
z3+j r
6{}ttn1
spo("E
Ho'PPInJ
fu$Fltt'{
.
jotJa
[<aratEr$.,
hauiq
o"*u'ocono 116
r'
)
PerPlesi
Fi\vt{''
id.\,"
(*t-* Glr tcv horlnl
loXtcto Catardo-gt
rfllfY'"cexl"T
fitu)
.
:
6&tjY
'4/a!t
}..4vrY'3
to6in9r,t lrnryrana
fime
/l{4idJY
\
1HelL
t'.6
/lo$io(r1
I J
llogioL(\
\
loginr.'t
\" ,e
9t,
line $o
i ??36
" imDleharll,I E lfq e rrrdl kl<q
-+F-!
wq,i
7\L>""
?551
ft
tta ll{to
?
-)inde
bfrn
l
one "
hl-m
I
B &u651 0.r
I
""-
1-*'.,,
t..otbo6t
:,.,1
o
iliritffi
lioae*
ht""t
->
DevetoP;ng
&rvlr
g'trcr
*ar curo t5 and displordS r,o.dP
"re1r(esf thc.f are
grvlr; fo
tde-ba?pticar-idne
!-/
13::j
keep tsE=e,ld2 usLAPP
o{,p}icaHon
tfab.
\--'
6kP-$:-
Deuelop
il'rg
flrtr
pvrr6ram aj shorrrn
belttr:
in
tntEB-rr$r/
ctctsaes
Pra.
;6lx.Nt iar,ia
' io,
*
)
tto ooft i^" ,
,'
.q.
"u
i.f
-
,t ;
\)
/f
Cr,ntit
rtt't
'
jovc^
;'4port
'ravar
'
6e{vlelL 'f
i
l,rf,rc"t
jau(lj\.
6crrviet. h$p
,
f i
publtc clcas G,^otFiri.'l ivrplewrp-nf6
Elrc.Y
{\J
int cnL;
\_.i
Sour<tC*r*t 6c
i
Poblic
vrid in(Firte''ConB9
fu
)
\-'i
3
r-/
t
liSE '*"rrerGue^t
obct't
5g=
ft'ger9ru1q1-(6n*extt))
\'/
]
inrtl-)
p.rbric void
doFlliclfgevvter
p41'esr *1'&'t'et?es[xmse
,ts; ffinoCha"'
")Xy
\,
t 5s 9(''counrFII.I:doFlre{C-'-)")'
ll
A"* rq,trest 5
\-/
ft' doF,t
t (rt-0,
,'ees)',
]
llao;'t.'c-'-'-)
p4\ic
void
de5ift$(
)
, J..F.,,
J
J
ltttoss
/> Jovoc Cn,ru E ie r
. java
ton?,tXtrre
the a;c,ve
Scrlt(}
pn4jqYll
u{\ Sx+(Irn'
tn rdcb,xml
ftte hrtu;ng
"7re"os
rfie
!)
't)
J
'
<lisKneY
>
/lriKah
-
crctr\ > ltgf&1Lisrc.cr
af I -c >
4 llsrtneu >
<ltsKne1
>
zlis<rrr
-L\65s> fl$$cLisrcn
e'{
z/l-c
>
Aliswnu
>
2i[[r"-".t
Fu3serusitno'j
't]t
t>
4]t;lrtnet
7
CDt+t;
5c.&tAtmrcre
-,
zftLter-;r16pp;ng,
zhtrct -oowc
>
z
P;trcY -
closs >
zlP;lW-Yn.rlpinX
z
Llux,b
'
c'tf >
4?-n>
zlP-'>
npkes
g'r
E4
ProffaYo
YSSP
c'Yt
55
,+
+o
trap at I ilre
Y4//5t
an d ccu rA e
N(5
@{,p'l,icrd{
"h
"-P2:
Drsptcr'1 Qe+estcDunt
in e!""d (Jxbresot'-$' P'ograrn
b5 readlng
$e
&"'ltetCoru
&-te*Cctu*
t
"'
t:2:?:
.'l'*...
serAr'i
sue
(relcnt";
)'
p(,'
Firuto
('tbt
>
tstt
'
"r(4/-cs
t Crttnt
rJ
NCti
mal
rnlnned
'
to P.,'#urr
the
no'ot
visitj
6he?-E';
Ae&$C
rhe
64Puco$<rn
in
h
atlmo the
jairun9
extsH'lJ
in
rhe
-ne]t)
logq
pa-Xe br4tn tl',e
Sevgvn
'
NCJfE i
10
-Ihe
obpve
cQpu
coh''on
i5
trsee(rl
tPe,b
onPucafion
'
thof
ow
gutnt
$tl,stw
iP
is
qlrrc'd!
ds6ighrrf
rlr :
-
,{rie
o.
Servr*
l1'llt-'t
\q6eain.
06.'r
totse
Prolrara
.sho@ rhe
uJel
+o
{ htter>
aP; t+el
-rxrm
e > cnt
z
lP.n >
z-
A Fe.r
-
clal
5 >
Gacrlltfor
.lP-+.2
z-l\tw
>
cnl-
lx
T
Altribcx4
\idl4
In Firsr
5ewrt
16;'6Jetvlet'jc'v
4
k.loqtta
(t4'@t) )
fLt4afi '\iJaa
5ourer-Tl""eod SoPe
nfl
:
-
+
fg mrrnpre
rbrcad s are
o1}ing on 6ing\e
Coocuyren
Y
*ren $eYe is a
ftssibl
tii-3
T0 0vel come
rtu s
prDbtem
allao
orr\g
on Veyiabte F0
may-
OQKrh
(6r)
Vo$abte
F
lrt leorz
ohje* sr'
varjeste
SirDe)lanc.dld15
G^J
"?
Drrc^ cowup H crrr .
snp $Y'6cd ara
Hme
crn
io rha*ohie+
a,s
-thrrec.d
&.Pe
.
-)
ou'f
8ervtefPmgram id eri
threod Sc.fu
b6 dePaurf
. Bnrorose it
is Sing'le
instor4e
yyutflpte rbr"ead 6
$itl
bf Sfct)kd
Concurrt
nr\ cn
*r+
TO
FTd'
Octr Se{v
ter-
0'"t-ttotn
0
Ph'ce
cmlS l(f,cd Vcfficlbte6 in
&ode Code
8lblic
Ct&s5
J
I
trbl
ic
s
t
6'rvicet-,4
f
a"X**G'-)
rrshods
@
,.u.
SXnchroru
zed doc.vs in
Servire C-,-)
i
&Xx
'('
'-)
rnerhod's
O
rrrlLe o,r
&wLerctax
lvnnlertrovudn3
icL\al
. gervlh'5r'6ilIt"*r\'lo'lel
(p)
lgtj,-
fd
K"t"'iq,tt"
is
rrecorrro'nde-l
'
-+llctuoSSewtetP''{*-o3-1hftad'so-Pe0"Dflamisncrtr;nXhrrpffflc}ng
irt
drriz' fvo'ro-ores
as
-IhrYad sc'Pe)
rePer
1+laql>ot>
'
laito
lzot:-
tu-nta
Tt t,r,igte
0
tptot
loc'tvc'Yiables
;e
$ewice
L'-;
/
do}
* x
-
fvo"5
rlread
Skarted
on Gr{
&'rvle+
clc'ss
ohjet$
gavice
(*,
-)
|
doXt* 1
,.;
Jn
&k ltchr''i1,(
toe stpatd
not
trctke
Irur<'nrce
Vc'-'.nablc
in
Eenvlu
WS"
We slucrrd
crnrq
\ocor
Vac'stes
in
6501rice
Gr
-;
/UXxxC'-'-)
Locr.r
vrur
oare o?
Service
(-' ->
IaoX
xxL'-)
art
d l{r"'^ro-'A
so,k 4
&kt^tt
koz
ert"l
$rec'd gets
lbs
oaln
6oPJ
4
lo(tJ
Vo'njdhta
e^rcftis
lirts f
&c"
5
6er\.r
rc t.-'
-)
I
doX
*o&-)
$^gte otie'+ 4 ocr{
aE ftreal
5c'9e
Use
nrrlHPte
*rrPa&
&-"te-t-ctors
).
rhe
-B,,or,ng
l-ecbrb'uet
gr-1 .ethoas
)
&n
e*"1',
'saYesl Yel"re&^5
Tsrsrv
Void
Corn
=
nurl
",
llWuvaoi
crblf
/i
rogic to
cTec,'rc ond Lxe
''
aorr"
ob.-,1
Gnrrct,an
t r ,,Cr,
4
ote
rhrtnd s
g
fF
TechniqAe-r
&,u
Nheo 0x
cc.olt
etoid
Crrobng
toi
rh
biEP
)
t
/doX
*-
C-,
-)
T!!y:-}
(worr+ng
uritb
funchronized
----)
plare Sgoclnrc,nJ
z ed
btocf5
ln
li[e Gnnc
c]tcrn obJe$, &:'l
letCor*t
xr
-'--+
Tkr-r'6 15 rr)asf r{orDende
d
t'ohrtqLte
'}o
.9lrnplC
code
.
-
,"t* c ltus
-lcs6ru
e^Knds
H's16
5
Publ"c
ll
insrcrnce
Ya'46cbl
( pnrttdcm
lon=null
'
ll
QuYttc
void
tnitt)
f
3
fxbltL
,[
bynthroruze
d
[(cm
J
(
t
-__-,,.
ll
logic
to
l"
J
"--.'
ff
rarc
to
Void Service
(-r
*)
creoie
(trn obi
6;r
ifrrea
d 6aFe
Jns
rr-rmce
Vcn'^cLble
s
crn
lf/)di"'fi<n'-
obie'Js
o.nd''
''
eJ{'
V 6rd&b
t s -
S-",..
C-,-)
/
aoX"
'C'-)
n'Pbocis
oaje*,
Ht+P&s6taD
ohtr't
use
u
c.tt,"
oh1
//
ttlO;.
r-tc,rtt{
fo
&*rerG're"r
obi
{
"
---
flrqic
rlctrd
3
]
llrneood
cl&s!
I
SXocurou,zel
Csc)
il*p&.sr.t
oaj
A
tO Crecrr< bewu-l.t-rumrne
&r,vLcr.*';-a]
Syncbroruzed [ses
)
fo
3tt
brucost4
@ltlo(L{
b'Y[osG
(oindft)a
All the rhlte $r&^d9
offi
Slngle jdbc
con o[i
h* cne thnarl ara
{lyne-
g:ql,-
[iroere,',e,.r,ng
javc.x,
sewer.smgreT]rruaHodet
(r1)
---+ Jhj s ftloiFer
i r*cr ft.re yncLEej
horrrng Ser
o? readtS oxorlo]te
6ew
f e+
GtvrcotWr
oh.j/rs
oP
Oc,n
murriPle us.s rhem +",
eqg *rtcrd
ocK cn OntX one
ob;r.lr
o+
Oat
eew
U,1. C[cL\
S
r1'rlS
ftampte code:-
Frbl6
cto$S
Tes,r3rv
errcods 11'slc"'s
irnpiernen'rs
SrngleTlirraA
l4odcl
s
L
t
ll*o
//*rj
,rc"3
f
loa,-r
votaLatn.'fr"''s*-.\tr./-^rd^e
)
con
lt-
Pld'd
'
tdx5,tW;Olab,>
-)
CYeorlr8
rnurHple
Ohiells og
Ul,
oearn6t-
sewlet
gecc;colcm
and
&'rvtrlrxtcr.c<
Obir,
ob.ia,
o\i3 are
ohieus oT
oorlew Er cld{
eTesrsyv )
Selrrtel_clels ffmrugh
Serrrlct5o6J<lrnce
Frlrng
ortso
g)ll3
the
prPormance
.
Dup
ro
ftus
the
jc.vc,x.
6enltel
,
Sr"glell*olllodel
[L)
has
kuo &r,rrcarcl
Pr.,-
ServterAPr-
g'+.
l-'
J5 P
(a*,.e',ve"r
R.6es
)
--t
Neb otprlcarjon
is
ddtrLdcro o? co<bye5r*r ce prDgyams
geruTcrH og trx1,pag
e5
.
-z
-The
wla a14>ti1'641orrl
i e. firsied on rhe
;Drcrner nlLo
bcr-urog Dopr,rn
r6me
t)i
K e
is
Carr ed Wdr6i ie
->
10 .)e',,tlo
Q r.,.;cb^resarv
ce
pruSYdrrrs t,le
need
c"el'
lech
no lot is
'
Th'n a'6
?
l-g1r'es
&]e-b F&nologie's '
3r|v e -6ide
ure):techolqg
o-
( veq,nr ," a fts
develo1
Se{vet
-side
Ejl-
S."u'.,u,
Js?'
AsP'nl-'
AsP'
9F?
Se1vc1
- Sicle u:<b
resglrte
PYll3rcms
Eg
tservlr
Prg I
connP
,
isP
Ptg I
61;g1ti -
Side
W{-blechno
I 09 iJ
:
-
*vffffiijfu
P't''
i
Peqlri
ttd
lo
dewloP
(-lirnj
s'de
wrJld.)(7
oar',
)
ctl
NOTE,-
utbregtur
ce nnlrarnS
)
aod
erc" '
'
ln Selve'r '
xet'l'u '"
CoYlr? ,
as?'(Ft
Pt9
,'
)
java
$r;pt
cod
ei v b sct
t
pl c'xle and
e-1.e
'
loe]o
resoul c
PYDqrctnfl
i5 C\ieni
-s;de
tDhe'r
it
xeauxs
not
kffcl
o'\the
Uti
Ttvcn
'stAe
ra/rr
@
f,['' h+mll iavc{sct;pr'
vbsc{tPF
'Ajax
atd
e}e' ' ' '
NorE-i-
61;1r',.1'
oe-lc 'resOut
ce
pYts cctfne
t0
br.yJtse'r
1p;6ioc-o f
cr
itttr)
fto'^
rhe
Loeb&ppri@dtdn
o?
vvb?xuctt
[$*-
)
4^
ae""t^
'
l2$''
bt-l lar3 r
-=-
!otl-? DecJde
uxr,rl.u
bc.sed
d"T
the
Place
.resi
A es
.
p [c.oe
uc hure
le





I would try to update our site JavaEra.com everyday with various interesting
facts, scenarios and interview questions. Keep visiting regularly.....
Thanks and I wish all the readers all the best in the interviews.



www.JavaEra.com
A Perfect Place for All Java Resources

Вам также может понравиться