16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

128 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

- A Web client, as shown in (4), that consumes Web Services in a Web<br />

application deployed in Community Edition<br />

As a part of the Java EE specification, users can also use the service reference tag to<br />

import a Web service to the Web client. This is shown in (5).<br />

Figure 7.1 - Community Edition Web services: The big picture<br />

Not shown in the figure is how to work <strong>with</strong> IBM Data Studio and DB2 to create Data Web<br />

services in minutes. This is discussed in section 7.4.<br />

7.2 Developing Web Services in Community Edition<br />

Follow these steps to develop Web Services in Community Edition:<br />

1. Create a Dynamic Web project to host the Web Services classes in Eclipse.<br />

2. Create a Service Endpoint Interface (SEI)<br />

3. Provide the SEI service implementation class<br />

4. Declare the SEI implementation class in the web.xml file and deploy the Web<br />

project into Community Edition.<br />

Each of these steps will be discussed in more detail in the following sections.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!