JAX-WS is a Java API that allows developers to build and consume web services using plain Java objects. It hides the complexity of XML and SOAP by automatically handling the conversion between Java objects and XML. JAX-WS provides annotations to mark Java classes as web service endpoints and operations. This allows existing POJOs to be turned into web services with little effort. Glassfish is the reference implementation of JAX-WS and includes components for data binding, SOAP messaging, and web services interoperability.