Interface GenericHome

public interface GenericHome

You can cast any home to this interface and call its create method. Create method will create a new bean's instance and set the context. For session beans, it will call the parameterless ejbCreate if it exists for. It will not call ejbCreate if the parameterless ejbCreate does not exist. For entity beans (BMP and CMP), no ejbCreate/ejbPostCreate method will be called. This can be used, for example, for BMP entity beans to initialize the bean from the "back door" without inserting a database record (i.e., calling the actual ejbCreate).

Alexander Ananiev

Method Summary
 java.lang.Object genericCreate()

Method Detail


public java.lang.Object genericCreate()