-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Spring Roo 1.1 Cookbook
The task of developing the Spring MVC application is incomplete without packaging, deploying, and using it. In this recipe, we will look at how a Roo-generated Spring Web MVC application is packaged, deployed, and run.
Delete the contents of ch04-recipe sub-directory inside the C:\roo-cookbook directory.
Copy the ch04_web-app.roo script into the ch04-recipe directory.
The Execute the ch04_web-app.roo script that creates the flight-app Roo project, sets up Hibernate as the persistence provider, configures MySQL as the database for the application, creates Flight and FlightDescription JPA entities, and defines many-to-one relationships between the Flight and FlightDescription entities. If you are using a different database than MySQL or your connection settings are different than what is specified in the script, then modify the script accordingly.
Start Roo shell from the C:\roo-cookbook\ch04-recipe directory.
Change the font size
Change margin width
Change background colour