Coding Web Services with JBossWS

In the first deliverable, we will show how easily you can turn a plain Java class into a Web Service. The newly created service will be then tested using both Java and non-Java clients. The second part of this chapter will draw your attention to how EJB can be exposed as Web Service endpoints.

Developing a POJO Web Service

We will approach Web Services with a simple Java class, which will be used as endpoint for our Web Service. If you browse across the Eclipse menus, you will find that the Enterprise release of this IDE ships with a Wizard for Web Service creation. You can find it the New | Other | Web Services menu.

However, we will not use this wizard for creating our bottom-up Web Services and we encourage you ...

Get JBoss AS 5 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.