IN THIS CHAPTER
The biggest new feature of J2EE 1.4 is the ability of J2EE components to act both as web service providers and consumers. J2EE applications can expose a web service from the Enterprise JavaBean (EJB) tier using a stateless session bean or from the web tier using a plain Java object. Additionally, both server-side components and J2EE client applications have a standard way of declaring references to external web services.
JAX-RPC service endpoints (JSE) provide web services from the web tier. They take the form of simple Java objects that masquerade as servlets. A trivial