Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client View Question

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question:

Is it possible for a (i) session bean instance and (ii) entity bean instance to be referenced simultaneously by a local and a remote client. i.e. two clients one holding an EJBObject and another holding an EJBLocalObject reference to the same sbean or ebean instance.

Support your answer by listing the scenario it happens.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure -- why not? It's all about transactions, my dear Watson.
 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I should have mentioned this. This is a mock question i created myself to test my understanding of ejb. Just post it here to see if anyone could verify me answer.

So why yes or why no?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic