Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the WCF correspondent for Java?

Tags:

java

.net

wcf

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?

like image 667
RollRoll Avatar asked Feb 20 '13 22:02

RollRoll


2 Answers

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.

like image 124
flup Avatar answered Sep 22 '22 06:09

flup


I have found some blog, it is pretty old, but it explained very well about java jax-ws and .net-wcf.

Hope this helps..!

like image 25
Vinnie Avatar answered Sep 21 '22 06:09

Vinnie