• Categories
  • Search

Tyrus client – shared container

Current “trunk” version contains one notable feature – shared client container. It can save significant portion of resources on client side if you are creating lots of client connections and there is almost no drawback. This feature was added as a response to TYRUS-275 and it somehow copies what other containers are doing in the JRS 356 implementation. Specification does not really state which system resources should be reusable (that’s ok, I think this is implementation...

Saturday, December 28, 2013 | Read More

Want to work on Tyrus? We are hiring!

Tyrus project is looking for another contributor! If you want to became part of the team which is working on WebSocket API for Java (JSR 356) Reference implementation and related projects and products, this is the time to update your CV and share it with us. This job position is based in Prague, Czech Republic. Formal job offer can be found on linked in. If you are interested and have any questions, feel free to contact me directly via this blog or via pavel.bucek...

Wednesday, December 18, 2013 | Read More

Tyrus container SPI

This blog post will be little more technical and insightful into Tyrusinternals and won’t be as useful for common users which are just trying to use it for creating their web socket endpoint. I will describe how you can run Tyrus client or server side on virtually any container with a little help. We will start with Client side – it is a little bit simpler I think – then go through Server side and at the end I will present simple in-memory container which is already present...

Friday, December 13, 2013 | Read More

Optimized WebSocket broadcast

Broadcast scenario is one of the most common use cases for WebSocket server-side code, so we are going to evaluate usability of current version of WebSocket API for Java to do that and suggest some improvements. Please note that this post is experimental by its nature. You can use Tyrus features mentioned in this article, but anything can change any time, without warning. When speaking about broadcast, let's define what that actually is. When message is broadcasted,  it means...

Tuesday, November 19, 2013 | Read More

Asynchronous connectToServer

Users of JSR-356 – Java API for WebSocket are probably familiar with WebSocketContainer#connectToServer method. This article will be about its usage and improvement which was introduce in recent Tyrus release. WebSocketContainer#connectToServer does what is says, it connects to WebSocketServerEndpoint deployed on some compliant container. It has two or three parameters (depends on which representation of client endpoint are you providing) and returns aSession. Returned...

Monday, November 4, 2013 | Read More

Tyrus 1.3

I’m pleased to announce that new version of Tyrus was released today. It contains some interesting features, like asynchronous handling of connectToServer method call, optimised broadcast support and lots of stability and performance improvements. As previously – I will follow with more blog posts about selected features later. Some of them are already described in updated User guide. Complete list of bugfixes and new features TYRUS-262: @OnOpen fails for programmatically...

Thursday, October 31, 2013 | Read More

Visit the Oracle Blog


Contact Us


Integrated Cloud Applications & Platform Services