JavaDeploy
SiteMap
JSP - Servlets
JDBC
EJB Concepts
Entity Beans
Client View of Bean
«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
Creating EJB Session Bean - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
The home object allows the client to perform which of the following:
Please select all the correct answers.
A.
Acquiring the handle for a bean
B.
Check to see if the bean was created
C.
Accessing the metadata for the bean
D.
Creating a bean and its EJBObject
E.
Invoking the methods of the bean
2.
Which of the following is a legal type for an object returned by the
lookup()
method?
Please select the best answer.
A.
A bean handle
B.
An object that implements the Home interface.
C.
Unknown
D.
An object that implements the remote interface (as implemented by the EJBObject).
3.
The return type from the
create()
methods in the Home object is a remote reference (stub) to which of the following?
Please select the best answer.
A.
The home object
B.
The EJBObject
C.
The bean itself
D.
Type is unknown
E.
void