First application with Spring roo

From spring.io--> roo

mkdir hello
cd hello
roo
roo> hint
roo> project setup --topLevelPackage com.foo
roo> jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
roo> entity jpa --class ~.domain.Timer --testAutomatically
roo> field string --fieldName message --notNull
roo> hint web mvc
roo> web mvc setup
roo> web mvc all --package ~.web
roo> selenium test --controller ~.web.TimerController
roo> security setup
roo> perform tests
roo> quit

你可能感兴趣的:(spring roo)