|
Latest answer: Spring is a framework that resolves common
problems in JEE architecture. Managing business objects and encouraging
practices such as programming interfaces rather than classes.............
Read answer
Latest answer: Spring has the following modules: The Core
container module – The fundamental functionality is provided by this module.
Application context module - Spring is a framework because of this module. This
module extends the concept of BeanFactory................
Read answer
Latest answer: Core Container Module: This module is the
fundamental module of spring framework. For a spring-based application,
BeanFactory is the core. The Spring framework was developed on top of this
module.............
Read answer
Latest answer: BeanFactory: Bean factory is a container. It
configures, instantiates and manages a set of beans. These beans are
collaborated with one another and have dependencies among
themselves....................
Read
answer
Latest answer: AOP Alliance: AOP Alliance is an open source
project. Promoting adoption of AOP and interoperability among different AOP
implementations with the help of interfaces..............
Read answer
Latest answer: A spring configuration file is an XML file which
contains the information about classes and describes the process of
configuration..................
Read answer
Latest answer: A spring application is like any other Java
application. The applications contain classes, each of them perform a specific
task with the application. All these classes are...............
Read answer
Latest answer: The bean’s definition is found by the spring
container from the XML file and instantiates the bean. All the properties
specified in the bean definition are populated by spring using dependency
injection...............
Read
answer
Latest answer: Bean wiring is the process of combining beans
with Spring container. The required beans are to be informed to the
container................
Read answer
Latest answer: The id attribute of the bean tag specifies the
name of the bean and the fully qualified class name is specified by the class
attribute.............
Read answer
Latest answer: All beans defined in the spring framework are
singleton beans. The bean tag has an attribute by name ‘singleton’............
Read answer
Latest answer: A bean inside another bean is known as Inner
Bean. They are created and used on the fly, and can not be used outside the
enclosing beans...............
Read answer
Latest answer: Searching for objects with the same name of
object property is called auto wiring in Spring. By default, Spring framework
enables the auto wiring..............
Read answer
Latest answer: The process of applying aspects to a target
object for creating a new proxy object is referred to as weaving. These aspects
are woven at the following specified join points..............
Read answer
Latest answer: BeanNameAutoProxyCreator: This proxy is used to
identify beans to proxy through a list of names. It checks the matches that are
direct, “xxx” and “*xxx”............
Read answer
Latest answer: DataAccessException is an unchecked
RuntimeException. These type of exceptions are unforced by users to
handle................
Read answer
Latest answer: To write data to database,
PreparedStatementCreator is the most commonly used interface. The interface
contains one method by name createPreparedStatement()..............
Read answer
Latest answer: Updating more than one row at a time, the
BatchPreparedStatementSetter is used. This interface has setValues() and
getBatchSize() exceptions................
Read
answer
Latest answer: ResultSet is generally used to navigate the
records. The spring framework is provided with RowCallbackHandler
interface................
Read answer
Test your Java skills
Java
part 1 (39 questions)
Java part 2 (40 questions)
EJB (20 questions)
JDBC (20 questions)
Applet (20 questions)
Struts (21 questions)
Servlets (20 questions)
Java web services (20 questions)
Also read
In this chapter, we're going to examine some design decisions that are important
for building better applications. In these design decisions, the AOP plays a
signifi cant role because it provides smart solutions to common crosscutting
problems.
|