• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Q about return and argument types: HF EJB p. 234

 
Gian Franco
blacksmith
Ranch Hand
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

On page 234 of HF EJB it says:
You must not expose the local home
or component interface of a bean through a
Remote component interface method. In other
words, you can't have a local interface as
the return type or argument type in a Remote
component interface method.


What happens if by mistake it's exposed
anyway?

Cheers,

Gian
[ March 05, 2005: Message edited by: Gian Franco Casula ]
 
Subhash Bhushan C
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will probably get a big, fat RemoteException, which is what is returned, when the Container fails to procure/cast objects/beans on the server.
 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
Will the verifier allow us to pass it? I wonder it will ever deploy!!!
Amol.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic