On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for the ‘JNDI Based Connections’ Category

JPA Entity Manager Factory, Transaction Manager, Datasource and JNDI Configuration

without comments

Introduction

This post describes the contents of the file “jpaDataSourceContext” found in baseproject. This file contains datasource and JNDI definitions using Spring’s JPA support for Entity Manager Factory, Transaction Manager and Hibernate Adapters. The file is read during the initial phase of the application’s startup processing which occurs when the server is started. This means all data source/JNDI references, used or not, must be present and valid.
Read the rest of this entry »

Written by admin

February 19th, 2015 at 10:52 am

JDBC Connections vs JNDI Connections

without comments

Introduction

This post describe differences between the Java Database Connection API (JDBC) and the Java Naming and Directory Interface (JNDI). These technologies are used to obtain database connections.
Read the rest of this entry »

Written by admin

June 8th, 2014 at 11:16 am