Home » Tag Archives: JPA (page 15)

Tag Archives: JPA

Java Persistence API: a quick intro…

java-interview-questions-answers

Hello Readers! After numerous requests from some of my friends I’ve decided to write a short article about the Java Persistence API. Object Oriented programming paradigm is the most popular and widely used model nowadays and it outclasses and outshines most other paradigms because of its ability to model real life entities seamlessly. But when it comes to developing medium-sized ...

Read More »

DataNucleus 3.0 vs Hibernate 3.5

DataNucleus Access Platform, as stated at the official product site, is the most standards-compliant Open Source Java persistence product in existence. It is fully compliant with the JDO1, JDO2, JDO2.1, JDO2.2, JDO3, JPA1 and JPA2 Java standards. It also complies with the OGC Simple Feature Specification for persistence of geospatial Java types to RDBMS. It utilities an OSGi-based plugin mechanism ...

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

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 »

GWT Spring and Hibernate enter the world of Data Grids

Maximize Hibernate performance with the power of Infinispan Data Grid. A GWT, Spring, JPA, Hibernate, Infinispan integration tutorial. In this tutorial we are going to discuss about how you can use Infinispan as a Hibernate second level cache provider. Infinispan is the successor of JBoss cache and the company’s flagship towards the open source data grids domain. To make things ...

Read More »

GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial

This step by step guide will present how to develop a simple web application using Google’s Web Toolkit (GWT) for the rich client and Spring as the back – end, server side framework. The sample web application will provide functionality to make CRUD (Create Retrieve Update Delete) operations to a database. For the data access layer we will use JPA ...

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 »