Ask Questions & Get Answers at ibibo sawaal

ayisha's Questions & Answers

52

Rank

22587

4569

33

50

What is Application context module? ?

Asked by Amit Dubey in Computers & Technology at   10:00 PM on December 08, 2008

ayisha's Answer

The Application context module makes spring a framework. This module extends the concept of BeanFactory, providing support for internationalization (I18N) messages, application lifecycle events, and validation. This module also supplies many enterprise services such JNDI access, EJB integration, remoting, and scheduling. It also provides support to other framework.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-1.php

Answered at 11:48 PM on December 08, 2008

Read all answers

What about AOP module? ?

Asked by Amit Dubey in Computers & Technology at   10:03 PM on December 08, 2008

ayisha's Answer

The AOP module is used for developing aspects for our Spring-enabled application. Much of the support has been provided by the AOP Alliance in order to ensure the interoperability between Spring and other AOP frameworks. This module also introduces metadata programming to Spring. Using Spring’s metadata support, we will be able to add annotations to our source code that instruct Spring on where and how to apply aspects.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-1.php

Answered at 11:48 PM on December 08, 2008

Read all answers

What are object/relational mapping integration module? ?

Asked by Amit Dubey in Computers & Technology at   10:03 PM on December 08, 2008

ayisha's Answer

Spring also supports for using of an object/relational mapping (ORM) tool over straight JDBC by providing the ORM module. Spring provide support to tie into several popular ORM frameworks, including Hibernate, JDO, and iBATIS SQL Maps. Spring’s transaction management supports each of these ORM frameworks as well as JDBC.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-1.php

Answered at 11:46 PM on December 08, 2008

Read all answers

What about web module? ?

Asked by Amit Dubey in Computers & Technology at   10:04 PM on December 08, 2008

ayisha's Answer

Spring comes with a full-featured MVC framework for building web applications. Although Spring can easily be integrated with other MVC frameworks, such as Struts, Spring’s MVC framework uses IoC to provide for a clean separation of controller logic from business objects. It also allows you to declaratively bind request parameters to your business objects. It also can take advantage of any of Spring’s other services, such as I18N messaging and validation.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-2.php

Answered at 11:45 PM on December 08, 2008

Read all answers

What is JDBC abstraction and DAO module? ?

Asked by Amit Dubey in Computers & Technology at   10:03 PM on December 08, 2008

ayisha's Answer

Using this module we can keep up the database code clean and simple, and prevent problems that result from a failure to close database resources. A new layer of meaningful exceptions on top of the error messages given by several database servers is bought in this module. In addition, this module uses Spring’s AOP module to provide transaction management services for objects in a Spring application.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-1.php

Answered at 11:47 PM on December 08, 2008

Read all answers

What is a BeanFactory? ?

Asked by Amit Dubey in Computers & Technology at   10:05 PM on December 08, 2008

ayisha's Answer

A BeanFactory is an implementation of the factory pattern that applies Inversion of Control to separate the application’s configuration and dependencies from the actual application code.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-2.php..

Answered at 11:44 PM on December 08, 2008

Read all answers

What does a simple spring application contain?

Asked by Amit Dubey in Computers & Technology at   10:06 PM on December 08, 2008

ayisha's Answer

These applications are like any Java application. They are made up of several classes, each performing a specific purpose within the application. But these classes are configured and introduced to each other through an XML file. This XML file describes how to configure the classes, known as the Spring configuration file.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-2.php

Answered at 11:43 PM on December 08, 2008

Read all answers

What is AOP Alliance? ?

Asked by Amit Dubey in Computers & Technology at   10:06 PM on December 08, 2008

ayisha's Answer

AOP Alliance is an open-source project whose goal is to promote adoption of AOP
and interoperability among different AOP implementations by defining a common
set of interfaces and components.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-2.php

Answered at 11:44 PM on December 08, 2008

Read all answers

What is XMLBeanFactory?

Asked by Amit Dubey in Computers & Technology at   10:06 PM on December 08, 2008

ayisha's Answer

BeanFactory has many implementations in Spring. But one of the most useful one is org.springframework.beans.factory.x ml.XmlBeanFactory, which loads its beans based on the definitions contained in an XML file. To create an XmlBeanFactory, pass a java.io.InputStream to the constructor. The InputStream will provide the XML to the factory. For example, the following code snippet uses a java.io.FileInputStream to provide a bean definition XML file to XmlBeanFactory.

BeanFactory factory = new XmlBeanFactory(new FileInputStream("beans.xml"));


To retrieve the bean from a BeanFactory, call the getBean() method by passing the name of the bean you want to retrieve.

MyBean myBean = (MyBean) factory.getBean("myBean");
Sources:
http://faqs.javabeat.net/ spring/spring-interview-questions-f aqs-2.php

Answered at 11:42 PM on December 08, 2008

Read all answers

What is Spring configuration file? ?

Asked by Amit Dubey in Computers & Technology at   10:06 PM on December 08, 2008

ayisha's Answer

Spring configuration file is an XML file. This file contains the classes information and describes how these classes are configured and introduced to each other.
Sources:
http://faqs.javabeat.ne t/spring/spring-interview-questions -faqs-2.php

Answered at 11:43 PM on December 08, 2008

Read all answers

Editor's Pick

Categories

sawaal signature
sawaal free visiting card