本站首页    管理页面    写新日志    退出


«September 2025»
123456
78910111213
14151617181920
21222324252627
282930


公告

关注电子政务、大型企业应用开发、Web、Workflow、MOM、MDA、RCP、GEF

email:gmluyang@gmail.com


链接

好友
bluedavy-林昊
刑红瑞
SixSun-翻译
Birt中文指南
SixSun-OpenDoc
Eclipse RCP and Web in action(编写中)

我的分类(专题)

日志更新

最新评论

留言板


Blog信息
blog名称:SixSun的Blog
日志总数:152
评论数量:372
留言数量:13
访问次数:2384874
建立时间:2004年12月13日




[设计模式]AspectJ重构23 个GoF 模式
所见所闻,  软件技术

SixSun 发表于 2006/12/18 16:16:54

  [Introduction]  [GoF Patterns in Java and AspectJ]  [Downloads]  [Publications]  [Contact]  [Jan Hannemann]  [The SPL lab at UBC] 04/2004: update: minor changes to pattern code base Aspect-Oriented Design Pattern Implementations Language-dependence of Design Patterns Introduction [top] Software design patterns offer flexible solutions to common software development problems. Each pattern is comprised of a number of parts, including purpose/intent, applicability, structure, and sample implementations. A number of patterns involve crosscutting structures in the relationship between roles in the pattern and classes in each instance of the pattern. When the software design patterns were first identified, the sample implementations were geared to the current state of the art in object-oriented languages. Since then, aspect-oriented programming has been proposed as a means of modularizing crosscutting concerns in software. Other work has shown that the implementation language affects pattern implementation, which makes it natural to explore the effect of aspect-oriented programming techniques on the implementation of the GoF patterns.   GoF Design Patterns in Java and AspectJ [top] As an initial experiment we chose to develop and compare Java and AspectJ implementations of the 23 GoF patterns. AspectJ is a seamless aspect-oriented extension to Java, which means that programming in AspectJ is effectively programming in Java plus aspects. By focusing on the GoF patterns, we are keeping the purpose, intent, and applicability of 23 well-known patterns, and only allowing the solution structure and solution implementation to change. So we are not discovering new patterns, but simply working out how implementations of the GoF patterns can be handled using a new implementation tool. For the 23 patterns, we managed to remove the code-level dependencies from the participants in 17 cases. For 12 of these, we developed reusable implementations that can be integrated into software systems as "library pattern aspects". The examples illustrate differences in Java and AspectJ implementations Our results indicate that using AspectJ improves the implementation of many GoF patterns. In some cases this is reflected in a new solution structure with fewer or different participants; in other cases, the only the implementation of the classes in the originally proposed solution changes (for example by moving pattern code from the participants into an aspect) .   Downloads [top] The following downloads are available. You will need to have Java (version 1.2 or higher) and AspectJ (version 1.1 or higher) installed to run the examples. Please refer to the readme files for details on running the examples:  [new] - A collection of Java and AspectJ implementations of the 23 GoF patterns, version 1.11 - Each design pattern is represented by a sample system implemented in both Java and AspectJ. This includes the library of 12 reusable pattern aspects. The example code is intentionally kept simple. Note that while all classes are extensively commented using ajdoc, ajdoc does not work with latest AspectJ versions. The AspectJ team has an updated ajdoc in the works and we will provide HTML documentations of the implementations when it becomes available. Code base from April 01, 2004 [ZIP, 355K] - please refer to the readme files in the /docs directory for details on setting up your system, and compiling and running the examples. Release notes [TXT, 3K]   Old pattern implementations, version 1.1 - basically the same as version 1.11 above, except for the Observer, FactoryMethod and Facade implementations. Code base from February 25, 2004 [ZIP, 347 K] Old pattern implementations, version 1.0 - based on an older version of AspectJ (1.0.6). We recommend you use the latest version instead (see above). Code base from November 25, 2002 [ZIP, 321 K] Pre-generated ajdoc documentation for this code base [ZIP, 697 K]   Publications [top] The following publications about Patterns in AOP are available so far: Hannemann and Kiczales. Design Pattern Implementation in Java and AspectJ, Proceedings of the 17th Annual ACM conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA), pages 161-173, November 2002.   Contact [top] This project is part of the Ph.D. research of Jan Hannemann, under the supervision of Gregor Kiczales and Gail Murphy at in the Software Practices Lab, Department of Computer Science, University of British Columbia, Canada. We are very interested to hear your feedback on this work. Please send all questions, comments and suggestions to: 500)this.width=500'> Last updated: April 01, 2004 by Jan Hannemann


阅读全文(19617) | 回复(4) | 编辑 | 精华
 


回复:AspectJ重构23 个GoF 模式
所见所闻,  软件技术

1221(游客)发表评论于2009/3/18 16:19:50

[url=http://www.deeplan.com]TXT电子书[/url] [url=http://www.ibooks.cc]爱书网[/url] [url=http://bbs.ibooks.cc]小说论坛[/url] [url=http://www.ibooks.cc]小说[/url] [url=http://www.ibooks.cc/Book/8372/Index.html]斗罗大陆[/url] [url=http://www.ibooks.cc/Book/8435/Index.html]重修之灭仙弑神[/url] [url=http://www.ibooks.cc/Html/Book/6/6171/List.shtml]飞升之后[/url] [url=http://www.ibooks.cc/Book/9661/Index.html]庆余年[/url] [url=http://www.ibooks.cc/Book/1561/Index.html]三国风云[/url] [url=http://www.ibooks.cc/Book/3906/Index.html]七界传说[/url] [url=http://www.ibooks.cc/Book/4421/Index.html]盗墓笔记[/url] [url=http://www.choose.net.cn/3g.html]什么是3G[/url] [url=http://www.choose.net.cn/3g-biaozhun.html]3G标准[/url] [url=http://www.choose.net.cn/3g-canshu.html]3G参数[/url] [url=http://www.choose.net.cn/3g-shouji.html]什么是3G手机[/url] [url=http://www.choose.net.cn/3g-wenti.html]3G问题[/url] [url=http://www.zhaocheng.org.cn]英文网站推广[/url] [url=http://www.zhaocheng.org.cn]英文SEO[/url] [url=http://www.zhaocheng.org.cn]搜索引擎优化[/url] [url=http://www.zhaocheng.org.cn]网站推广[/url] [url=http://www.zhaocheng.org.cn]SEO[/url] [url=http://www.9jing.com.cn]酒精[/url] [url=http://www.9jing.com.cn/info/community/15.html]工业酒精[/url] [url=http://www.9jing.com.cn]乙醇[/url] [url=http://www.9jing.com.cn/tradeinfo/trade/6.html]制酒设备[/url] [url=http://www.9jing.com.cn]酒精行业[/url]


个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除
 


回复:AspectJ重构23 个GoF 模式
所见所闻,  软件技术

1221(游客)发表评论于2009/3/18 16:19:18

<a href="TXT'>http://www.deeplan.com">TXT电子书</a><a href="http://www.ibooks.cc">爱书网</a> <a href="http://bbs.ibooks.cc">小说论坛</a> <a href="http://www.ibooks.cc">小说</a> <a href="http://www.ibooks.cc/Book/8372/Index.html">斗罗大陆</a> <a href="http://www.ibooks.cc/Book/8435/Index.html">重修之灭仙弑神</a> <a href="http://www.ibooks.cc/Html/Book/6/6171/List.shtml">飞升之后</a> <a href="http://www.ibooks.cc/Book/9661/Index.html">庆余年</a> <a href="http://www.ibooks.cc/Book/1561/Index.html">三国风云</a> <a href="http://www.ibooks.cc/Book/3906/Index.html">七界传说</a> <a href="http://www.ibooks.cc/Book/4421/Index.html">盗墓笔记</a> <a href="http://www.choose.net.cn/3g.html">什么是3G</a> <a href="3G'>http://www.choose.net.cn/3g-biaozhun.html">3G标准</a> <a href="3G'>http://www.choose.net.cn/3g-canshu.html">3G参数</a> <a href="http://www.choose.net.cn/3g-shouji.html">什么是3G手机</a> <a href="3G'>http://www.choose.net.cn/3g-wenti.html">3G问题</a> <a href="http://www.9jing.com.cn">酒精</a> <a href="http://www.9jing.com.cn/info/community/15.html">工业酒精</a> <a href="http://www.9jing.com.cn">乙醇</a> <a href="http://www.9jing.com.cn/tradeinfo/trade/6.html">制酒设备</a> <a href="http://www.9jing.com.cn">酒精行业</a> <a href="Watch'>http://www.155book.com">Watch cartoons online</a> <a href="Cartoon'>http://www.155book.com">Cartoon family</a> <a href="Hip'>http://www.155book.com">Hip hop cartoons</a>  <a href="70-649http://www.exam4sure.com/Microsoft/70-649.html">70-649</a> <a href="650-393http://www.exam4sure.com/Cisco/650-393.html">650-393</a> <a href="642-164http://www.exam4sure.com/Cisco/642-164.html">642-164</a> <a href="70-271http://www.exam4sure.com/Microsoft/70-271.html">70-271</a> <a href="000-331http://www.exam4sure.com/IBM/000-331.html">000-331</a> <a href="000-061http://www.exam4sure.com/IBM/000-061.html">000-061</a> <a href="650-621http://www.exam4sure.com/Cisco/650-621.html">650-621</a> <a href="310-202http://www.exam4sure.com/SUN/310-202.html">310-202</a> <a href="70-536http://www.exam4sure.com/Microsoft/70-536.html">70-536</a> <a href="352-001http://www.exam4sure.com/Cisco/352-001.html">352-001</a> <a href="642-901http://www.exam4sure.com/Cisco/642-901.html">642-901</a> <a href="642-642http://www.exam4sure.com/Cisco/642-642.html">642-642</a> <a href="70-290http://www.exam4sure.com/Microsoft/70-290.html">70-290</a> <a href="642-373http://www.exam4sure.com/Cisco/642-373.html">642-373</a> <a href="70-620http://www.exam4sure.com/Microsoft/70-620.html">70-620</a>

个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除
 


回复:AspectJ重构23 个GoF 模式
所见所闻,  软件技术

太田痣(游客)发表评论于2008/4/23 15:50:20

 升降平台太田痣 乳腺健康干燥设备 微整形颧骨磨削 乳腺专科改脸型 乳腺专科医院爱贝芙 热风炉巨乳缩小 改眉形颧骨手术 转速表积乳囊肿 涂层测厚仪手术去眼袋 温湿度计烘箱 风速仪烘干设备 怀孕的症状硬度计

个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除
 


回复:AspectJ重构23 个GoF 模式
所见所闻,  软件技术

实验室家具(游客)发表评论于2008/4/23 15:49:46

 公兴搬家公司 植发 肉毒素 顺产 乳房整形毛发种植 公兴搬场公司重睑 B超溶脂减肥 丰胸实验室家具 溶脂胎记 乳腺纤维瘤去除胎记 实验室设备双眼皮 上颌前突保乳手术 下颌角收缩毛孔 超声波测厚仪眼袋手术

个人主页 | 引用回复 | 主人回复 | 返回 | 编辑 | 删除
 


» 1 »

发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.039 second(s), page refreshed 144768685 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号