0 ratings0% found this document useful (0 votes) 156 views30 pagesAdv Java Complete Notes For End Sem Exam Preparation
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
a :
Soustets, Hoo they ctilhen f
ye
hoes sowlels te processert, Like Yate Ke
‘ i
_ Servier ae oR: .
Sy HTTP Servier Chass -
> Session Heocliing, (oles aie ao Kies:
Unit-3 — Thre YYandancd exter gion 2-0
— Badhet S Joke ane ft anchritecture -
=> IDRe paiweres -
= Steps fo- Tbec +o MyS@L Connex Hone.
7 hot IS SSP & iH Agpe file cycle.
SP Hoes ISP iter prem Sercstet
cer Sia Soupler
| me
ae 2C8s-
Tea = ORM and J2EE Frameworks -
LAP INTO Auchona -+o STRUTS anct SPRING, .
[= sping nor:
Fla Wohat 7S Tewasoupt fs feoteres, OU fygenennce hefeween
Tavasox’pt anc TSP - 7
Midhat (Ss Taueny 248 Lees. z
= a
a, ai ie> Com pocen Of. Tava BUT > ‘
> Buttons, checkboy, USt, scroliheant etc ane the t
Components Of daly java. iv-r-t COE - 7
PHOT (san Beas weight component and alse ae
MEebecaie \+ aontting 210 clawes andl ae ae
Frterfaces .
. bho 2
> Ca; now > PL com ponent pHOe® NOt comtein NO bOrot er 2
Re Hes Fie vice venta Ss Orato
PS Pavet=~ A ™mponent thot coe As writatn tHe bac
_ thorcler 3 Me74 bed-
5-Q component thas cee
Qmenu b orm
e bar,Bvent Classes :-
? Acton event, Rel just ment Event Gmponent Event,
Conteiner Event, Focus Event; Hemtyent, Key Eyent,
Mouse Ssenk, Mowrelheel Event, TestEvent, «irdovo Event
etc .
8 eset idleness 2—
5 Action USien ere3, Mouse USftenen, MouseWheel Us ton en
Keylisten ef, Trem Utlener Text lisence”, ASustrentListenan,
Dindowlastenen 2 comporert U Sten en
7p Ortasnen USten are, ;
FocuLSHen en,— Used fo orvconge’ the faye
- Ato the Agen ent region. ‘qhe nagiond con he "R
. S0uth, center, doeit ,2@ub gle.
eas Used to suerange 143) ge tnd.
er Gla pattem.
2 Flocolayout 7S Used to aang e the fayaut nto Ge
'
peotticulan Uffeneat orcler ef Sequence »
4
|
7 4) Gexouplayaat is cued to areange the feuyots inte a
aS ne & Groupe I
S Bowlayocut fs wed O awcange the fayout In hole ou
toed cu hetizontalty ar Vertecultey .Ri
GHGo@buwee Ye
x ‘
:
i
On
eSewer ane
oo TENS Oop
Oe tn TA oe
FAH Uten os
aos the henes ts a
COP4tg,
FDS emits 6) otk
OMAR OF Canty leg treo ¢
s ptctty,
"s possthles
D+ res crire.
Sowers
ty 10 the PSt Bey not Re it
yy SF
TIF "S process beveot tre
Wee every new request a,
Pes process 1S create
BDthe codes ane wrttenaes
any dong. age-
QW Some cates S$ Oar oa
Rot
‘
‘mn OoP Semen
ee # Jet he beanki
TAVOA.
Ot és Going fo Le comp
ancl certo 4 ee) af ae
Oceih Got ena Rover,
NOt Portable
@Qoata Bh ecg fs mot
Posstble,
70 the Sensen> *
st 7S Loadlecks —
is Loedect -
FS oxeotedt-
[Serder cass is \
created § —=—3@)
S€rviet Tastance °S ermicel
(rut CV methoct “sf
KOA ne
geaeeg
BD Servier class 3 created ahter the a requett
iS matte “ny the Cexvtel
Swe
ne Servier Trtaree '¢ eated by eh gontedn er a
> 4 ater the wer ctSKYE clay fs rected: = 1
2 init(\ method Is created U caved after instance a
is Creettecr & this wrethoct cit! gery to Created only
: Oonce-
BB Pubic Woicr Init Servtet Config Contig) Hhrees
Sepvlettx: ‘On z— K a
‘er % "a
Bearer) ir the Serie ete
Pie Actnaus Core (& wes to inp ienal
'2 the Servieta gt Neests to he (raplemen teat bers Sry
~ Servlet. d+ has 2 ihe ote mnethady Such a4
2req 28d, te
4 destroy He Srvler & 2-Non = Ube Fhe methodg.
, etic! i Senilet Tatenf ace +
(Dpabsic Vor Fria Cervletcon op,
St prow fctes Gon,
IniHalize the Cerviek te seus/ce. the
g SAR )
<2 publre Votd service Cerviet Samet sadtieer FercietRetpo
responge)-
§
et
4
3
=
t g pubtre id aaitey Gye a
Lv) publre a5 get Service Tafoc!. 4
5 2 ae a
a
ra
Pubkic Sory( oma geo
Gonteg C) -Seprowder rappente to the tr coming Kequot
(rNokect at the each requett by % web contar
Be oe
2 pertic Vat Diet G) t= St frectect anty Siieel ancl
Winvoked Hat the servlet is being “clertroy eat Se
: ‘D pubeie Servlet consis get Servlet Conf C) atliai.
Prchons the object of Servier Cnty, ,
SB pte Skring get Sing Info O)
retunns intormaton ahout the serviet in the 3
fecrrolo a.
AHCI Servlet Close t-
As She HTTP Serviet Closs extencls the Grenerte Servlet
Aass ancl implements Serializable inter sace- Tt provrctes
http Speahrc methods Such aS doCret, doPost, doTrace ete
PU must overnite ot Aeact one of the methorts
bolero t=
Le Gora.)
palopret detest accra fine A Wertey C1), got Seyler
Tnfo C) etc - 2 dover CY i ;
Ddothet ()-- at fs c method te get informoch® n>
from the seryer- Gt fs Tatlect Servlet Service” |
— methoe-noe Es “aa
j
Soong a Row ured #0 oentros or
: ae
gee gocte the Souser. aU :
D get Servlet Into) 39s & Methoa bev fo
(4) tetas the Lofermotion ebeut the Serres
2B Sextien Hi os ” er
FQIYIESS cued fo hance the Sezgfon inthe aoe *
|Setien Bmp ly means - “a Porcicauler fatervar of +e
“sherre Ss Sta eters that means each request} fs a
Comsidenest as- a neu xequest
2
Server ; a3
3, FL Nec Peau est —.
Cu Gece
e ; oe
Y Peanett
caer
| 2 We UG: serss,, hen cline,
Fespective ERS On x
ATthere ane
techni
ie re ehniques wie in Sexson i
D cootetes.
2 Hidelen Form Fre\d~
to re cognize Hod
portale Loose.ett OE thot the sequett) stehuras
Server Ws! eooete: Sé cooleveusiy be Sforeat
in the Cache of the browver- After thet the
browser Heng the request + wolere 1 Make |
Sure the (lensige ty & the hrauter tO the cerver.
BTypes of
Xl a % Ment 7
) Non PergiSient 2 — Ae : 4
— This /s valid only Sehion Only Tb IS Pemovay
5 when wer Left the browser /cleses bo th j
25.2) Persistent — ¥
Bednis is valicl ONY OKtee midtpie Sesion. Qt (s
Not Mec omer ,, See yor [these Llowlen -Gr ic
Femoyco} only ‘6 user tonee ie@ Ndvantages ‘.. i
bh Siopiest RET ees ei meyin #7 ng 8 Stake
os) ce dleves - Core murtnte at “ee size - .
2 Disadvantage &
: 5 . Abe : =f
9 MF sce net Looe "f woe sod Sails
louaee
we
—
=
—
z=
aS
=
ayp eo of ,
sr
vain
ed pPPL-
IPBE Aceh tecture +- oy
+ consists £00 pods AS
Jere APT, a pur - Ta, Ras ee
=> IDRC sanserttngen Franeger 720% Se ed oa
arth Vendor specihe daivers beets peer Aen ae
u ton Corth clatabare - NO cherges theese Br;
Creal Sram unicottt
One ton | fdher (nh \ Gouee® =
ie ‘ Fave AOL iP
Bs Ape a
(cow
CAKE APE POY Er
}
J
sig
Y
=
a OrRc dota
i Y pe
SOL Snuckste-
Server
Cove d tigi Ldddd dg“DP AbeC- op. Mes sees 3 ’
A DRE. oer. Bridge duo Wier ORC ceteen ta
COnne ck, to the Actabere = Fhe Ingc-
4 bri nverts: pr co Couey
OpRe function COU8- Hrs bs noes
ay thin obi vex -
Se
ae
OPhRe, autabare.
OL metheo nto the
AS Uda a of becouseSB Netuso Nae ee a 9h cies melcelensace eee
3 Converts SPRE cars Wreotty Or indirect into He
i Verclor- specie clotel are protect. Shs hed aston
; Soe
Po Tae.OBeks oc Gee wp My Sil. eo gecten 2 og
; Lisect +o rite ooolt MySRL Me a “a
wAVe Oppeiceetion|
wn
Bal [occas Hone
os]
ay 5
ee Backend).
¢ Gorott cast) Efe conneat appercanen ri, Patabasray.
\ Step 2+- Tmpoct Package: F j
Step 2=— Rearste- Driver ASSS'= TPraame G) metcy. ‘a
c mes Fe Lead Priver as] ci ue
| Sige fag
Syntax 2- Uoss-forname Croracte, Javea. artver.
Srocteoriver 9,
P Step 2z- Create Gnnection _
Connection con = Oy; ver Manager. «get Con me atop,
} { C Pathe “Wer Narre" & Passcucrcl Dy ;
is Step 4
fe (“Setectinr, a
‘ Rtep-S2- Con.clese Oyanc ©
+ Techn ologe, St is
ie Sa
a Server
. farguages thet RE cont a proce eal more: on
By, he Server &tde rather then the client ole.
“Soe comes walith GISP) exiengron thet SM ao ye
Condai h
ee Bigs ee comity of Or, A HTML cocies & ISP.
423 ey-ce ni
ke CSP Tage, Alo an ymproves| version of
> Servlet Teg, poles es
Class Erle
> SSP File (> meved rnto tretaslatoc for trankhahio,. |
ther \'+ translates the ISP file (nts servyle£-Now as |
tirther moves (nto cempiler & then MHeomprie the
Seryiet file tate close filer anct the farther process
Conti netIRaicie Webi eeruisen 9,
re x eoution~-
Progpcars SK TPIS fomplleal into -) Moctet , Seale of he, cppticatieaaiaae
Pit Can aio have businezs Logic sot FO
Views scepresenlt the presentation te UF Cuter
> Interface) .
Delvaotage Yechitechine 3
peo a Mei > oat centedizect-
ee to meintern the Poorge appt cocker
ie Pose ee
CEilter/ Steviet)
ipe ‘ ae
IL us going to procesé
eit nse em toga: Sha wee
BE ie nt Ss e ee
tags the pack of thes Code ushich 1S Ww 4
6% %.> tags asiet going fo be connae, 08 HTML
. ae
OF Plain tohkme executing the ISP Page.
pad Py ead ay lg
ip =
j thene are S type & oliffenen } souphinsy
5 ements Que there Such as :- i
Qeomment D Directcse 2) Pantcurakyn YW Seriplet
ES Expression - iad : a
4 = br
D Comment 2- Mankedt ay ect Susew to conte Some
OEBEAM (cofir mectsen OF tpare Focrenershon Ente
futwre. 92 <%-- A ISP arament —~-Yo> -
2D Directives = contarn Sewcnray attributret that are
Seperate! PY a womma ancl act ag kay -value perirege
BBB St wos cewelopect by Pod i
\ NBamecoorie meter the easy lev lopment of Tava €E
peter. Bis helpful for beginners ancl
. experi enceol P SUVOn.&..
SS on Fromeuseck +
\ BSpotag, Ermetonck 2
S355 Spring sq Light werght Prmewock: 3+ canbe thought
Sasa fomeworks Lecoute (4+ Provides Suppoc’ 1. Vaseoxs
Sehr WeCkS Such aS Struts, Hibernccte, Tapestry, ETB,
ae etca The fomewere, (n broaden Serre, Can be Adines
PB as A Structure where we finol Solusion of the Valous
techatcar Problems.
PS > She Spring meesock Comprises Seuenal modules Such
[PS tS FOC, AOP, DAO, Context, ORM, WER MVC efatoe usw
i) Peaxnthesle| mech ues A next page. Lets uncer tanct
q
the IOc ana Dependency Injecton First.
PS © Spring aap s—
Lae PSpect orrentea Prograraming (OP) compeiments OoPls
a 'X the Senge that iatso Proictes mocltaseltey | Rut the
|
~ key ani¢ % mocuuaraty s = HIME" Tags tr a web pege-
172 Fecttumes 2h dlavasempt ¢—
“= Some af the eaters ane Ugntoerght Aynanic,
Finctionay, an indexpreteat « New we are going to Aiveusp
Seme Frpectant pootores & Fara veut.
Dught werght Soupting Language,
2p les og
Y Nees Typing
Q oor Support
DY Fan ctmncet Style
2D Platzer Tnctepenctent
5) Prototespe Basear
FL Tnsenpreteos Caney aeiarel
Weed Ha wa ee
g
AP.
x Psync Processing,
D ctient- Mele Vatretatton ,
JQ) More control in the brevocer -
4
a
a
2
J
:
a534 ete mpeigier ne Huings cohseh ones
© from Tovaserpt tke AYN. cay, & Pom Manipulah’n
9) Utes 5
3 2 Plugins
2) Dom Manipulation
2g Animetions anct ATA Secppomt
Ease of Learning
S) Sehr, Brgcine. Op Himt2cchitonhems > co fo sere foo
i Fppeication se anothe
2 10"38>
uk) Pub domerin,ene mekage is
SIDE SUbsotibers, Fuh Litee bps caeh
IS Wed ag Mon FM,
2 Fave Mail Sousice
a? the SavaMait is an APT theck's wed? t3compete,
P Write And reacdk electronic memag ox (eraits).
2 Gre Tavames API Prenictes Proteco1—'nclepenciont
ana plotfocm— inctepenctent frametwoorte sor Sencing
ancl Seer Mriceil £« ‘
— the GOVAN. - mots And favoy-meaio. activate prokages
conteyns the core clase; 9
Hh Savamaie Architectue +
dava Apptication
Jowe mace API.
Tava tmait APL
Cowent Lay er)
Fava miata S0T (Server /Pro
\
SMTP Tuap Pop
toceat layer)
Mecage.e Sersion object—> eee toa Por 2
Obseet a mao
Reparere the memages frome— Creose the foicte- Object &
om oO é oe eee
the folder in an acrcuy per it. “
nek print if Stee ao
os @-the Sere ana foicter objects,
aT
You might also like
HTTP Protocol in J2EE, Web Application, Servlet, Request and Response Process, Handling, JSP
HTTP Protocol in J2EE, Web Application, Servlet, Request and Response Process, Handling, JSP
12 pages