-
Enterprise Java
Using an Embedded Tomcat with Maven tomcat plugin
When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the…
Read More » -
Scala
Compiling Lambda Expressions: Scala vs. Java 8
Lambda expressions have taken the programming world by storm in the last few years. Most modern languages have adopted them…
Read More » -
Enterprise Java
Testing Spring components with Mockito
Be able to unit test your spring components without the need of loading the full spring-context with its ad-hoc test…
Read More » -
Core Java
How to estimate memory consumption?
This story goes back at least a decade, when I was first approached by a PHB with a question “How…
Read More » -
Scala
I Don’t Like Scala
Yes, it is my opinion, and yes, it might seem like a hate-post. But I’ll try to address the issues…
Read More » -
Enterprise Java
Specifying Gradle Build Properties
Properties are a valuable tool for easily customizing Gradle builds and the Gradle environment. I demonstrate some of these approaches…
Read More » -
Software Development
Detecting and Fixing XSS using OWASP tools
Much have been written about XSS vulnerabilities scanning. In this article we will try to go a little further and…
Read More » -
Enterprise Java
Primefaces DataTable Lazy Loading with pagination, filtering and sorting using JPA Criteria, @ViewScoped
Primefaces datatable lazy pagination works, but I was really frustrated after searching for a full example using Criteria in the…
Read More » -
Enterprise Java
The Gradle Interface: Gradle Build Metadata
As I’ve shown in previous posts such as “Identifying Gradle Conventions” and “Evolving Gradle Build from Ant Build: Importing Ant…
Read More »