The exercises in this section reveal some of the basic aspects of
EJB QL programming and
functionality. You’ll explore
basic finder methods,
methods, and the use of the
operation in EJB QL queries.
If you already have JBoss running, there is no reason to restart it.
Perform the following steps:
Open a command prompt or shell terminal and change to the
ex08_1 directory created by the extraction
JBOSS_HOME environment variables to point to where
your JDK and JBoss 4.0 are installed. Examples:
ant to your execution path.
Perform the build by typing
As in the last exercise, you will see
rebuilt, copied to the JBoss
and redeployed by the application server.
This exercise introduces no new features in JBoss-specific files. If you think you need to, review Exercise 6.1 of this workbook to understand the JBoss-specific files in this example.
The database tables for this exercise will automatically be created in JBoss’s default database, HypersonicSQL, when the EJB ...