advanced java 2 for College computer science lab

mdshazebkhan9 7 views 12 slides Sep 24, 2024
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

This is sample file for the lab reference use


Slide Content

INTEGRAL|
UNIVERSITY
AL UNIV
LUCKNOW-INDIA
art
CKNo INDI Phone
No.:
+91(0522)
2890812,
2890730,3296117,6451039,
Fax
No.:
0522-2890809
Kursi
Road,
Lucknow-226026
Uttar
Pradesh
(INDIA}
ERSIT
UNS
LAB REPORT
ON
GR.
CS-282 ADVANCED JAVA LAB
SUBMITTED BY: KHAN
NAME:.M2...SHAZEt
Roll No:
COURSE:.B.Te...cSE2 Year
BRANCH:..4S¬E..
Sen
qst
GROUP:.
LUC
Session
2023-2024

SR
NO.
2
4
8
9
10
sig
INDEX
EXPERIMENT TITLE
Creatu a Ghus asbuestan
using AwT Applt daso
Semencaonng
NeT PaRae
Deaee densg
Creat Ayplicata,ung
Irtoto Oa"Sve pas
Desibn oam for Ist
Alen
DATE
03-teb-24
02
o-24
2263
20-04-21
SIGATURE

Craate
imfost
Exþevimewt No -01st
applicatan wmg
2
pubie can MYGauLApplet eatemd Applet:
Butto button
Awt
label alel. new label elowola")
ubie vod taint (raphies 9)
Bet o lor tlolored)
Adwaned
Jauua
Jab fe,
)

Desin annd
wai
EXPERIMENT NO-02
devssp e ueut Seuer
NeT
Impost java o :
impast yawa yawa .met;
pubu'e clans My Semen
putie stechie vad main (shoimg] arg
SewaSokt Serwen Soet
Bule Readsn wi
= new See Soat
cients -)
= Sewen Soket
Soet Sopet
Sytem-ot ohan " aient Comnet";
Soket. close ():
mew Buiew Reade
mew Inpt stream Reade (Soket
getunput stoeam(j);
PrimtNute out mew Printute
(1234):
Cat IOCxebhoy y

eitint Stauk Trae )
ciet sioe -
pushe dass Myclient
tuti stati'e statie vod main
Soket Soret
(shorg C1argo )
new sott " doal host 234)

Implemet datalêne aphectron ung
Impant jwa. sqbo:
3
ExPERIMENT No -02 t
butic clao Datbane Ape
pue stathe Vod Maun (Stng args)
Connete
String seNamme -"Rot
8hong þand
jdbe
3306 my Databae ;
tuhde
Conte =
statenent statement
Reut Set emt set
aystemot-foont 'Conede4 to tae databana)
selet +fom
Conneten -cloie
tiue Mamae get Connetan
l wsen name
Resutnext ()
patage.
pamuwamd );:
connetw . neat statemet ):
statemet eecute
Yesult set -geshts |" ma'];
(atdr saL Eraption e)
", A_e itAqe )

3
3
3
Create
ExPERIMENT No-0yti,
client Senen atpicoton wsm8
smpost jawa. wmi.
pubue cl am
339
abplicolan wong RMI?
main (Shong rarg)
locate local host (og1);
Mgremole Irdeatoe emk Dbjeut
(ryRemk Intnjae )
"May Remot dbut);
syglemoutitin ( remde Det say Helo )
rmt ste Rae l)';

9mtro oductio to Jawa
Exheimment No-os M
beams &
Aul Jawabeams ane reabe
j awa at ane wae
distnbutd
Bnig Dbat (beiany .Jawalbcams
reuab atwor compona tron
to amcatsulates mamg Syet
bues
abpeata
Chet Busin
stame
businen
aueue
was apiatuon
0 Sessn Beans : the bem srot
tsamicatanel ua hens
progran
bean
way
Commj catien wing
Aauonside compont
Jtan the Ciet ue
Ceate
distnte on een Jben he
a JMS
mottd.
ano
domatially diotnbs
3 Meage nuer Beomsiit covsmes musey
qeaks fo geshs org
ane
model dheet atts mee
itetactan.
smodel a busnen
mesage
dnplemeut Qscnonous

ano
imfoft
Exheimeut No-o6
Jawax . sawet. htp . utp weet
mfat 'jawa.o. Exetions;
Rusie clas My Sowdet etenat Htps Serwlet
brtetad Vod do got (tp seuat Regest bepuet
Htps senet enpoye Renhone)

þutie
ExPeRIMENT No-04w
for
javax. sewlt . htto . ttp swst
Aans cosRies
'jawa isewx . Set.tp . Htpseit Sponse,
cokuesi
CooRAs CotRie
2ewet eted tp seult
ste vod get do get (Htp sowt Peut equed
Htpsest Refonye epoe )
ths To enupions
CooRie "VsenName
efone addlosie (torie)
ehonse-gatunte ).tmnth ("Hslo
Cobkies st suertg"
UaeNome

chanset Utf -8 Pag Cug Goding
"UTF-87.>
< Page
langge. "Jawa" Content Te-tot /ltnly -
rbgrans.
Samples
Kmta clawset UTF -5">
tedadosg used to
Intrdudon tb auwaleue age s ts
cLost)?
ExPERIMENT 69t
þautag
. se vaibe (tue)
EyIT oN
<html
head
(ting ag)
fmamo . at Dyat Uose shenatian nanms. ent
nawTElame aytave swing Arp)
frame
+hame. sel sne (30o , 200);
3
tmameadd (lale)
No -o8-tt
JEname fnea
ubhe Stac Vs maw
it yawan suwng .Jlaleli
jawax . Swing. Jeanamej
Crest apicatiaw uanig Jaw swmg
EXERIMENT

ehanset
< htndy
Neome fmet exephos
"int mma Inteçe ba set Znt ("abe)
Page Zmoding
catd (sxettie]
<bodys
<lheads
<metaaet UTf -
hends
<pocTYPE trnds
rogrom
ExERiMe Nt 1Di
Design
<Body