samples for netty