All posts in 'Java'

Vaadin & Spring: Integrating Vaadin with Spring Security

30-Mar-13

Note: You’ll find the complete working sources here: Vaadin-SpringSecurityViewProvider. Finally, the 2nd post in my Vaadin & Spring series. This time about describing, instantiating and managing views with and through Spring Security. I’m a big fan of Spring Security as it is – at least for my purposes – incredible easy to add some long […]

Read the complete article »

Maven snippets

26-Feb-13

This post will contain some Maven snippets that i use and forget regularly (similar to my Git Post). Download the sources of all dependencies of a project if available: mvn dependency:sourcesmvn dependency:sources Download the JavaDoc for all dependencies if available: mvn dependency:resolve -Dclassifier=javadoc -Dtype=jarmvn dependency:resolve -Dclassifier=javadoc -Dtype=jar Check for updates of all direct dependencies: mvn […]

Read the complete article »

Java implementation of Excels statistical functions NORMINV

21-Feb-13

I was recently in need of a java implementation of the inverted normal distribution function, named “NORMINV” in Excel 2003 and later: NORMINV. I only found a JavaScript implementation in kmpm’s repository norminv.js. It has quite a history, coming over C# from C++. I have the impression nobody wants to deal with the mathematics 😉 […]

Read the complete article »

Hidden Java gems: java.text.Normalizer

25-Jan-13

Java has a build-in java.text.Normalizer class to transform Unicode text into an equivalent composed or decomposed form. Dafuq? The letter ‘Á’ can be represented in a composed form U+00C1 LATIN CAPITAL LETTER A WITH ACUTE and a decomposed form U+0041 LATIN CAPITAL LETTER A U+0301 COMBINING ACUTE ACCENT Normalizer handles this for your: import java.text.Normalizer; […]

Read the complete article »