Supporting the SIP Protocol using Grizzly: The Sailfin Project!

Over the last couple of months, I've learned and worked on the SIP protocol (which share a lot of concepts with Comet). With the help of Ericsson's engineers, we have ported their NIO based SIP implementation to use Grizzly 1.5 and up. The result is quite amazing. With only two classes, Grizzly can now support the SIP protocol over TCP, UDP and TLS! TLS wasn't supported at all before the use of the Grizzly Framework....nice to see that TLS works as well with SIP and not only with HTTP!

The implementation details can be found here and here. But more important, if you want to try it, just download Sailfin and add, in domain.xml

<jvm-options>-Dsip.network.grizzly=true</jvm-options>.

Deploy a SIP application (like ECharts) and have fun! Next week promoted build will have Grizzly enabled by default, so no need to add this property anymore!