Understanding Second Level Cache in Hibernate using Ehcache

Introduction : Caching is all about application performance optimization and it sits between your application and the database to avoid the number of database hits as many as possible to give a better performance.Hibernate provide the lots of other features, one of the major benefit of using Hibernate in large application is it’s support for caching, hence reducing database queries and better performance. Hibernate provide caching functionality...

Spring Security custom login using MySQL DB and Hibernate

Introduction : This is a step-by-step tutorial that helps you build a Spring security-Hibernate application easily in a clear and concise way.This article is all about implementing Spring Security with custom login in your Spring MVC web application to secure a URL access with  database authentication using hibernate. In my previous article,I explained Spring Security by placing user credentials in XML configuration. How ever it is...