bidezones.com /EJB/EJB MCQ QUESTIONS AND ANSWER Sample Test,Sample questions

Question:
 How many types of collection configuration element does Spring offers?

1.3

2.4

3.5

4.2

Posted Date:-2024-02-07 16:10:47


Question:
 How many types of transaction management does spring support?

1.3

2.4

3.5

4.2

Posted Date:-2024-02-07 16:22:39


Question:
 Spring framework was released in ____.

1.2001

2.2002

3.2003

4.2005

Posted Date:-2024-02-07 15:58:10


Question:
 The scope is always ____ by default?

1.Singleton

2.Prototype

3.Session

4.Global-session

Posted Date:-2024-02-07 16:05:40


Question:
 Which of the following scope allows a single bean specification to have an unlimited number of object instances?

1.Singleton

2.prototype

3.Session

4.Global-session

Posted Date:-2024-02-07 16:05:19


Question:
How many autowiring modes are there in Spring?

1.4

2.5

3.2

4.3

Posted Date:-2024-02-07 16:14:25


Question:
How many different ways may Spring-based apps be configured?

1.Java-based configuration

2.XML-based configuration

3.Annotation-based configuration

4.All of the above

Posted Date:-2024-02-07 16:13:16


Question:
How many types of IOC containers are there?

1.5

2.4

3.3

4.2

Posted Date:-2024-02-07 16:02:01


Question:
In how many ways you can inject dependency?

1.4

2.2

3.5

4.7

Posted Date:-2024-02-07 16:02:51


Question:
Spring framework's ____ capability allows you to insert object dependencies indirectly.

1.Autowiring

2.Autoreferences

3.Applicationbean

4.AutoBeans

Posted Date:-2024-02-07 16:03:33


Question:
The key unit of modularity in AOP is the ____?

1.Module

2.Class

3.Aspect

4.Objects

Posted Date:-2024-02-07 16:23:43


Question:
The key unit of modularity in OOP is the ____?

1.Module

2.Class

3.Aspect

4.Objects

Posted Date:-2024-02-07 16:23:11


Question:
What are the responsibilities of JdbcTemplate class?

1.Takes care of resource generation

2.We can carry out all database operations.

3.Handles the exception and displays useful error messages

4.All of the above

Posted Date:-2024-02-07 16:19:31


Question:
What is AOP?

1.Aspect object programming

2.Aspect-oriented programming

3.Artificial-oriented programming

4.Artificial object programming

Posted Date:-2024-02-07 16:06:04


Question:
What is IOC?

1.Integral of conversion

2.Integrated oriented control

3.Inversion of conversion

4.Inversion of control

Posted Date:-2024-02-07 16:00:48


Question:
When using ____ autowiring mode, the bean id and reference name must be identical.

1.Byname

2.ByType

3.No

4.Constructor

Posted Date:-2024-02-07 16:04:32


Question:
Which annotation designates a class as the controller?

1.@cont

2.@controller

3.@_controller

4.@__controller

Posted Date:-2024-02-07 16:18:06


Question:
Which of the following annotation is used to associate a URL with a whole class or a specific handler function?

1.RequestMapping

2.RequestMap

3.RequestMapper

4.Mapper

Posted Date:-2024-02-07 16:22:13


Question:
Which of the following clearly states the role of IOC in Spring?

1.To instantiate the application class

2.To setup the object

3.To assemble the object dependencies

4.All of the above

Posted Date:-2024-02-07 16:01:16


Question:
Which of the following does the J2EE platform consist of?

1.Services

2.APIs

3.Protocols

4.All of the listed options

Posted Date:-2024-02-07 16:27:45


Question:
Which of the following helps us to fetch the record from the database?

1.ResultSetExtractor

2.RowMapper

3.Both

4.None

Posted Date:-2024-02-07 16:21:48


Question:
Which of the following is the default autowiring mode?

1.Byname

2.ByType

3.No

4.Constructor

Posted Date:-2024-02-07 16:04:04


Question:
Which of the following is useful for wiring, such as injecting a list of variables and allowing for duplication?

1.LIST

2.MAP

3.SET

4.PROPS

Posted Date:-2024-02-07 16:12:29


Question:
Which of the following scope, restricts the bean specification to a single instance per Spring IoC container?

1.Singleton

2.Prototype

3.Session

4.Global-session

Posted Date:-2024-02-07 16:04:54


Question:
Which of the following type of advice executes after a joint point has been completed properly?

1.Before advice

2.After Returning Advice

3.After Throwing Advice

4.Around Advice

Posted Date:-2024-02-07 16:10:10


Question:
Which of the following type of advice executes before and after a joint point?

1.Before advice

2.After Returning Advice

3.After Throwing Advice

4.Around Advice

Posted Date:-2024-02-07 16:08:16


Question:
Which of the following type of advice executes if the method exits by throwing an exception?

1.Before advice

2.After Returning Advice

3.After Throwing Advice

4.Around Advice

Posted Date:-2024-02-07 16:08:35


Question:
With Spring Web MVC, which class serves as the front controller?

1.DispatcherServlet

2.Servlet

3.ServletContext

4.HandlerApapter

Posted Date:-2024-02-07 16:17:37


Question:
_ beans are defined inside the scope of another bean.

1.Core

2.Outer

3.Peripheral

4.Inner

Posted Date:-2024-02-07 16:06:26


Question:
__ are the objects that constitute the backbone of your application and are maintained by the Spring IoC container?

1.Threads

2.Process

3.Beans

4.Application

Posted Date:-2024-02-07 16:02:28


Question:
__ can be employed to inject a collection of name-value pairs with any type of name and value?

1.LIST

2.MAP

3.SET

4.PROPS

Posted Date:-2024-02-07 16:12:54


Question:
__ denotes an action taken by an aspect at a specific join point.

1.Interceptor

2.Pointcut

3.Advice

4.Target Object

Posted Date:-2024-02-07 16:06:53


Question:
__ is a class that accepts incoming requests and routes them to the appropriate resources such as controllers, models, and views.

1.DispatcherServlet

2.Servlet

3.ServletContext

4.HandlerApapter

Posted Date:-2024-02-07 16:16:42


Question:
___ aids in wiring a group of values that are not duplicated?

1.<LIST>

2.MAP

3.SET

4.PROPS

Posted Date:-2024-02-07 16:11:11


Question:
___ is used to increase modularity by cross-cutting concerns.

1.JVM

2.Jdbctemplate class

3.OOP

4.AOP

Posted Date:-2024-02-07 16:21:25


More MCQS[bidezones.com ]

  1. EJB Core Java Mcq Questions
  2. EJB MCQ - Java Technologies
  3. EJB MCQ QUESTIONS AND ANSWER
  4. Advanced EJB MCQ QUESTION AND ANSWER
  5. EJB MCQ QUESTIONS AND ANSWER