Java
-
Adding Custom Claims to the SAML Response – (How to Write a Custom Claim Handler for WSO2 Identity Server)
Overview The latest release of WSO2 Identity Server (version 5.0.0), is armed with an “application authentication framework” which provides lot…
Read More » -
The lepidopterist’s curse: Playing with java.time
Pop quiz: What will be the output of this little program? …
Read More » -
Java private, protected, public and default
You are a Java programmer, so you know what I am talking about. public modifiers make a method or field…
Read More » -
Avoiding Null Checks In Java
One of the worst nightmares for java developers ( from junior to experts ) is null object reference checking. I’m…
Read More » -
Avoiding Many If Blocks For Validation Checking
There are cases that we want to validate input data before we send them to business logic layer for processing, computations…
Read More » -
Spring 4.1 and Java 8: java.util.Optional
As of Spring 4.1 Java 8’s java.util.Optional, a container object which may or may not contain a non-null value, is…
Read More » -
A beginner’s guide to JPA/Hibernate entity state transitions
Introduction Hibernate shifts the developer mindset from SQL statements to entity state transitions. Once an entity is actively managed by…
Read More » -
Keyword extraction and similarity calculation among textual content
Background Web applications are becoming smarter. Gone are the days when to avail a service from a website, user had…
Read More » -
Clean JUnit Throwable-Tests with Java 8 Lambdas
Recently I was involved in a short online discussion on twitter and google+ which concerned the question why the arrival…
Read More »