All Stories

Spring DispatcherServlet

Spring’s web MVC framework is, like many other web MVC frameworks, request-driven, designed around a central servlet that dispatches requests to controllers and offers other functionality facilitating ...
Java Tutorial

Read XML File from Java

Consider the simple way to read data from an XML file into a Java  program. Company.xml contains root element as company and Total no of employee are 2 . Company.xml <company> <employee> <id>1020</id> ...

Spring Core

The org.springframework.beans and org.springframework.context packages provide the basis for the Spring Framework’s IoC container. The BeanFactory interface provides an advanced configuration mechanism ...

Spring Controllers

Spring’s Web MVC framework is designed around a DispatcherServlet that dispatches requests to handlers, with configurable handler mappings, view resolution, locale and theme resolution as well as ...

Spring Bean

A Spring IoC container manages one or more beans. These beans are created using the configuration metadata that has been supplied to the container (typically in the form of XML <bean/> definitions). ...

Bean scopes

Beans can be defined to be deployed in one of a scopes, the Spring Framework supports exactly five scopes. Singleton: Scopes a single bean definition to a single object instance per Spring IoC container. Prototype: ...

Spring Application Context

An application context constructor (for a specific application context type) generally takes a string or array of strings as the location path(s) of the resource(s) such as XML files that make up the definition ...

Spring AOP capabilities and goals

Spring AOP is implemented in pure Java. There is no need for a special compilation process. Spring AOP does not need to control the class loader hierarchy, and is thus suitable for use in a J2EE web container ...


Spring 2.0 introduced support for various annotations for configuration purposes, such as @Transactional, @Required and @PersistenceContext /@PersistenceUnit. Spring 2.5 introduces support for a complete ...

Spring and Hibernate: Basic concepts

Spring Developing software applications is hard enough even with good tools and technologies. Implementing applications using platforms which promise everything but turn out to be heavy-weight, hard to ...

Inversion Of Control

It is one of the areas that contains a considerable number of 2.0 and 2.5 improvements is Spring’s IoC container. Some of them are highlighted below: New bean scopes : Previous versions of spring ...

How to interact with multiple databases in hibernate?

Consider the events_calendar database used for some web application and other tests. A second automated test database might be called events_calendar_testing. The only mild complication is how to configure ...
Page 2 of 512345
Powered by WordPress · Designed by Theme Junkie
You might also likeclose