Java Reference
In-Depth Information
Figure 5-2
. Deployment Diagram for a CXF Web Service
Developing and deploying Web Services involves the following major activities:
1.
Create a dynamic Web application.
2.
Create Web Services in Java.
3.
Package the WAR file.
4.
Deploy the WAR file to the Tomcat 7 server.
Figure 5-3
. Activities for Creating a Web Service Application
5.3.3 Create a Dynamic Web Application
From Eclipse, create a new dynamic Web Project. The steps are as follows:
•
Choose File New Other … Web Dynamic Web Project
•
.
• Choose cxf-ws project from the left panel, choose File New Folder.
Name new folder lib.
•
Choose all default values and name the project 'cxf-ws'
Now, we need the following Java libraries: