[Name _t- Sarode ejat _‘Titendara
Class s= T4eBACe Ay
Subject s- Advance Javier
Rol no i= _33§,
Aittemet
Wnte down 2 methods of connection interface
Meveate SiatementC)i- This method creates ot
Stalement object Fox Sending $1 steidements-0,
Hoo ees I
__[2) Prepare Staternont nf (String, $q\) i= Tis metvod ceases.
Pol paxe pay iSiadicnent Obvocts far precomps steal SQ 1
_stovkemiends wast Pasca.ren tons
fe
thet 1s _sleep CL_ract Yhod in _roultithenl a
he sleep) method in mulfthreading js a
static method provided buy the “thread ater ys
an Bava TA [s_usecl. to pause Hee execution ty
Jol the curnendt executing thread fora 4
el ee ae ee [ST eevee es
B.. hed 1s Hhe method toset “the threacl
monk
» io ea frsioity , of the thread es iy
nettapch_t sured. cas isa metho! of
ne “Class “Unread iclags
Nowe down 9 classex used Hn socket | ae b
@ ServerSocket i— Mais class isa peat of rth e
} jose ned oan hs_used_on -the Serversenek Sdokot >
Alno part of the fO20 ney
orkek Clays: ts usech on Hie
ceenibe Ac aa@clendin
ot,
addy
pueky
adelress
a re numbe v> thot
a machine on the Internet
TP deta. qrratimsis_an ten portend
AL QUIVE A “tOH.LL to ®
Speci fe machines 72 to
addies,
Glishak is cloGet-C)
The _doGe O moy
{class
methad of. somvlok?
ts Peirt of -itpSenrylo
ts_used -to handle
by clio ves.
hock
tn aua__serulet
4 Ltt PGet__re'guerts . Sens
tat otis p.2
‘ Stancls fox Tava server Pages: This
et seehaart Lege, used tn Tava. wels dovetys Dmont _
2 ce ontorte’ dunacinni'e web pe ned TSP auisus s
eveln pew s_ 4S _ombed va code Ut thin Hea |
ne ages, enching St heosienc ty build Piracu’ eda n
alipncumd c content . 2
n
be ftohot 1 Hibernate
——Hibemate ts an oF Trea J
—h fo Rae —relech' anol
—$ Step Reds Indenachon
on ee
: Ae 2 aelohional eames b prouttclir
: ae etal 6 tab
lava fr Pan Pa
p: ae CoR naAdeenpy,
Whet ts statement? &x plain types of staferrort
in_ IDRC
isan \wlerfeiro usec for emecutinioy SOb
Queries, 3 apdates aaainst oa database»
fe Cae 3 mains types of SHeiterne in “SDBCi
1) Stektraeat tThe basic statement interface ts
used for execu ng sicaple SQl cenit, werhoud
pancime Leas “
&. Prepasecl Sratemert i= The pepiaccl steered —
iwloterce isc _sublotertalro of siaterinewt 3
“\s used fox peccompiled SQuisiccteme nts
Oth parce Les + §
in the databese: T) oe tends P=sporcol
Provides activ fox nowndling store ol
procedure cous =
Explain thxecol lifecycle init digerann
OA! thread oe thotiigh vaxious “staiges in
pes fe a : : ean
tau DU yo
Tn 3HR¢ Cava Tatabase Connecti bya Stotercenst
Ocitavie Syasemenk j~ The carterble statement ||
‘ntedace Isfused to att ato xecl_pmicactunes |
Life cycle ot “tne dlaxecad. {in -jauen_ts contraliec! |Use cl
re od-Ov
‘Or
i eke
{irkox
Sale hon
methad
juts TS
data re+ieva}
Lu ofenattonal
J
ppended éntne
co_pf quoryExplain Archite Orne eee tt bennofe_-
He anthitethue of Hibmenote an DPEns source
007k
Fara (nbert-Polatonct mapping) firciree se
ph ae fallaws 2 Conde y ponds
Bhrarckut
) Application lauen j-“This isthe ‘top layer here —
pp codon nteracks! witty Hibernate! -
BD) Vibernate Confiquration \— “This layer inval
i “AN, Wiberncate Thaaugyh xt —
-OLb notad ony 2
)session fattony \- “This Ses tian Factory ts Oo eae
Saad ot Hikemnote {tb is wexponnble —
fox creat nia, 3 managing Kibernate ‘sersome,
far. eee yoo» S035 presents a sfrailoz
Unita of -toork 3 providhs “a con nacht
=o i. arene bedki
Wheat is Resutiset interfrrce-in> IDB ep out
mothors pa Resuttsek trelen roo. a> |.)
| tin pee ¢ tho Posuttsed -Inderferes jis useal
“SES ne paedtnd the _mredultset Of co clorterbare
an Hene are 8nmo of tro keys
Wa “the Resultset fe ae Levon tee
poplean ner tC) }— moves ee eee 2
next Aun The resultset . Returns pre jf
Me cl —nent nud, o+themafe- e
e Tht Column Tn den) 2 _ a
—_|@Tt_ts_a fundamental eo.cop On ola ae
—___| Nava = soctarbargo pag ee Sag
a0
Mhreacl $4 yechsanizatinn « >
= emuttthatadi a ae tortie uces ~esynchemndus |
tf eee i. Hing ee Boras dota |
Se na g the same]
eee ot the 2] |
eC
[3 i hao nizing
Is 2 Sa