JavaDeploy
SiteMap
JSP - Servlets
JDBC
EJB Concepts
Entity Beans
Distributed Objects
«Prev
Next»
Enterprise JavaBeans
EJB Architecture
EJB Clients Remote Objects
Transport Stubs Skeletons
Client Stub Proxy Pattern
Separating Business Logic
EJB Reusable Components
Object Monitors
Transactional Environment
Transactions Remote Objects
Distributed Objects
Stateful Stateless Beans
EJB Container Services
EJB Session Beans
Deployment Descriptor Jar
Client View Bean
Client Bean Relationship
Home Object Interface
Finding Home Object
Creating EJB Session
Calling EJB Business Methods
EJB Exception Handling
Bean Identity Session Handles
EJB Client Program
EJB Deployment
EJB container Services - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which of the properties in the list below are unique to Enterprise JavaBeans but not for JavaBeans?
Please select all the correct answers.
A.
They are components.
B.
A container manages them.
C.
More than one of them can be combined in a single program (not application).
D.
They live on the server side of an application.
E.
They can be part of a transaction.
2.
Consider the diagram below, where clientA invokes the methods on instance BeanB, and BeanD (another bean instance in the same container) invokes methods on BeanB. In terms of the semantics of these interactions. .
Semantics
Please select the best answer.
A.
The container does not need to check the security when BeanD is a client to BeanB.
B.
BeanD, as a client, can call the methods of the bean directly without going through the container.
C.
The semantics are the same for both interactions.
D.
BeanD, as a client, does not need to look up the name and download the stub for BeanB from JNDI.
3.
What are valid activities of the container when a request arrives for a method of a bean instance?
Please select all the correct answers.
A.
Acknowledge receipt of the request to the client
B.
Start a transaction
C.
Check security for the client
D.
Discard the request.
E.
Directly and immediately pass the request to the bean's methods.