Home » Tag Archives: JNDI

Tag Archives: JNDI

JBoss AS7 JNDI & EJB 3.1 Naming changes

jboss-logo

As a result of the “feature train” continuing to march on and us not keeping our software stack up-to-date, our team finds ourselves in the un-enviable position of having to migrate: JBoss 4.2.3 to AS 7.1.x (currently looking at 7.1.1) EJB 2.1 to EJB 3.1 Hibernate 2 to Hibernate 3 or 4 in quick fashion.  I mean, who wants to ...

Read More »

Setting up JNDI with Jetty (Embedded)

codehaus-jetty-logo

I was running embedded Jetty on my developmentwork-space saving some time on vicious cycle of compiling and deployment. I have not worked with Jetty much and the ease of use made me hook on to it. I was in need to setup JNDI in order to retrieve a connection pool for my database related activities. Though there were comprehensive documentation ...

Read More »

JNDI and JPA without J2EE Container

java-interview-questions-answers

We wanted to test some JPA code with as simple setup as possible. The plan was to use only Java and Maven, without an application server or other J2EE container. Our JPA configuration needs two things to run successfully: database to store data, JNDI to access the database. This post has two parts. First part shows how to use standalone ...

Read More »

Spring 3 RESTful Web Services

spring-interview-questions-answers

Spring 3 provides support for RESTful Web services. In this tutorial we will show you how to implement a RESTful Web service in Spring or, if you want, to expose an existing Spring service as a RESTful Web service. To make things more interesting we are going to continue from where we left of at our previous article about Spring ...

Read More »

Spring 3 HornetQ 2.1 Integration Tutorial

jboss-hornetq-logo

Utilize the new ultra high performance messaging system from JBoss through Spring framework. HornetQ is an open source project to build a multi-protocol, embeddable, very high performance, clustered, asynchronous messaging system. It is written in Java and runs on any platform with a Java 5 or later runtime. HornetQ class-beating high performance journal provides persistent messaging performance at rates normally ...

Read More »

JBoss 4.2.x Spring 3 JPA Hibernate Tutorial Part #2

spring-interview-questions-answers

We continue our tutorial about Spring 3, Hibernate, JPA and JBoss 4.2.x – 4.3 integration. The last step is to create a Spring service to expose functionality to the end user. We have to create an interface class and the relevant implementation class. First the interface class :           package com.mycomp.myproject.services; import com.mycomp.myproject.dto.EmployeeDTO; public interface ExampleService ...

Read More »

JBoss 4.2.x Spring 3 JPA Hibernate Tutorial

spring-interview-questions-answers

After spending many hours searching the web, trying to find the most efficient way to use Spring, JPA and Hibenate for several projects we concluded to the configuration that will be presented below. Integrating Spring with JPA and Hibernate consists of several steps : Configuration of the Spring container Configuration of the JPA ORM layer Configuration of Hibernate Second lvl ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close