Defining remote interface methods

The IDL for your bean’s remote interface must define a remove method and the business methods implemented by the bean.

remove methods are called by clients to delete the database row associated with an entity bean, and to release a reference to a session bean instance. remove methods have the following signature:

void remove
(
)
raises (::CtsComponents::RemoveException);

You can define business methods graphically or using the IDL editor window. The procedure is the same as for any other IDL interface. See Chapter 5, “Defining Component Interfaces,” for more information.

NoteIf portability to other EJB servers is required, use only in parameters in remote interface methods.