|
Since many of the Enterprise Bean Samples require database access, it is required that you follow the instructions for Database Configuration before configuring and running Enterprise Beans.
Step 1: Create a Database User.
- Create a SQLServer user named EJB for the SAMPLE database.
- Using SQLServer's Query Analyzer, separately execute each of these commands:
- sp_addlogin EJB, ejbuser, SAMPLE
- use SAMPLE
- sp_adduser EJB
- grant all to EJB
 
- The password for EJB(all upper case) is ejbuser, all lower case.
- The EJB user may have already been created as a part of the installation process. In that case, you may use this existing EJB user provided the EJB user has access to the SAMPLE database.
|