Java
-

Hibernate Identity, Sequence and Table (Sequence) generator
Introduction In my previous post I talked about different database identifier strategies. This post will compare the most common surrogate…
Read More » -

How to implement a custom password strength indicator in JSF
Verifying password strength using JavaScript is a common task. In this post, I will show how to add a password…
Read More » -

Turning recursive file system traversal into Stream
When I was learning programming, back in the days of Turbo Pascal, I managed to list files in directory usingFindFirst, FindNext and FindClose functions.…
Read More » -

Writing Tests for Data Access Code – Unit Tests Are Waste
A few years ago I was one of those developers who write unit tests for my data access code. I…
Read More » -

Mapping your Entities to DTO’s Using Java 8 Lambda expressions
We all facing the cluttered overhead code when we need to convert our DTO’S to Entities(Hibernate Entities, etc..) and backwards.…
Read More » -

Common mistakes when using Spring MVC
When I started my career around 10 years ago, Struts MVC was the norm in the market. However, over the…
Read More » -

Java EE Concurrency API Tutorial
This is a sample chapter taken from the Practical Java EE 7 development on WildFly book edited by Francesco Marchioni.…
Read More » -

Top 50 Java Thread Interview Questions Answers for Freshers, Experienced Programmers
You go to any Java interview, senior or junior, experience or freshers, you are bound to see couple of questions…
Read More » -

ZooKeeper, Curator and How Microservices Load Balancing Works
How Zookeeper makes sure that every worker happily gets some stuff to do from job delegating manager. Apache ZooKeeper is…
Read More »





