org.ow2.easybeans.examples.migrationejb21
Interface EJB2RemoteHome

All Superinterfaces:
javax.ejb.EJBHome, Remote

public interface EJB2RemoteHome
extends javax.ejb.EJBHome

Home interface used by EJB 2.1 clients.

Author:
Florent Benoit

Method Summary
 EJB2RemoteInterface create()
          Gets an instance of a bean with EJB2RemoteInterface interface.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

EJB2RemoteInterface create()
                           throws javax.ejb.CreateException,
                                  RemoteException
Gets an instance of a bean with EJB2RemoteInterface interface.

Returns:
instance of a bean implementing EJB2RemoteInterface interface.
Throws:
javax.ejb.CreateException - if the bean cannot be created.
RemoteException - if RMI protocol is failing.


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.