JavaBeans interview questions

JavaBeans interview questions

Take as many assements as you can to improve your validate your skill rating

Total Questions: 15

1. What does the EJB specification architecture define ?

Correct Answer is : All of the above

2. What executes EJB components ?

Correct Answer is : An EJB container

3. What do enterprise beans use to communicate with the EJB container to get runtime context information ?

Correct Answer is : The javax.ejb.EJBContext provided by the container

4. Through what interface does an application create, find, and remove enterprise beans ?

Correct Answer is : javax.ejb.EJBHome

5. What type of enterprise bean is used to embody business objects ?

Correct Answer is : javax.ejb.EntityBean

6. Which of the following is not an Enterprise Beans type?

Correct Answer is : Doubleton

7. Which of the following is not true about Java beans?

Correct Answer is : Extends java.io.Serializable class

8. Which file separator should be used by MANIFEST file?

Correct Answer is : /

9. Which of the following is correct error when loading JAR file with duplicate name?

Correct Answer is : java.lang.ClassFormatError

10. Java Beans are extremely secured?

Correct Answer is : FALSE

11. Which of the following is not a feature of Beans?

Correct Answer is : Serialization

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

Correct Answer is : singleton

13. Which attribute is used to specify initialization method?

Correct Answer is : init-method

14. Which attribute is used to specify destroy method?

Correct Answer is : destroy-method

15. How to specify autowiring by name?

Correct Answer is : @Qualifier

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon