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

猜你喜欢

转载自peter8015.iteye.com/blog/2222818