Exceptions in Netty 1. Overview In this quick article, we’ll be looking at exception handling in Netty. Simply put, Netty is a framework for building high-performance asynchronous and event-driven network applications. I/O operations are handled inside its life-cycle using callback methods. More details about the framework and how to get… Continue Reading netty-exception-handling

Hibernate: save, persist, update, merge, saveOrUpdate 1. Introduction In this article we will discuss the differences between several methods of the Session interface: save, persist, update, merge, saveOrUpdate. This is not an introduction to Hibernate and you should already know the basics of configuration, object-relational mapping and working with entity… Continue Reading hibernate-save-persist-update-merge-saveorupdate

Custom Types in Hibernate and the @Type Annotation Persistence Hibernate   1. Overview Hibernate simplifies data handling between SQL and JDBC by mapping the Object Oriented model in Java with the Relational model in Databases. Although mapping of basic Java classes is in-built in Hibernate, mapping of custom types is often complex.… Continue Reading hibernate-custom-types

Creating the Java Builder for a Class in IntelliJ 1. Introduction The Builder design pattern is one of the most widely used creational patterns. It helps us to construct complex objects. Writing builders by hand is cumbersome and error-prone. Therefore, we should use dedicated tools to auto-generate them whenever possible.… Continue Reading intellij-idea-java-builders