NIO stands for Network Input Output and is a development philosophy describing an operation usage pattern for socket usage and client-server relations.
Netty is Java framework for developing network-centric applications.
For your other kind of apps, take a look at other frameworks, but if you need an application to deal with client & server relations, nobody in the Java realm of open source tools will do its job better than Netty.
The framework was especially built for running with protocol servers and clients, and simplifies the operation of working with TCP and UDP packets.
What is new in this release:
- NPE in AbstractNioUnsafe.finishConnect()
- CancelledKeyException on writeAndFlush()
What is new in version 4.0.28 / 3.10.3 / 5.0.0.Alpha2:
- NPE in AbstractNioUnsafe.finishConnect()
- CancelledKeyException on writeAndFlush()
What is new in version 4.0.25 / 3.10.0 / 5.0.0.Alpha1:
- NPE in AbstractNioUnsafe.finishConnect()
- CancelledKeyException on writeAndFlush()
What is new in version 4.0.7:
- Channel.isWritable() does not work as aspected when write from outside the EventLoop.
- SwappedByteBuf.readSlice(int) not respect ByteOrder.
- Allow to also write FileRegion and ChunkInput when using HTTP chunked.
What is new in version 4.0.2:
- Data structure corruption and resource leak in ChannelOutboundBuffer.
- HttpObjectEncoder throws IllegalStateException if an empty HttpContent is written.
- Fixed HttpContentDecoder.
What is new in version 3.6.2:
- Added Socks codec.
- Supports async bind of ServerChannel.
What is new in version 3.6.0:
- Bug fixes:
- AbstractNioWorker does not exit its event loop when the Executor is not an ExecutorService.
- WebSocketServerHandshaker* may corrupt first WebSocket frame.
- Fixed a race in SslHandler which lead to handshake failure and other bad side-effects.
What is new in version 3.5.5:
- Most notable fix is the correction of a regression that was introduced in the last release.
What is new in version 3.5.2:
- Beside bugfixes this version also ships more optimizations to save byte-copies when ever possible. This results in very notable speed-improvement. So if you are concerned about speed just give it a spin.
What is new in version 3.5.1:
- CookieDecoder handles HTTP cookies more correctly and faster.
- HttpContentCompressor does not compress the content of an HttpMessage if its 'Content-Encoding' is not 'identity'.
- Can set the unfold property of a FrameDecoder and ReplayingDecoder even if the decoder you extends does not expose it as a constructor parameter.
- FrameDecoder and ReplayingDecoder do less memory copies than before.
What is new in version 3.5.0:
- SPDY3 support.
- NIO UDP Multicast support (only avaible when using jdk7+)
- Gathering Writes support (only avaible when using jdk7+)
- HTTP POST support
- Handler for traffic shaping
- Handler for ip based filtering
- Encoder/Decoder that supports marshall / unmarshall of java objects via JBoss Marshalling (can be used as replacement for ObjectEncoder/ObjectDecoder)
Kommentarer ikke fundet