Java J2EE Multiple Choice Questions and Answers - 1
Question: 1
Choose the statement that best describes the relationship between JSP and servlets
(A) Servlets are built on JSP semantics and all servlets are compiled to JSP pages for runtime usage
(B) JSP and sevlets are unrelated technologies
(C) Servlets and JSP are competing technologies for handling web requests. Servlets are being superseded by JSP, which is preferred. The two technologies are not useful in combination
(D) JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage
Ans: D
JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage
Question: 2
Which of the following statements is NOT true about the Common Client Interface of JCA?
(A) CCI cannot connect to non relational systems
(B) CCI defines a set of interfaces and classes whose methods allow a client to perform typical data access operations
(C) A resource adapter is not required to provide support for the CCI
(D) CCI can connect to relational database systems
Ans: A
CCI cannot connect to non relational systems
Question: 3
Which of the following is not true in JMS point to point message domain?
(A) There is only one receiver
(B) The receiver can request a message
(C) The receiver must acknowledge the receipt of the message
(D) The receiver does not need to exist when the message is produced
Ans: B
The receiver can request a message
Question: 4
What will be the maximum size for a cookie?
(A) 1 KB
(B) 2 KB
(C) 3 KB
(D) 4 KB
Ans: D
4 KB
Question: 5
In JAAS, which of the following uses a CallbackHandler object?
(A) AuthPermission
(B) Policy
(C) Credential
(D) LoginModule
Ans: D
LoginModule
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
Steam and Power Generation Quiz Questions & Answers Pdf More
General Knowledge Questions Answers for Competitive Exams 2020-2021 More
TNPSC Chemistry Quiz More
Scholastic Aptitude Test Questions with Answers More
Levels of Biological Organization Online Test Questions 2019-2020 More
1000+ Railway Engineering Objective Type Questions and Answers More