Java Performance Evaluation - 2

Which of the following statement is correct?
Spring is not an open source framework
Spring is heavyweight.
Spring supports tight coupling
Spring using Dependency Injection and supports loose coupling
What is Dependency Injection?
A design pattern which implements Inversion of Control for software applications.
One of the spring module.
A technique to get dependencies of any project
Used to promote tight coupling in code
What is the default scope of the beans?
Prototype
Session
Request
Singleton
What is Bean in Spring?
Component
Object
Class
Container
Which interface in spring is responsible for Instantiating and managing the so called Spring beans?
BeanFactory
ApplicationContext
BeanDefinition
BeanFactoryAware
What exceptions do the DAO classes, use in Spring throw?
SQLException
Exception
IOException
OAException
To deal with the databases, spring framework provides______________
DatabaseTemplate
JdbcPluggins
JdbcDrivers
JdbcTemplate
@Component annotation on class indicates
that a bean should be created for the class
that a bean should not be created for the class
that autowiring should be enabled for the class
that autowiring should not be enabled for the class
What is the Annotation used for Rest controller
@Restcontroller
@Controller
@ExceptionController
@SpringBootApplication
What is the Minimum Java version need for Spring boot?
Java 10
Java 8
Java 9
Java 11
The JdbcTemplate class offers template method for batch update operations.
batchUpdate()
update()
all of the mentioned
none of the mentioned
For building a RESTful Web Services, we need to add?
spring-boot-starter-web
spring-boot-starter-rest
spring-boot-starter-web.rest
None
Rest Template is used to :
create applications that produced RESTful Web Services
create applications that consumes RESTful Web Services
both
none
What is the Starting point a Spring Boot Application
@SpringBootApplication
@Controller
@RestController
@Service
What is default Web server used in Spring boot Application?
Jetty
Apache Tomcat
JSP
None of the above
{"name":"Java Performance Evaluation - 2", "url":"https://www.quiz-maker.com/QJ0TXWHLU","txt":"Which of the following statement is correct?, What is Dependency Injection?, What is the default scope of the beans?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker