This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Object - Help with definition!  RSS feed

 
Nadine McKenzie
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • 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!
 
Peter Kristensson
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!