CC Prac 1
CC Prac 1
CLOUD COMPUTING
PRACTICAL - I
STEP II: Select the ‘Java Web’ category and create a java application in it and follow the
further steps to create the project.
1
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
2
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
STEP III: Right click the project and create new ‘Web Service’.
STEP IV: Give ‘Web service name’ and give the package name as ‘server’.
STEP V: After creating the webservice right click anywhere in the code area and click on
‘Insert Code’ and select the option of ‘Add Web Service Operation’.
3
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
STEP VI: Give name to the operation and set the parameter for the same by clicking on
add button.
STEP VIII: Now right click on the project name and deploy you project.
4
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
OUTPUT:
STEP IX: Now right click on your webservice and ‘Test Web Service’.
OUTPUT:
5
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
STEP X: Now right click on the project name and create a jsp page and setup the input
page.
6
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
STEP XI: Now again right click on project name and create a ‘Web Service Client’.
STEP XII: Click on browse and select your webservice to get the URL and click on finish.
7
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
8
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
STEP XIII: Now again right click on the project name and create an output page as
shown below.
STEP IV: Now remove the ‘hello world’ code and right click in the code area to add the
client resource there follow the steps below.
9
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
STEP XV: Edit the code as shown below to get the output.
STEP XVI: Now again deploy your project by right clicking on your project name.
10
KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.
FY / SY / TY B.Sc. (Computer Science) Year
STEP XVII: Now run the input.jsp page to view the output on the browser as follows.
OUTPUT:
11