Developing Web Services

There's nothing magical about developing a Web service. You code one as you would the implementation of a distributed object, like a CORBA object or an EJB bean class. In fact, CORBA objects and EJB components can be registered as Web services. The magic comes in during deployment. By using other technologies in the Web services technology stack, you can make the functionality of your service locatable and accessible in a platform-independent manner.

In this and the following sections, we'll explore a single example: Suppose we want to implement our price-quoting function. To keep things simple, suppose that products are uniquely identified as strings. We'll use Java as the language for implementing our service and have ...

Get Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology 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.