Latest blog posts

Improved MongoDB compatibility for bson4jackson

December, 17th 2011

Ver­sion 1.2.0 of bson4­jack­son has just been re­leased. bson4­jack­son adds sup­port for BSON, a bin­ary rep­res­ent­a­tion of JSON, to the Jack­son JSON pro­cessor. Thanks to con­tri­bu­tions from the com­munity, the latest re­lease of bson4­jack­son now in­cludes bet­ter sup­port for Mon­goDB.

» Keep reading

Build Scala projects with Eclipse Buckminster

June, 26th 2011

In one of my pre­vi­ous posts I talked about how to build Scala pro­jects with PDE Build. However, PDE Build is rather old and has long been su­per­seded by Buck­min­ster. The great ad­vant­age of Buck­min­ster is that it is ac­tu­ally a light­weight Ec­lipse SDK with all that you need to build an RCP ap­plic­a­tion: a work­space of pro­jects, a tar­get plat­form, and so on. To build Scala pro­jects in Ec­lipse you will most likely in­stall the Scala IDE. Un­for­tu­nately, this plug-in can­not be in­stalled in Buck­min­ster right away. But there is a work­around…

» Keep reading

Binary JSON with bson4jackson

January, 30th 2011

Re­cently, JSON has be­come an ex­cel­lent al­tern­at­ive to XML. But most JSON pars­ers writ­ten in Java are still rather slow. On my search for faster lib­rar­ies I found two things: BSON and Jack­son.

» Keep reading

Scala projects with Eclipse PDE Build (2)

November, 20th 2010

Some time ago I wrote about how to let Ec­lipse PDE Build auto­mat­ic­ally com­pile Scala pro­jects. There­fore a spe­cial Ant script (customBuildCallbacks.xml) had to be cre­ated in the pro­ject’s root dir­ect­ory. This script looked for the Scala lib­rary and com­piler and then built the pro­ject’s source files.

» Keep reading

Easier use of Git

June, 4th 2010

I’m us­ing Git as the ver­sion con­trol sys­tem for my pro­jects for some time now. Since the graph­ical user in­ter­faces are not very ma­ture yet and I like hav­ing full con­trol over everything, I’m us­ing Git on the com­mand line (i.e. Bash). In or­der to avoid en­ter­ing the same com­mands all over again, I wrote some Bash ali­ases and func­tions which ease the use of Git.

» Keep reading

Multilingual websites with Lift and OSGi

April, 5th 2010

Lift already provides some mech­an­isms to pub­lish a web­site in dif­fer­ent lan­guages. If Lift is used within an OSGi en­vir­on­ment, a little work­around is needed in or­der to make it find the Re­source Bundles con­tain­ing lan­guage-de­pend­ent strings (usu­ally provided as prop­erty files).

» Keep reading