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
EJB Beans Business Methods - Quiz
Select the best answer or answers for each question.
1.
What exceptions may the business methods throw?
Please select all the correct answers.
A.
EJBException
B.
RemoteException
C.
Application-specific exceptions
D.
NoSuchObjectException
2.
What are useful return types of the business methods?
Please select all the correct answers.
A.
A reference to the home object
B.
An object type chosen by the bean developer
C.
A reference to the EJBObject
D.
void.
3.
For what length of time is the handle, returned from the EJBObject, valid?
Please select all the correct answers.
A.
Until the container crashes
B.
A length of time set by the container
C.
Until the bean instance is removed by the client
D.
Five days