Category : Spring Questions

Spring Interview Questions-5

Spring Interview Questions Explain the IoC (Inversion of Control) in Spring framework? Inversion of control is at the heart of the Spring framework. The org.springframework.beans and org.springframework.context packages provide the basis for the Spring Framework’s IoC container. The basic concept …

Read more »

Spring Interview Questions-4

Spring Interview Questions Explain the Weaving process in Spring framework? Weaving is the process of applying aspects to a to a target object to create a new proxied object. The aspects are woven into the target object at the specified …

Read more »

Spring Interview Questions-3

Spring Interview Questions Explain the Regular expression pointcuts? The RegexpMethodPointcut lets you leverage the power of regular expressions to define your pointcuts. It uses Perl-style regular expressions to define the pattern that should match your intended methods. Common regular expression …

Read more »

Spring Interview Questions-2

Spring Interview Questions How can you create a DataSource connection pool? To create a DataSource connection pool : <bean id=”dataSource” class=”org.apache.commons.dbcp.BasicDataSource”> <property name=”driver”> <value>${db.driver}</value> </property> <property name=”url”> <value>${db.url}</value> </property> <property name=”username”> <value>${db.username}</value> </property> <property name=”password”> <value>${db.password}</value> </property> </bean> List the …

Read more »

Spring Interview Questions-1

Spring Interview Questions What are the types of Dependency Injection Spring supports? Setter Injection: Setter-based DI is realized by calling setter methods on your beans after invoking a no-argument constructor or no-argument static factory method to instantiate your bean. Constructor …

Read more »

Sitemap   Follow j2eetutorial on Twitter    

Δ Top