JavaWeb应用迁移至Groovy案例

8 views
Skip to first unread message

songwei

unread,
Nov 24, 2009, 8:10:28 PM11/24/09
to groo...@googlegroups.com

Benellingsonlogspot上分享了其将 www.nofluffjuststuff.com网站由JavaWeb应用迁移至Groovy的过程。或许是对Struts2情有独钟,他并没有使用Grails,但是业务逻辑转向用Groovy实现。

 

High-level Steps:
1. Implement Automated Unit Testing w/ Groovy
2. Achieve a high level of code coverage (+70% should be good)
3. Start changing application .java files to .groovy
4. Remove getters and setters
5. Remove dead code
6. Use closures
7. Use more Groovy sugar such as file and XML processing
8. refactor, test.. repeat

 

http://benellingson.blogspot.com/2009/11/case-study-migrating-java-web-app-to.html

 

foxgem

unread,
Nov 24, 2009, 8:38:45 PM11/24/09
to groo...@googlegroups.com
Groovy必然会大规模应用的,一个例子就是我不断地在Linkedin的Grails组中看到UK在找Grails的开发人员。
 
就连几个月前,居然还有人想要在西安找Grails的开发人员来搞外包。当然,由于那种模式我不太喜欢,因为中间还要经过一道手,相当于外包的外包,所以就没有考虑。
 
此外,迁移过程也是个长期过程,这一次Benellingson没有全部改换门庭,其中之一的原因很可能跟它的Domain Model有关系吧,呵呵。
Reply all
Reply to author
Forward
0 new messages