• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Object - Help with definition!

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's what I understand so far of this seemingly elusive concept...
(1) EJB Object (generated by the container) extends ...
(2) Hello Remote interface (created by me) extends ...
(3) javax.ejb.ejbObject (comes with ejb distribution) extends ... java.rmi.Remote.

Is the EJB Object (the one generated by the container) a stub, a skeleton, or both?
Does it live on the client, server, or both?
Help!
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

By: Nadine McKenzie
(1) EJB Object (generated by the container) extends ...


Actually, it implements the remote interface.
As far as I know, the container generates both sutbs and skeletons. The skeleton is kept on the server-side and the stub is used by the client application.
This means that you need the stub as well as the Remote (and Home) interface(s) on the client.
Cheers
/Peter
[ July 22, 2002: Message edited by: Peter Kristensson ]
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic