Spring Roo
● Volle Java Web Anwendungen
● Einfach● Schnell● Modern
Installation
● Java 6 JDK● Apache Maven● Unzip Roo● Path-Variable
Bestandteile
z.B. Vortragsplan
● Redner ● Vortrag● Platform
Projektstart
● mkdir roodemo● cd roodemo● roo.bat● hint● project
--topLevelPackage com.foo.roodemo
Persistenz
● jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
● (mongo setup)● (solr setup)
Objekt
● entity jpa --class com.foo.roodemo.speaker
Felder
● field string --fieldName name --notNull --sizeMin 2
● field string --fieldName email
● field date --type java.util.Date --fieldName birthday
weitere Objekte
● entity jpa --class com.foo.roodemo.platform
● field string --fieldName slideshow
● field string --fieldName os● entity jpa --class
com.foo.roodemo.talk● field string --fieldName title
Referenzen
● field set --type com.foo.roodemo.Speaker --fieldName speakers
● field reference --type com.foo.roodemo.Platform --fieldName platform
MVC
● web mvc setup● web mvc all
--package ~.web
Probelauf
● mvn jetty:run
Nebenbei
● I18n● RESTful● Validation● Tests
Suchen
● focus com.foo.roodemo.Speaker
● finder add --finderName findSpeakersByEmailLike
● finder add --finderName findSpeakersByBirthdayBetween
● focus com.foo.roodemo.Talk
● finder add --finderName findTalksByPlatform
Anderes UI
● GWT● Vaadin● Web Flow
Sicherheit
● security setup● backup● selenium test
Nachrichten
● email sender setup● jms setup● logging setup
IDEs
● Roo Shell● Eclipse● Netbeans
Video Tutorial
● http://s3.springsource.com/MRKT/roo/2010-01-Five_Minutes_Roo.mov
Links
● http://www.springsource.org/spring-roo
● http://www.springsource.com/download/community
● http://static.springsource.org/spring-roo/reference/html/beginning.html
● http://static.springsource.org/spring-roo/reference/html/command-index.html
● http://spring-roo-repository.springsource.org/Getting_Started_with_Roo.pdf
Top Related