Spring framework comes with AOP support. In fact, as stated in Spring reference documentation, “One of the key components of Spring is the AOP framework. While the Spring IoC container does not depend on AOP, meaning you do not need to use AOP if you don’t want to, AOP complements Spring IoC to provide a very capable middleware solution. AOP ...
Read More »GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial – Eclipse and Maven 2 showcase
A little while ago a friend and colleague of mine winged at me saying „Only half of the world is using Maven“. His statement struck me like a thunderbolt when I realized that our most popular article (up until now) GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial presents a GWT – Spring integration approach based on Google’s Web ...
Read More »Spring 3 RESTful Web Services
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
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
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 »