2

I have developed a netty server based on low-level tcp/ip protocols. Now this server is supposed to also handle web service calls (jax-ws). Does anyone know where to go from here?

I've read nearly all posts on netty+ws but I have to admit the information provided is just not clear enough for me.

Cheers, Martin

Martin
  • 607
  • 1
  • 8
  • 17
  • Here is what I have done. I used embedded jetty like http://wiki.eclipse.org/Jetty/Tutorial/Jetty_HelloWorld and then integrated my web service as shown in http://jectbd.com/?p=1624 Finally I read the source code of HttpTunnelingServlet and wrote my own netty-tunneling-client-stub that than can create channels on web service calls. Done. – Martin Sep 26 '12 at 08:28

2 Answers2

0

Restlet have support for Netty: http://www.restlet.org/documentation/2.0/jse/ext/org/restlet/ext/netty/package-summary.html

You can also use Xitrum, which has feature similar to JAX-RS: http://ngocdaothanh.github.com/xitrum/

Ngoc Dao
  • 1,501
  • 3
  • 18
  • 27
  • Hi. Thanks for your answer. I've already found some libraries like RESTeasy, GlassFish JAX-WS, JBoss-WS and so on. But those seem to need servlet containers and are based on the inversion of control pattern. Basically that is what I don't know how to combine with my existing stand-alone server. – Martin Sep 19 '12 at 06:30
  • You can also embed Jetty or Tomcat to your stand-alone server. New versions of them are said to be easily embedded. – Ngoc Dao Sep 20 '12 at 08:42
  • Like I said, I have read most of the articles about it and all those buzz words are known to me. But I think I am looking for some minimalistic 5-point-tutorial for example. Servlet container, netty, web service jax-ws and the netty HttpTunnelingServlet are words I have heard and read about. But I don't know how to bring them together in a way that makes sense for me. – Martin Sep 21 '12 at 06:39
0

I would take a look at Apache CXF, especially since they use Netty as a native I/O provider, I think.

forty-two
  • 12,204
  • 2
  • 26
  • 36