wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Question on Business Method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Question on Business Method?" Watch "Question on Business Method?" New topic
Author

Question on Business Method?

kishore chitturi
Ranch Hand

Joined: Nov 28, 2004
Posts: 50
Can any body tell me diffrence between Home interface business method and remote interface business method?

regards
kishore
Gemini Moses
Ranch Hand

Joined: Jan 04, 2001
Posts: 245
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
Chetan Sahasrabudhe
Ranch Hand

Joined: Aug 09, 2004
Posts: 75
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 ?


Thanks & Regards<br />Chetan
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

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.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on Business Method?
 
Similar Threads
transaction attributes for stateful session beans
RemoteException in bean interface
Problems in EJB Home accessing EJB Bean
Home Business methods vs Component Interface Business methods
Doubt in spec(reg Session bean's Business interface)