Tag Archives: rest

WebSocket vs REST

As controversial or potentially “flame starting” topic this might seem to be, don’t worry. I will approach this purely from pro-WebSocket view and the comparison with REST will be done on the sample, which heavily favours WebSocket ;) Not that … Continue reading

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

Replacing client used in Jersey Test Framework

There was an interesting question on mailing list – Is it possible to replace default Jersey client in JerseyTest? (JerseyTest is a class from Jersey Test Framework, basically superclass of all “Jersey enabled” tests). Answer is.. not really. It just … Continue reading

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

Jersey Client – Making requests with HttpURLConnection hack

HttpURLConnection provided in JDK has serious limitation – you can’t do requests with arbitrary chosen method – actually it limit methods to some subsed defined in javadoc, which is NOT extendable in any way.. which might cause some problems. For … Continue reading

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

Jersey – Apache HTTP Client 4.1 (experimental) integration available

What is supported? All basic functionality (simple requests with or without entity) and Jersey related things like filters (logging, auth, …). Additionally, some of Apache HTTP Client features are supported by default – like cookies processing. What needs to be … Continue reading

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

Jersey workshop – CZJUG – NTK, Dec 17th

I attended another CZJUG event, Jersey workshop at czech national technical library. If anyone wants to know something about JAX RS and its reference implementations (Jersey), I recommend you to go through whole workshop. Its was presented on JavaOne 2009 … Continue reading

Posted in other | Tagged , , | Leave a comment

Playing with FACEBOOK Java API

I have some ideas about what I want to do with some nice graphs and it would be more interesting, when it represents some social behavior. Even more interesting when I collect real data from somewhere.. and voila, there is Facebook. Continue reading

Posted in java | Tagged , , | 1 Comment