WebSockets support in GlassFish 3.1 (and Grizzly)

WebSockets support in GlassFish 3.1 (and Grizzly)

There is no need to wait for Java EE 7 or GlassFish 4.0 to use the WebSocket protocol. As we've covered in the past the bottom line is that you can use WebSockets today with GlassFish 3.1.

ALT DESCR

GlassFish 3.1 (Grizzly 1.9.32) implements the -76 version of the WebSocket Protocol and was used to created this series of screencasts. Justin has many more details on what can be done with the stable and supported release of GlassFish. This version of WebSockets is reported to be supported by Google Chrome 6, Safari 5.0.1, and Firefox 4.0 (although disabled by default).

As browsers move to implement newer versions of the WebSocket protocol, you'll need to get into bleeding edge territory (i.e. not supported) and use a more recent version of Grizzly. Either update GlassFish 3.1 to the fresh from the oven version 1.9.33 (see Justin' blog about this) or use grizzly 2.0 directly. The -06 version in particular is supported in 1.9.33. Whichever version you end up using, don't forget to enable support for WebSocket in GlassFish.

Check out also this recent slide deck from Justin.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值