블로그 이미지
Max.

calendar

    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Notice

2011.07.01 10:43 개발관련
project --topLevelPackage net.max --projectName test2
persistence setup --provider HIBERNATE --database MYSQL 
database properties set --key database.password --value 1212
database properties set --key database.url --value jdbc:mysql://localhost:3306/test
database properties set --key database.username --value root


entity --class ~.account.domain.Account
field string --fieldName name
field string --fieldName email
field number --fieldName visitCount --type java.lang.Integer --min 0
field date --fieldName writeDate --type java.util.Date --dateFormat SHORT

max setup
max service --class ~.account.service.AccountService --entity ~.account.domain.Account
max web --class ~.account.web.AccountController --service ~.account.service.AccountService


perform eclipse

------------------------------------

>mvn jetty:run

브라우저 확인 후,

>roo

이클립스 확인후, 
 
------------------------------------
entity --class ~.goods.domain.Goods
field string --fieldName name
field string --fieldName title
field number --fieldName eaCount --type java.lang.Integer --min 0
field date --fieldName writeDate --type java.util.Date

max service --class ~.goods.service.GoodsService --entity ~.goods.domain.Goods
max web --class ~.goods.web.GoodsController --service ~.goods.service.GoodsService

------------------------------------
> mvn jetty:run
브라우저 확인
 

저작자 표시
신고
posted by Max.

티스토리 툴바