Filters
Question type

Study Flashcards

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.

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

Which of the following EJB type has no Remote interfaces?


A) Message-Driven Bean
B) BMP Entity Bean
C) CMP Entity Bean
D) none

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

Which of the following EJB has no state? i. Message-Driven Bean. ii. BMP Entity Bean. iii. Stateless Session Bean. iv. Stateful Session Bean.


A) Both (I) and (II) above
B) Both (II) and (III) above
C) Both (III) and (IV) above
D) Both (I) and (III) above.

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

Which method of the request object is used to extract values of the input fields in a form when it is submitted?


A) getParameter
B) getParameterNames
C) getValues
D) putValues

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

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.

E) A) and C)
F) None of the above

Correct Answer

verifed

verified

D

Which EJB usually represents persistent data?


A) Entity Bean
B) Stateless Session Bean
C) Stateful Session Bean
D) Message-Driven Bean

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

Which JSP tag is used to transfer processing to another JSP page?


A) <jsp:include>
B) <jsp:forward>
C) <jsp:redirect>
D) <jsp:useBean>

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

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

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

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

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

Which is least visibility scope for Java bean in JSP?


A) Page
B) Session
C) Request
D) Application

E) A) and C)
F) None of the above

Correct Answer

verifed

verified

A

Which of the following is true for JNDI?


A) Database service
B) Naming and Directory Service
C) Network Service
D) Web Service

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

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.

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

D

Which of the following is the format for EJB deployment descriptor files?


A) XML
B) XSL
C) HTML
D) Java

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Which of the following exceptions is thrown by the ejbLoad() method of an entity bean when the database row to be loaded is not found ?


A) NoSuchEntityException
B) EJBException
C) RemoteException
D) ObjectNotFoundException

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

Which part of multi-tier enterprise application contains EJB component?


A) Application Server
B) Web Server
C) Database Server
D) Fat Client

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

Which of the following is not a property of EJB transaction?


A) Atomicity
B) Consistency
C) Isolation
D) Distributed

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

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.

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

Which of the following is not true for servlet?


A) It is persistent
B) Platform independent
C) High performance
D) It is single threaded.

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

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

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

Which interface should be implemented by a stateful session bean if it needs to synchronize its conversational state with the transactional context?


A) javax. transaction. UserTransaction
B) javax. ejb. SessionSynchronization
C) javax. ejb. EJBContext
D) javax. transaction. TransactionContext

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

Showing 1 - 20 of 25

Related Exams

Show Answer