Seems netty has two sources? One is from Jboss netty and the other is (plain)netty? They are almost the same with slightly difference.
Such as: io.netty.handler.codec.http.HttpRequest and org.jboss.netty.handler.codec.http.HttpRequest. They looks almost the same but have several different signatures.
My question is: some sample code are based on jboss and some code code are based on plain Netty, they are so confused. Which one should i use? Why two so similar packages?
Please execute me i am a newbie for netty, and appreciate your answer. This makes me crazy today. Thank you.
In this post you could find you answer, in Netty 3.X the packages were from org.jboss.netty.* http://netty.io/3.10/api/index.html
But started Netty 4.X the packeages are from io.netty.* see: http://netty.io/4.0/api/index.html
And yes, version 3 and version 4 has several diferences. I recommend you develop in the stable version, check it in http://netty.io/wiki/index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With