Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds

What is Spring Framework?

The Spring MVC provides rich functionality for building robust Web Applications and it is available as a separate module in the Distribution. As a pre-requisite, readers are advised to go through the introductory article on Spring Framework Introduction to Spring Framework. The Spring MVC Framework is architected and designed in such a way that every piece of logic and functionality is highly configurable. Also Spring can integrate effortlessly with other popular Web Frameworks like Struts, WebWork, Java Server Faces and Tapestry. It means that you can even instruct Spring to use any one of the Web Frameworks. More than that Spring is not tightly coupled with Servlets or Jsp to render the View to the Clients.
To learn more about Spring Framework please read our Spring articles and Introduction to Spring MVC

Title : Spring DMs Event Admin Service Support
Author : ManningPublications
Date : Sun Jul 31st, 2011

The core of the OSGi technology is a standard that's described in the OSGi core specification. OSGi also comes with the compendium services specifications that build on the features provided by the core specification. Each compendium service addresses a particular requirement and can be used on any conformant OSGi platform. The Event Admin Service provides a standardized and centralized service to manage events triggered by entities used within the OSGi container. It's based on an event channel called topic, which makes it possible for entities to subscribe to, receive, and send events. At the moment, Spring DM doesn't support this service directly, but it's possible to implement a bridge between Spring and Spring DM events and the Event Admin Service.

Title : Caching in Spring
Author : Christy
Date : Tue May 17th, 2011

In this article, we will discuss about the Caching support provided by the Spring framework. This article assumes that the reader has a basic understanding on Spring framework. The first section of the article illustrates the various APIs provided by Spring such as Cache, Cache Manager and Composite Cache Manager. Plenty of code samples will be provided for illustrating the concepts better. Caching support can be specified for methods using annotations also and the later section of this article provides an in-depth discussion on its usage.

Title : Introduction to Spring LDAP
Author : Raja
Date : Thu May 5th, 2011

In this article Spring LDAP which provides a simplified wrapper framework around LDAP implementations is covered in detail. This article assumes that the reader has a basic understanding on Spring framework and LDAP directory server. The first section of the article covers the various operations that can be performed on LDAP. Support for parsing externally stored LDAP data is also covered with the help of LDIF data. The ODM Manager APIs for mapping LDAP objects directly to java objects have also been explored in this article. If you are beginner in learning spring framework, please read Introduction to Spring Framework.

Title : Configure Spring Batch to Retrying on Error
Author : ManningPublications
Date : Sat Apr 30th, 2011

You can configure Spring Batch to retry operations transparently when they throw exceptions, without any impact on the application code. Because transient failures cause these exceptions, we call them retriable exceptions.

Title : Spring Roo and JPA Entities
Author : ManningPublications
Date : Wed Apr 20th, 2011

In this article, we'll tell you how to relate entities to each other using the Roo shell. You'll use the field reference and field set commands, which establish JPA relationships via collections and references. We will explore various relationships, including one to many, many to many, and inheritance hierarchies. Let's begin by discussing the concept of relationships within JPA.

Title : The Bean Validation API in Spring Roo Framework
Author : ManningPublications
Date : Wed Apr 20th, 2011

The Bean Validation API is a recent standard. It was created by the Java EE Expert Group to address the lack of a standard validation API on the Java EE platform. This API uses Java annotations to define specific rules, which are attached to the attributes of a Java Bean. Some validations are built into the framework,

Title : Happy Path Testing in Spring TestContext Framework
Author : ManningPublications
Date : Thu Apr 14th, 2011

Among the simplest sort of integration tests are those that test for routine, nonexceptional behavior, often called "happy path" behavior in testing circles. This might involve for instance requesting an object from a web-based interface, having all the backend transactional magic happen (for example, hitting a database), and then verifying that the returned result is what's expected. As this type of test forms the basis for more sophisticated tests, it makes for a good starting point, so we'll explore happy path integration testing in this recipe.

Title : Separating Roles and Permissions in Spring Security
Author : ManningPublications
Date : Thu Apr 14th, 2011

The goal behind separating roles and permissions is to avoid embedding security policy decisions in the code. Such decisions should be set at runtime since they vary across customers, they vary over time, and sometimes they need to be changed immediately (for example, in response to a security breach).

Title : Using Channels in Spring Integration
Author : ManningPublications
Date : Tue Apr 12th, 2011

One distinctive trait of Spring Integration, which differentiates it among other enterprise integration frameworks, is the emphasis that the channels play in defining the enterprise integration strategy. They're not just plain information transfer components, but they play an active role in defining the overall application behavior. The business processing takes place in the endpoints, but you just have to alter the channel configuration to completely change the application's runtime characteristics.

Title : Bulletproof Job Scheduling in Java
Author : ManningPublications
Date : Fri Apr 8th, 2011

A bulletproof job is able to handle errors gracefully; it won't fail miserably because of a minor error like a missing comma. It won't fail abruptly either for a major problem like a constraint violation in the database. Before giving some guidelines on the design of a robust job, let's list some requirements that a job must meet.

Title : Launching a Spring Batch Job
Author : ManningPublications
Date : Fri Apr 8th, 2011

You're about to see that launching a Spring Batch job is quite simple thanks to the Spring Batch launcher API. But, how you end up launching your batch jobs depends on many parameters, so we provide you with basic concepts and some guidelines. By the end of this article, you'll know where to look to set up a launching environment for your jobs.

Title : Transaction Management in Spring Batch Components
Author : ManningPublications
Date : Fri Apr 8th, 2011

Spring Batch handles transactions at the step level. This means that Spring Batch will never use only one transaction for a whole job (unless the job has a single step!). You're likely to implement a Spring Batch job in one of two ways: using a tasklet or a chunk-oriented step. Let's see how Spring Batch handles transactions in both cases.

Title : The Spring Batch Infrastructure
Author : ManningPublications
Date : Fri Apr 1st, 2011

The Spring Batch infrastructure includes components that launch your batch jobs and store job execution metadata. As a batch application developer, you don't have to deal directly with these components because they provide supporting roles to your applications. However, you need to configure this infrastructure at least once in your Spring Batch application. This article gives an overview of the job launcher, job repository, and their interactions, before showing how to configure persistence of the job repository.

Title : Introduction to Spring OXM
Author : Christy
Date : Fri Mar 25th, 2011

Spring OXM stands for Spring Object XML Mappers and it is a module available in Spring to ease the mapping between java objects and XML documents. The module is extensible and hence it provides integration with various popular frameworks like Castor, JAXB, XmlBeans and XStream. In this article, we will see how to serialize and de-serialize java objects and xml documents using various frameworks with the help of Spring.

Title : Spring with Apache Velocity
Author : RasmiG
Date : Wed Mar 9th, 2011

Spring is an open source framework, created by Rod Johnson. We can develop many kinds of applications using Springwhich includes basic java programs and enterprise applications. Any Java application can benefit from Spring in terms of simplicity, testability, and loose coupling. Spring supports integration with Struts, WebWork, Apache velocity , Hibernate, JDO, TopLink, EJB, RMI, JNDI, JMS, Web Services, etc.

Related Articles


JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log