Cross Grained And Fine Grained Object
Hello
I am preparing for a certification exam. I have come across few question. I am not sure about the answer. Please help me
1. When designing a distributed system, remote access to fine-grained objects should be avoided. Why?
A. Thinner clients are possible with coarse-grained objects.
B. Fine-grained objects result in increased network traffic.
C. Fine-grained objects are hard to develop and maintain.
Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
2. A stateful Session bean is being passivated by its container. Assuming all fields are non-transient, which of the following values will still exist following passivation?
A. null.
B. A JDBC Connection.
C. An Entity bean.
D. A SessionContext.
E. A UserTransaction.
Multiple Select - Please select all of the correct answers (this question has 4 correct choices).
3. Which of the following is true concerning CMP Entity bean activation and passivation?
A. Storage of persistent state to the database is handled automatically by the EJB container during passivation.
B. A client must explicitly activate a bean that has been passivated.
C. Clients do not directly communicate with a bean and are unaware of activation and passivation.
Single Select - Please select the best answer (one and only one choice must be selected).
4. Which of the following MUST be declared for a CMP Entity Bean in its deployment descriptor?
A. Bean class.
B. Database connection factory reference.
C. Home and remote interfaces.
D. Primary key class.
Multiple Select - Please select all of the correct answers (this question has 3 correct choices).

