You are on page 1of 5

RollNo CS- 4153a Exp No-1

nName Shraddha Me 3ty


D'at- GIRI2
class TY8sc Cs
Batch:2tD}
Sub laleb Seyices
Pblem Statement 3 i t e a prsgr
to implement
t0 CTeate a Simple Alch
Service9 that Convets theteroprature
from Fahrenheit fo Leluius and ice
verSO

Seps mproett>UTk on Next


C r o t ofile nevN prsjet-Select_
Java \dab catesory flnleb Application<
Snter a praject NGme, ick on neXt_
lick on Einish
3 Ater Lornpletion of paater Creation indeX
htm páge Loill open
2 Right clitk an projetE Nav JWeb Servite.
Entey a mlch `envice name and paikage
nami2 litk on finish to create, oa \alXh
SerNite
GInSourte packases there isapatkaqe
Servie O ANhith contains sthe Sevite
file emp Service.O. avaand sthen.
Opern this file Sothat ipe can addHato_
aperation that ill_ onvettemprAiize
Srom cel iug to Babrenbeifand ite Ners
ICick on dlesiqn putan'2 i t k on Acdd
operation
8) Name the 1ST operation a PAEFtoCelL
CLndeturntope a A AEEtT hat
4TE
icle on Add
A button
method Name the
to gi paanmetrr
eter
And type a parameter as f
double ound
bltton. hen clickon ok
) Repeat.
Step and 8to cyeafeSeons
opexation.
No1AL Clit_on_Souzte and celefe he
hella_method ans Seamenf Code.
1NoA Lrite the Pollaisina- Code TOcon
vErt_Pa |

Double C= (f-32 )O:55


Xetun C
atits the follouwin oce to 'Conver
Celcius to fabre and then pIe ss
ctrltS to Save.

Double f=[c| 8 ) t 32

13 NoA mght dick on project nanme And clitk


ondeploy
14 Aaht clitt on teip-SetMite D test
ALeb Seiice
15 A 1ALindou) will open in he broaSer
No iP Lwe enter a numeic data inths
first box and eickon the 1S utton
t Loil Conyert the enterd ata into
aLelciu
6) Similry 2nd text box and button
DillLenxert nuumeri NLLu into th
fahrenheit.
f.
7)Noun ta consLimehis Aeb Seryite weill-
Lxeate client
8no1al Cxeate a nèn amebapplication
panjectand nam itastemp:diert-
D Project
naIAL Open indeX: btml_paqe ak:
tempclient_Dponje tt and irite the
Folloiainq cade ini

<bady 2
formn2
inpuE type="text name
"data"Kbr>{brz
Kinput type ="Submit" yauu
dComert fto C" name e"f
to e" Fomattiom = "fto celisp
<br2Kbr
Kinput type FSubmit value
"Convert Cto F name=
"ctof" Pormá ttian ="ctofà:
Sp2<br> <hr2
Form 2
klhidy>2
20 Create 2 ISP paae foy both Submit
buttons Riah£ cliik on wteb pagei
ne sp-
21) Entertheháme Eand he ctick
a n Sintsh_ ftoce
AP
A
2 Nou repeat the Steps 20 and 2 Ohd
9IVethe Pile name a a? Cto fa
Snow youhave cxeated 2jsp tlle
Temprate
ittpanett aind (alter xneusteleut
aleh SeTvicesclient
Riaht elitk on temp-clientDpro
n Selett aleb Servite clienE
25 clik_anbrcMse
o New windau oil appear ahd SeleE.
tempSeryic eD_and click on ok hutton
27) click an Pinish
L8) nola aRen ctofa fle and elelete he
Code in betiLeen he bady Section.
9 Na cight clickin betweén the body-
Section and SelectE Call lAteb Service.
apeiatisn:
go)Nes windowDloppearSelect Ctofa
byexpandin itand clitk on ok. Code -
will be cuutomatially generated
31) NowAdd Some Line dP *ade inthe
file
S t i n q S =xe uest.qetPaxamefer"datal4
Tatesèri Tnteger.parseTnt
LS)
_double c=i 4
32) Now Ope t o ce Hle Follow the Step
Saam 28 o 31 Only the chan tL
in 30th3tep ie insteaddfctofad
e Luill cpen Selet Fto Cel
eploy
33 Nowin the tempclientD
A windou uwill_open projet
B4 Now yOL Canenter
any
numeric_data
intotextbox aned if youA willl_lics.
buttom i t oill ConYer
ala into Celtius henumeic
Arnd viLe vera
far Second button.

You might also like