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

Passing Reference

 
Ali Ragi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In spec,
A local home object reference cannot be passed as an argument or result of a method on an enterprise bean�s remote home or remote interface.

How about reversed: A remote home object reference can OR can not be passed as an argument or result of a method on an enterprise bean�s local home or remote interface?
 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remote clients need remote homes and remote component interfaces. Local clients need local homes and local component interfaces. You should never mix and match. If a client is remote, it needs both interfaces to be remote and if its local, it needs both interfaces to be local.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic