0% found this document useful (0 votes)
12 views

Assignment 4 (Web)

The document discusses session beans and how they encapsulate state and behavior in a distributed application. Session beans maintain their state independently and are designed to support distributed applications. The document also discusses how session beans use a database to persist their state.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Assignment 4 (Web)

The document discusses session beans and how they encapsulate state and behavior in a distributed application. Session beans maintain their state independently and are designed to support distributed applications. The document also discusses how session beans use a database to persist their state.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

heplenentbuuinees

e tTb tomponenu
tommnent that
that Tmplenmentase ealled
ictelat witeti wtnn
kein bsan becae yhey
be sttles er stateu'
estsn, wiehn
don't maintan
theyblw method nioetbnd
nti bl ebu talli
boneatuoal state
taeh method al is indapendent g

stat with ellt b


oiawamtasw oweLatial
boneatusnal
ted to a speeite
eheyase
metbd mueatims
data
seuon.
to that
t 's
Cent k ese tneapsulete
wy to
seioh kate wa
h
buines hession beans ale
aplueatísw. tattul
dtibucted appueatiow.tatiu
a

teMtaeda o
method
needs to
Wsed nhen state
seteandaepeteed tor
Lalls, nie tateleu pomanee
sealablty k
opelatorl toimpcoye
tateles
batabate tesciity)

a databAe

catalbaie
)to eenett to dtabastd. Not eewnended
tometity
Se hadton nee due to pelornanee De
nati Ap I to

toneet t database.Phonde betu peoma


conet IDBe
to
Netwr PAoteo bires
biie Uses wddeae bette

alls wto a database


peteeat
hat communieatis dinety
stoeol!
hin dv! Puse a die databaie -sjeeie
wth te dodabale whm
a
-independent.
Bet tetomanc k paYten
appieation
applieatin th a
ste lara
to couneet a lara
Ama
database une
Ibei las he
Lod the
cenneetion to the database
Estabi a metnod.
"Dinemanap t conneirn )'
statemert obje tor cxeezig
( ) weate a twstatement
the
esees
) oe the conneeion k e l e
method

A5) nsation mManagement wtDB ene that a

(t
%
uto t e t ruatAnh s8L Atatement
utomati ealy
teated separate tranaton k ia
tanumitted tel ex eeuton
Manal tandaston! Beqm a tranattn expliey
and comnitlo
tenectn hetAutocomnitfale)'conneetan:commt
onnetisn elbak s'.

You might also like