Top 150+ Solved Enterprise Computing With JAVA MCQ Questions Answer
Q. Which of the following is true for EJB?
a. EJB is server-side component architecture for distributed applications in Java
b. EJB facilitates scalable, secure and transaction-oriented applications
c. EJB supports portability and reusability
d. All of the above.
Q. Which of the following EJB type has no Remote interfaces?
a. Message-Driven Bean
b. BMP Entity Bean
c. CMP Entity Bean
d. none
Q. Which role in EJB architecture is responsible for EJB Server?
a. EJB Deployer
b. Application Assembler
c. Network Engineer
d. Server Provider
Q. Which of the EJB has a passive state in its life cycle? I. Stateless Session Bean. II. Message-Driven Bean. III. BMP Entity Bean.
a. Only (I) above
b. Only (II) above
c. Only (III) above
d. Both (I) and (II) above
Q. Which part of multi-tier enterprise application contains EJB component?
a. Application Server
b. Web Server
c. Database Server
d. Fat Client
Q. Which of the following distributed object technology is/are not included in Java?I. CORBA. II. DCOM. III. RMI. IV. EJB.
a. Only (I) above
b. Only (II) above
c. Only (III) above
d. Only (IV) above
Q. Which of the following is not a property of EJB transaction?
a. Atomicity
b. Consistency
c. Isolation
d. Distributed
Q. Which of the following is not a container for EJB?I. Internet Information Server. II. Java System Application Server. III. Tomcat. IV. WebLogic.
a. Both (I) and (II) above
b. Both (II) and (III) above
c. Both (III) and (IV) above
d. Both (I) and (III) above.
Q. Which of the following is/are true for JSP technology?I. It is persistent. II. Platform independent. III. Browser executes the code.
a. Only (I) above
b. Only (II) above
c. Both (I) and (II) above
d. Both (II) and (III) above
Q. Which method of the request object is used to extract values of the input fields in a formwhen it is submitted?
a. getParameter
b. getParameterNames
c. getValues
d. putValues
Q. Which of the following is true for CORBA?
a. Protocol for distributed computing
b. Database specification
c. Specification for distributed objects
d. Both (c) and (d) above.
Q. Which of the following is not true for <jsp:useBean> tag in JSP page?
a. Locates a bean instance
b. Stores object reference of the bean in a variable
c. Creates an instance if fails to locate the bean instance
d. All the above.
Q. Which of the following is not true for servlet?
a. It is persistent
b. Platform independent
c. High performance
d. It is single threade
Q. Which JSP tag is used to transfer processing to another JSP page?
a. <jsp:include>
b. <jsp:forward>
c. <jsp:redirect>
d. <jsp:useBean>
Q. Which of the following is an approach for state maintenance in Web applications?
a. Hidden Form Field
b. URL Rewriting
c. Cookies
d. All of the above.