Looking to shed yourself of Java EE containers for deploying Web Services ? Young Yang explores the concept in this entry
One justification for including JAX-WS 2.0 as part of Java SE 6.0 instead of Java EE 5 is that web service delivery with JAX-WS 2.0 does not require a servlet or EJB container. This makes HTTP more or less an equal peer of RMI as an intrinsic protocol for distributed computing on the Java platform, and further extends the reach of web services. This article shows how to use the JAX-WS class javax.xml.ws.Endpoint to easily publish web services, and demonstrates how to configure the service runtime environment in this situation and use a customized HTTP server.
Read the entire post: http://today.java.net/pub/a/today/2007/07/03/jax-ws-web-services-without-ee-containers.html