• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Can entity beans call remove() method from Component interface?

 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If yes,on which instance of the bean are we calling it??
Could someone answer this question please...
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you can call remove on component interface. If it is already associated with corresponding bean instance, it will be called on that. If NOT i guess Container will pick instance from pool and load it and then call remove on that.
 
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

If yes,on which instance of the bean are we calling it??
Could someone answer this question please



We are talking about calling remove() on component interface that means you have a reference to the stub of a remote EJBObject that indeed is unique.

Think in this way that from where you got the remote component interface.

Hope it helps.
reply
    Bookmark Topic Watch Topic
  • New Topic