What is the WCF correspondent for Java?
.net, java, wcf
Solution
JAX-WS / Metro
- allows you to annotate your web service class and methods and generates a WSDL from those annotations, just like WCF.
- allows you to generate a service wsdl-first, just like WCF
- allows you to generate a web service client, just like WCF
- allows you to host your web service in any Java EE container. This is comparable to WCF's IIS hosting.
- allows you to host your web services using the `Endpoint` api. This is comparable to WCFs self-hosting.
- allows you to choose between SOAP or Fast InfoSet over HTTP or TCP protocols, like the WCF transport options. (Though I don't think it allows named pipes...)
So in many ways it corresponds to WCF. It is more focussed on Web Services than WCF is, though. Like the names say.
Problem
Is there a unique service centralizer like WCF for Java where I can create and host services for different media? Change: It seems it has a different concept in the java world, is it called application server?