Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

mock questions  RSS feed

 
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?
 
Bras cause cancer. And tiny ads:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!