-
Example 5
shows the source code for the home interface for the User EJB
-
Extends the javax.ejb.EJBHome interface
-
Provides methods for obtaining reflection information about the bean
-
Provides methods to remove (delete) beans
-
Provides methods both for
-
Creating new User EJB's
-
Finding existing User EJB's
-
Multiple create methods are permitted
-
They differ by parameter types
-
The user home interface has only 1 create() method
-
The login ID and password of the user are given at create time
-
A CreateException will be thrown if the given ID is already registered
|