Thanks for replies..but i'm still confused ... i can't differentiate clearly between ejbHome and ejbFind methods...
According to the
sun tutorials:
The Home Methods A home method contains the business logic that applies to all entity beans of a particular class. In contrast, the logic in a business method applies to a single entity bean, an instance with a unique identity. During a home method invocation, the instance has neither a unique identity nor a state that represents a business object. Consequently, a home method must not access the bean's persistence state (instance variables). (For container-managed persistence, a home method also must not access relationships.)
The Finder Methods The finder methods allow clients to locate entity beans.
Does that mean finder methods are only used to fetch some beans without doing any transactions on them and that home methods are meant to do some transactions on some particular beans??
Also I'm not clear on my above question yet as the tutorial doesn't say anything about it..