Articles Tagués: Java

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

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.

/ Java

Java Basic Key-Value store

Memory store (also often called key-value store because of such kind of storage system), is a usefull tool. It is, many times, used as a temporary database like memcache or Redis. For example, I show up many times how to

/ Java

Java Basic Key-Value store

Memory store (also often called key-value store because of such kind of storage system), is a usefull tool. It is, many times, used as a temporary database like memcache or Redis. For example, I show up many times how to

/ Java

How to get WEB-INF path outside Java servlet

Here is basic class, which is a mix on many comments everywhere about how to get the WEB-INF path. The class is a singleton class to not perform WEB-INF check everytime, it helps to keep good performance. It is designed

/ Java

How to get WEB-INF path outside Java servlet

Here is basic class, which is a mix on many comments everywhere about how to get the WEB-INF path. The class is a singleton class to not perform WEB-INF check everytime, it helps to keep good performance. It is designed