• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mock questions

 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q. If you call a "set" abstract accessor for a cmr field, it can:
A. Throw a java.sql.SQLException
B. Automatically cascade delete an entity
C. Automatically change the value of cmr fields in up to three additional beans
D. You can never call an abstract accessor
The correct answer given is C. I am not sure about this - do we have any restrictions like cmr fields can only be updated upto "three" additional beans?


Q. What interface must the enterprise bean implement so that an application can invoke its operations?
A. javax.ejb.EntityBean
B. javax.ejb.EJBHome
C. javax.ejb.EJBObject
D. javax.rmi.Remote

The wordings "...so that an application can invoke its operations" looks very confusing to me. Correct option given is C. Can someone please help me understand this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic