Hibernate with Tomcat JNDI Data source Overview

What is JNDI ? JNDI stands for Java Naming and Directory Interface It is a Java API for a directory service that allows Java clients to discover and look up data and objects via a name. Its just an interface and hence it is independent of the underlying implementation. In simple words, “It provides a […]

Share this article on

Spring MVC Hibernate with Tomcat JNDI

Let us implement Spring based web application which uses Hibernate and JNDI datasource with Tomcat Please refer JNDI overview article to have basic understanding of JNDI. Step 1 Create hibernate project Please refer Hibernate setup in eclipse article on how to do it. Project structure Step 2 Update pom.xml with required dependencies <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" […]

Share this article on
< Previous Next >