简体   繁体   中英

What is the WCF correspondent for Java?

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?

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.

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

Hope this helps..!

The options I've found are

Netty http://netty.io/

Apache MINA http://mina.apache.org/

Yes, and it's pretty simple to use it's called java webservices, and it uses wsdl files like WCF and everything. refer to this: http://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example/

似乎您想在本地托管您的application ...为此,有几个应用程序服务器,例如Jboss,Glassfish,Tomcat,IBM Web sphere ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM