• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
blacksmith
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 ]
 
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.
 
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.
 
    Bookmark Topic Watch Topic
  • New Topic