All posts in 'English posts'

Using Java 8 .now()

10-Mar-14

This is the second Post in my series Developing a web application with Spring Boot, AngularJS and Java 8. Java 8 has a major history. Many features should have been already included in Java 7 (i.e. Lambdas (anonymous functions for the elderly), modules and some stuff from project coin), which was released in 2011. Now, […]

Read the complete article »

Boot your application with Spring Boot

25-Feb-14

This is the first Post in my series Developing a web application with Spring Boot, AngularJS and Java 8 and has been featured in This Week in Spring – April 15, 2014. Spring Boot makes it very easy to get you up and running with the Spring ecosystem without the need for XML configuration and […]

Read the complete article »

On my way to Java 8

12-Feb-14

This is a post where i want to collect some new expressions i’m learning on my way to Java 8. Hopefully i’ll keep updating it… Use an IntStream to generate an Array with constant default values // The "() -> 23" is a lambda that matches the functional interface of a Supplier // The the […]

Read the complete article »

CSRF protection with Spring Security revisited

29-Jan-14

At the end of last year, Spring Security 3.2 was released and brought a lot of new features, among them a built-in “Cross Site Request Forgery” protection”. Nearly two years earlier i wrote my CSRF protection implementation with Spring Security 3.1, have a look here. I really like the built-in implementation and most of it […]

Read the complete article »