Category : Spring Questions
Spring Interview Questions-4
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 …
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 …
