This article is inspired by similar one about Jersey and will provide similar information. Thanks to Michal for creating such comprehensive instructions.
Fortunately, Tyrus does not depend on HK2 so the task here is lot easier. To be absolutely honest, I did expect some issues with Grizzly dependency in Tyrus client, but changes are backwards compatible (applies to Tyrus 1.4), so you can update Tyrus to any version of released Glassfish very easily.
Which version of Tyrus am I using?
You can get this from tyrus-core.jar manifest:
This means you are using Tyrus 1.0. I strongly recommend to upgrade. Latest version now is Tyrus 1.4 and the output will look like:
Table below contains overview of current Glassfish 4.x builds:
Updating to Tyrus 1.4
And that’s it. Remember to restart Glassfish instance after replacing Tyrus jar files.
As of now (1/24/2013) latest nightly build of Glassfish contains Tyrus 1.3.3. Next nightly should contain latest Tyrus release – version 1.4.