Question: What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC?

Options

A : prototype

B : singleton

C : request

D : session

Click to view Correct Answer

Previous || Next

Java Beans more questions

Which of the following is correct error when loading JAR....

Which of the following is not an Enterprise Beans type?

Which of the following is not true about Java beans?

How to specify autowiring by name?

What does setAutoCommit(false) do?

Which attribute is used to specify destroy method?

Which attribute is used to specify initialization method?

Which of the following contains both date and time?

Which of the following is advantage of using JDBC connection....

Which of the following is advantage of using PreparedStatement in....

Annotations more Online Exam Quiz

Application Lifecycle - Ant, Maven and Jenkins

AutoCloseable, Closeable and Flushable Interfaces

Client and Server

Debugging in Eclipse

Design Patterns

JDBC

JSP

JSP Elements

Reflection API

Servlet