Create a new directory (
C:\roo-cookbook\ch05-gwt) in your system. Copy the
ch05_gwt_app.roo script that accompanies this book to the
ch05-gwt directory. Start the Roo shell from the
ch05-gwt directory and execute the
ch05_gwt_app.roo script using the
script command. Executing the
ch05_gwt_app.roo script does the following:
Sets up Hibernate as a persistence provider
Configures MySQL as the database for the application
FlightDescriptionJPA entities and defines a many-to-one relationship between
If you are using a different database than MySQL or your connection settings are different from what is specified in the script, then modify the script accordingly.
Install the Google Plugin for Eclipse IDE (http://code.google.com/eclipse/); it simplifies...