Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Client View Question  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!