Archives de Catégorie: Java

/ Java

Jersey (JAX-RS) SecurityContext in action

Someone ask me how to use SecurityContext and RolesAllowed with the previous article. Here is. Creating User Before anything else, we need to create a role based user (this bean is the one we will you use to logon, check

/ Java

Jersey (JAX-RS) SecurityContext in action

Someone ask me how to use SecurityContext and RolesAllowed with the previous article. Here is. Creating User Before anything else, we need to create a role based user (this bean is the one we will you use to logon, check

/ Java

Jersey (JAX-RS) implements a HTTP Basic Auth decoder (for 2.x branch)

Here is the updated version of the article about how to implement a HTTP Basic Auth Filter, for Jersey 2.x. The global idea remains the same, so check out the previous article about how and why we do this. Jersey

/ Java

Jersey (JAX-RS) implements a HTTP Basic Auth decoder (for 2.x branch)

Here is the updated version of the article about how to implement a HTTP Basic Auth Filter, for Jersey 2.x. The global idea remains the same, so check out the previous article about how and why we do this. Jersey

Using Javascript as a plugin tool for Java

Let’s have fun with Javascript today… Inside Java. Goal Javascript is a powerfull and flexible language, while Java can be a lot more strict. The combinaison of both can be quite interesting, and offer (for example) an easy and cheap

Using Javascript as a plugin tool for Java

Let’s have fun with Javascript today… Inside Java. Goal Javascript is a powerfull and flexible language, while Java can be a lot more strict. The combinaison of both can be quite interesting, and offer (for example) an easy and cheap

/ Java

Generating documentation for Java Jersey framework

After searching a while, there is no easy tools for making beautifull documentation for Java Jersey. It’s a mess, as jersey is a great framework. So I build a simple project, in three tiny project, to help me, and of

/ Java

Generating documentation for Java Jersey framework

After searching a while, there is no easy tools for making beautifull documentation for Java Jersey. It’s a mess, as jersey is a great framework. So I build a simple project, in three tiny project, to help me, and of

Handling MongoDB ObjectId threw Jersey/Jackson

If you are using Jersey and MongoDB on same project, you already know what I’m talking about: ObjectId is a mess for Jackson, it is not able to handle it properly… So today, a basic trick how to parse this

Handling MongoDB ObjectId threw Jersey/Jackson

If you are using Jersey and MongoDB on same project, you already know what I’m talking about: ObjectId is a mess for Jackson, it is not able to handle it properly… So today, a basic trick how to parse this

Jersey (JAX-RS) implements a Cross domain filter

After seeing how to create a HTTP Basic Auth Filter, we will add this time a cross domain output filter. Cross-Domain request is available threw CORS system, it allow developper to send request to some domains which are not directly

Jersey (JAX-RS) implements a Cross domain filter

After seeing how to create a HTTP Basic Auth Filter, we will add this time a cross domain output filter. Cross-Domain request is available threw CORS system, it allow developper to send request to some domains which are not directly

/ Java

Jersey (JAX-RS) implements a HTTP Basic Auth decoder

I recently play with a pretty nifty framework called Jersey, allowing to make REST application using annotations under Java. This framework (and other JAX-RS implementation) is a pretty well done framework, quite easy to use, and pretty interesting feature inside.

/ Java

Jersey (JAX-RS) implements a HTTP Basic Auth decoder

I recently play with a pretty nifty framework called Jersey, allowing to make REST application using annotations under Java. This framework (and other JAX-RS implementation) is a pretty well done framework, quite easy to use, and pretty interesting feature inside.