back

Java

A programming language commonly used as a solution to everything and anything.
Search on a static website
When I moved my blog from WordPress to Jekyll, I was faced with the problem of letting users search content in it. I didn't give it much thought and used Google Custom Search Engine. In this post, ...
A Java Geek
Multiple modules in Spring Boot apps
Spring Boot is a huge success, perhaps even more so than its inceptors hoped for. There is a lot of documentation, blog posts, and presentations on Spring Boot. However, most of them are aimed towa...
A Java Geek
Spring Boot 2.0 actuator change analysis
Some years ago, I discovered the Spring Boot actuator: Spring Boot includes a number of additional features to help you monitor and manage your application when it’s pushed to production. You c...
A Java Geek
My first impressions about Graal VM
Last week was the release of Oracle's GraalVM. As stated on the website: GraalVM is a universal virtual machine for running applications written in JavaScript, Python 3, Ruby, R, JVM-based language...
A Java Geek
Git cleanup
I use Git a lot, in my daily job as well as for this blog. When using it, I often rebase locally before pushing, to have a clean and readable history. A sample workflow For my blog, the branchi...
A Java Geek
Refining redirect semantics in the Servlet API
In web applications, it's necessary to prevent impatient users from POSTing the same data over and over again. For example, to avoid the pain of putting the same item into the basket multiple times...
A Java Geek
Starting with Ethereum - Deploying and running a contract
The last weeks saw us setting up the tooling and writing a contract. It's definitely time to deploy a contract for real and run it. Thanks to the Ethereum wallet, deploying and running a contract i...
A Java Geek
Starting with Ethereum - Smart contracts
This post is the 4th in a serie dedicated on starting development with the Ethereum blockchain. Let's face it. For a smart contract, implementing an addition of two integers is not very smart.
A Java Geek
Starting with Ethereum - Industrialization
This post is part of a serie dedicated on starting development with the Ethereum blockchain. Last week, we finally developed a contract providing some value in the form of a rough-around-the-edges ...
A Java Geek
Authentication alternatives in Java EE webapps
I started developing on the Java EE platform 15 years ago (yep, you read that right). At that time, the only way to authenticate in a webapp was through a callback. Recent Java EE versions offer al...
A Java Geek
Programming by contract on the JVM
This week, I'd like to tackle an interesting approach that is quite useful. Design by contract prescribes that developers should define preconditions, postconditions and invariants. These specifica...
A Java Geek
Dynamic casting in Java
I'm a big fan of Baeldung's blog. One of his latest post is about casting in Java. Unfortunately, I feel it misses one important point: dynamic casting. Since that's is (very) relatively new, this ...
A Java Geek