• 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
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Question on Business Method?

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any body tell me diffrence between Home interface business method and remote interface business method?

regards
kishore
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Home interface business methods are not specific to particular entity bean. wherras component interface business methods are related to particular instance of the bean.

Homebusiness methods are run in pooled state while component in ready state.

Hope it helps..
Gemini
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Homebusiness methods are run in pooled state while component in ready state.



Just want to clarify this statement.

Is it mandetory to call home methods in pooled state.
What I am trying to say here is, will it be possible to call a home method by getting home handle through component reference->entitycontext->home handle ?

I need to clarify that if I call home method on a active bean then will it throw exception ?
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chetan Sahasrabudhe:


Just want to clarify this statement.

Is it mandetory to call home methods in pooled state.
What I am trying to say here is, will it be possible to call a home method by getting home handle through component reference->entitycontext->home handle ?

I need to clarify that if I call home method on a active bean then will it throw exception ?



If you use the home handle you are no longer referencing a specific bean.
 
this is supposed to be a surprise, but it smells like a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic