![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help is available for each task.
Task 1Choose a database system appropriate for your environment and then either install or build the database system with the music data that you prefer. Sun's J2EE Reference Implementation comes with a built-in version of the Cloudscape RDBMS. If you are using J2EE RI, you should initially use Cloudscape as your database to avoid configuration problems. You can learn how to substitute a different database after you become comfortable with creating and deploying applications using Cloudscape. If you insist on initially using a database other than Cloudscape, you should carefully read and follow the instructions in the following J2EE RI documentation before you begin: Note that Microsoft Access doesn't provide adequate SQL support for the tasks required by EJB technology servers. For Cloudscape, simply copy the For other database environments, simply compile and run the programs One last step is needed when running with J2EE RI: You need to modify the jdbc.datasources=jdbc/Cloudscape| jdbc:cloudscape:rmi:CloudscapeDB;create=true (with everything on one line) to be: jdbc.datasources=jdbc/Cloudscape| jdbc:cloudscape:rmi:CloudscapeDB;create=true| jdbc/MusicStore|jdbc:cloudscape:rmi:MusicStoreDB;create=false (with everything on one line) and then restarting both Cloudscape and J2EE RI. Barnes and Noble and other sites provide easy access to music CD data such a UPCs, if you want to customize the MusicCD database with your own entries. Task 2Verify the integrity of the database using a vendor-supplied graphical tool or the See the expected output in this exercise for example output for the Cloudscape View tool and for Copyright 1996-2000 jGuru.com. All Rights Reserved. |