1. Setup development enviornmentDownload SpringSource Tool Suite (STS). We need version 2.3.3.M1 which has Google integration.
Then use its extensions dashboard to install the Google Plugin for Eclipse:
2. Create Roo projectIn STS, click "File->New->Roo Project",
Then "Next", "Finish".
You will see our "demo" project appears in Package Explorer after output some building information from Console. Now switch to "Roo Shell" tab, we are ready to type in some commands.
3. Develop our project using Roo.It's time to start our Roo journey, type command in "Roo Shell":
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORYcreate Employee entity class with two properties:
entity --class ~.server.domain.Employee
field string --fieldName firstName
field string --fieldName lastName
add gwt support:
gwt setupHowever, I occurs an error after this command,
"The project 'demo' does not have any GWT SDKs on its build path"
right click on "demo" project, "Build Path"->"Add Libraries", choose "Google Web Toolkit".
let's roo do pack:
That's all, let's quit Roo:
now open any command line tool you prefer, "cd" into the "demo" project directory,
in the "GWT Development Mode" windows, click "Launch Default Browser":