RESTFUL web-services, in Java, concern mostly server side developments. The client is generally the browser.
Now I am in the process of developing a Java client for web-service. I searched Java solutions in this space and found that Jersey was also a good client. I already known Jersey, for being the reference implementation for Jax-rs (Restful Services ?) and even saw Paul Sandoz himself in Grenoble. But I never imagined that there could be another consumer than the browser.
Well obviously, they needed to test Jersey, hence ad-hoc code, then a framework and a finally a jersey-client for everyone's pleasure.
The funny parts is that I am using jersey-server to test jersey-client: the other way around ... That is not pure Unit Test, in the sense that I prefer functional or integration test than testing every tiny development chunk and mocking everything around.
Point is that implementing Restful Services in java with Jersey and Jasxb is really easy. overall, I stumbled on a problem with Jaxb and the way it doesn't handle immutable objects, but I will make another post about this.
Subscribe to:
Post Comments (Atom)
Rencontres de Calenzana 2025
Mention particulière pour: Gabriel Pidoux (hautbois) Joë Christophe (clarinette) Eva-Nina Kozmus (flûte) Yume Fujise (alto) Noé Natorp (vi...
-
I know I should read all those methods more in details. I found this in the Poll Best Requirement Survey by Xebia. So what is a requirement...
-
Trying to see if I can manage to complete a few projects this year. First I have goals listed in different places: Online Google tasks Roam ...
-
Mention particulière pour: Gabriel Pidoux (hautbois) Joë Christophe (clarinette) Eva-Nina Kozmus (flûte) Yume Fujise (alto) Noé Natorp (vi...
No comments:
Post a Comment