Tag Archives: java

WebSocket Client API – Java 8

Since Java 8 was released, lots of new or reworked APIs emerged, simply because Java 8 is really evolutionary step in Java language specification and it is definitely worth to update the APIs to enable newly added features. Unfortunately, Java … Continue reading

Posted in java | Tagged , , , , | Leave a comment

Slides from my presentations at JavaOne 2014

I was given the opportunity to attend and speak at JavaOne this year. I’m pretty sure that the slide decks will be made available by conference content system, but If you have not attended or maybe want them little bit … Continue reading

Posted in java | Tagged , , , , | Leave a comment

Updating Tyrus in Glassfish

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, … Continue reading

Posted in java | Tagged , , , | Leave a comment

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 … Continue reading

Posted in java | Tagged , , , | Leave a comment

Tyrus Container SPI

This blog post will be little more technical and insightful into Tyrus internals 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 … Continue reading

Posted in java | Tagged , , , , , | Leave a comment

Tyrus 1.1

It might seem like there is not much time passed since Tyrus 1.0 (Java API for WebSocket reference implementation) release, but the fact is it was frozen several weeks before going public and development in the trunk continued. Tyrus 1.1 … Continue reading

Posted in java | Tagged , , | Leave a comment

Tyrus 1.0-b09 released

I’ve started working on new project – Reference Implementation of JSR 356: Java API for WebSocket – Tyrus and we just released new version. What is Tyrus? Tyrus providers implementation for JSR 356 plus some other (currently minor) improvements. Project … Continue reading

Posted in java | Tagged , , | Leave a comment

Limiting threads used for asynchronous requests – Jersey Client

Jersey Client already has support for making asynchronous requests, but it uses default ExecutorService, which spawns new thread for each request, which is not very convenient in most of cases. You can set your own ExecutorService (see Client.setExecutorService()) and limit … Continue reading

Posted in java | Tagged , , , | Leave a comment

Jersey Client – Apache HTTP Client 4.x integration

Since this week, Jersey users can benefit from Apache HTTP Client 4.x integration. “jersey-apache-http-client4″ module has been finalized and provides similar functionality as “jersey-apache-http-client”, but make sure you read javadoc – most of settings have changes because of major change … Continue reading

Posted in java | Tagged , , | Leave a comment

Jersey – Grizzly 2.x integration

Since today, Jersey users can benefit from Grizzly 2.x integration. “jersey-grizzly2″ module has been finalized and provides same functionality as “jersey-grizzly” and new test framework module was added – “jersey-test-framework-grizzly2″, which also became default test container for nearly all our … Continue reading

Posted in java | Tagged , , | Leave a comment