Tuesday Jul 29, 2014
Java API for WebSocket (JSR 356) is going through the JCP maintenance release process as it enters today the Maintenance Review Ballot. This ballot will end in a week on August 4.
The proposed changes are relatively limited but are nevertheless important. In the current specification (1.0), the issue is located in the Session.addMessageHandler(MessageHandler) method which is forcing implementations to get the generic type of the message handler instance. And in some cases, that approach can be problematic (e.g. with lambda based message handler).
To solve this, the 1.1 version of the JSR 356 specification introduces 2 new addMessageHandler() methods (and keep the existing method for backward compatibility). For the complete descriptions of the issue and the 2 new methods, check here.
If everything goes well (i.e. Maintenance Review Ballot passed in time), Tyrus (JSR 356 Reference Implementation) will be updated to reflect those changes and should be integrated in the upcoming GlassFish 4.1 release.
Podcasts & Videos
- CDI 2.0 Early Draft Released!
- Chicago JUG Adopt-a-JSR/Java EE 8 Session Video
- Java 8 Free Online Course: Lambdas and Streams
- JavaOne 2015 Java EE Track Committee: Johan Vos
- HTTP/2 and Server Push
- What's Coming with JSF 2.3?
- TIBCO EMS 8 Supports JMS 2
- Your Opinion Needed: Asynchronous Message Listeners (MDB) in JMS 2.1
- Java EE @ DevNexus 2015
- JSON-P 1.1 (JSR 374) update: JSON Merge Patch