eWebProgrammer
Distributednetworks GofPatterns
prev prev
Course navigation
Creating a session EJB
Home's create() methods
EJB Home's create() methods
interface HelloHome extends EJBHome
Home objects implement interfaces that always extend javax.ejb.EJBHome.
Hello create()
Creates the bean instance with a default state and returns a remote reference to the bean's EJBObject instance.
Hello create(String arg1)
Creates a bean instance using the specified parameters to set the initial state rather than the default state.
CreateException, RemoteException
The create methods must throw both these exceptions.
Course navigation