0% found this document useful (0 votes)
7 views11 pages

CC Prac 1

This document outlines the steps for creating and consuming a Java web service using NetBeans IDE as part of a Cloud Computing practical assignment. It includes detailed instructions on setting up the project, creating a web service, adding operations, deploying the project, and testing the web service. The document is intended for students at Kishinchand Chellaram College in Mumbai.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views11 pages

CC Prac 1

This document outlines the steps for creating and consuming a Java web service using NetBeans IDE as part of a Cloud Computing practical assignment. It includes detailed instructions on setting up the project, creating a web service, adding operations, deploying the project, and testing the web service. The document is intended for students at Kishinchand Chellaram College in Mumbai.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

KISHINCHAND CHELLARAM COLLEGE, Mumbai – 20.

FY / SY / TY B.Sc. (Computer Science) Year

CLOUD COMPUTING
PRACTICAL - I

NAME: MAHEK BUKELIYA ROLL NO: 008


DATE: 10/03/2025
TOPIC: CREATING AND CONSUMING JAVA WEB SERVICE USING
NETBEANS IDE.

STEP I: Open Netbeans IDE and create a new project.

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 VII: Give the return statement as shown below.

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

You might also like