Home » Java » Enterprise Java (page 337)

Enterprise Java

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 »

Adding CAPTCHA to your GWT application

What is CAPTCHA? In a world full of malicious bots, what can you do to protect your precious web application? One of the basic things that you really should do is add CAPTCHA capabilities to it. If you are not familiar with the (rather bizarre sounding) term, CAPTCHA is a simplistic way to ensure that a user is actually a ...

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 »

Getting Started with SmartGWT for awesome GWT interfaces

Introduction to SmartGWT I recently started working with SmartGWT, a framework based on GWT that provides a comprehensive widget library for your application UI as well as assistance for server-side for data management. You can take look at its pretty functionality at the SmartGWT showcase. I have prepared a short “getting started” guide on how to integrate the library with ...

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 »