• Post Reply Bookmark Topic Watch Topic
  • New Topic

Final Mock exam question 40.(HFEJB)

 
Jayashree Mohan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many javax.ejb.EJBLocalHome interface methods can be called without an exception from a session bean client?

1) 0
2) 1
3) 2
4) 3
5) 4

My answer was one method [2)] and that method is remove(Object primaryKey) but the HFEJB book says answer is zero method[1)] . How is this possible?
 
Jesus Angeles
Ranch Hand
Posts: 2069
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This one explains it http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/ejb/EJBLocalHome.html

That 'remove' method is for entity beans.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!