Hibernate: Performing Basic Database Operations (select, insert, update, delete) Using JPA Annotation Based Mapping

Contents Pre-Requisite Concept Overview Required Libraries Diagrammatic Representation Sample Program Source Package Structure Source Code Running Sample Program Browsing the Program In this tutorial we shall perform basic database Operations (Create, Retrieve, Update, Delete) using JPA Annotations based mapping using Hibernate. This tutorial is divided primarily into the following sections: Concept Overview Sample program Pre-requisite … Read more

Hibernate: Performing Basic Database Operations (select, insert, update, delete) Using XML Based Mapping Next

Contents Pre-Requisite Concept Overview Required Libraries Diagrammatic Representation Sample Program Source Package Structure Source Code Running Sample Program Browsing the Program In this tutorial we shall perform basic database Operations (Create, Retrieve, Update, Delete) using XML based mapping using Hibernate . This tutorial is divided primarily into the following sections: Concept Overview Sample program Pre-requisite … Read more

Spring Remoting: HTTP Invoker

Concept Overview In the earlier articles we saw an introduction to spring remoting and its support for RMI, Hessian and Burlap. In this tutorial we look at one more support for remoting – HttpInvoker. HttpInvoker combines the ease of Hessian and Burlap, in that it is very easy to set up. It serializes and deserializes … Read more

Spring Remoting: Burlap

Concept Overview In the earlier tutorials we saw an introduction to Spring remoting and its support for RMI and Hessian. In this tutorial we look at another remoting protocol supported by Spring – Burlap. Burlap is an XML based protocol for web services. It has been developed by Caucho. It is similar to Hessian, the … Read more

Spring Remoting: Hessian

Concept Overview The previous tutorial presents an overview of spring remoting and lists down various remoting protocols supported by Spring. In this tutorial we look at Spring support for Hessian. Hessian is a web service protocol that transfers binary data between a remote service and its client. Hessian has been released by Caucho Technology. It … Read more

Spring Remoting: Remote Method Invocation (RMI)

Concept Overview Spring provides four ways to develop remote services. Remote services are services hosted on remote servers and accessed by clients over the network. For example, lets say you are developing a desktop application that needs to connect to a central server. The desktop application can be on various machines. you can use spring … Read more

Spring Security: Securing Methods Using JSR-250 @RolesAllowed Annotation

Concept Overview In the previous tutorial we looked at an introduction to spring method level security and ways to implement it. we also looked at an example that used Spring’s @Secured annotation to implement method level security. In this example we look at JSR-250’s equivalent annotation. Sample Program Overview We demonstrate method level annotation using … Read more

Spring Security: Securing Methods Using @Secured Annotation

Concept Overview Spring provides a way to implement method level security. Only users authenticated with particular roles may be allowed to access a method. There are four ways to implement method level security. Annotate method using @Secured Annotate method using JSR-250 @RolesAllowed Use Spring’s Pre and Post invocation Annotations Match method using Pointcuts In this … Read more