How to set JAVA_HOME in Mac OS X High Sierra

This post describes how to configure the JAVA_HOME environment variable required by many enterprise tools, frameworks, and CMSes. For instance, Liferay, Tomcat, etc. will use this variable to work properly. In case you have changed your default shell (Bash) that comes with OS X out-of-the-box, please read How to set JAVA_HOME in Mac OS X High…

How to configure session factory to connect to a DB2 datasource with Hibernate

A really brief intro Hibernate is one of the most incredible Object Relational Mapper (ORM engine) that we have to make scalable and secure  Java Enterprise Applications. Today, I going to explain you, how to configure your session factory field by field in order to have a basic connection to a datasource (in this case…