- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
UML实例--HELL_WORLD(六)
Artifacts
工件
“Hello, World!” is implemented as an applet, so it never stands alone but instead is typically a part of some Web page. The applet starts when its enclosing page is opened, triggered by some browser mechanism that runs the applet’s Thread object. However, it’s not the HelloWorld class that’s directly a part of the Web page. Rather, it’s a binary form of the class, created by a Java compiler that transforms the source code representing that class into an artifact that can be executed. This suggests a very different perspective of the system. Whereas all the earlier diagrams represented a logical view of the applet, what’s going on here is a view of the applet’s physical artifacts.
“Hello, World!”作为一个小应用程序执行,所以它不能单独成立,而只能是某些网页的一部分.当它依附的页面被打开,这个小应用程序就会启动,通过一些浏览器机制触发并运行这个小应用程序的Thread对象.然而,HelloWorld类并不是网页的一部分,相反,它是类的二进制形式,通过Java编译器创建,将这个类的源代码表示为可被执行的工件.这表明,这个系统的一个非常不同的视点.而所有早期的图表示了这个应用程序的逻辑视图,在这里显示的是应用程序的物理效应.
You can model this physical view using an artifact diagram, as in Figure 3-6.
你可以使用工件图构建物理视图模型.就像图3-6显示的那样.
The logical class HelloWorld is shown at the top as a class rectangle. Each of the other icons in this figure represents a UML artifact in the implementation view of the system. An artifact is a physical representation, such as a file. The artifact called hello.java represents the source code for the logical class HelloWorld, so it is a file that may be manipulated by development environments and configuration management tools. This source code can be transformed into the binary applet hello.class by a Java compiler, making it suitable for execution by a computer’s Java virtual machine. Both the source code and the binary applet manifest -- physically implement -- the logical class. This is shown by the dashed arrows with the keyword manifest.
逻辑类HelloWorld被作为类矩形框显示在顶部.在这个图中的每一个其它图标代表着系统的实施视图中一个UML工件.一个工件是一个物理表示法,如文件.hello.java工件代表的是HelloWorld逻辑类的源代码,所以那是一个通过开发环境和配置管理工具控制的文件.这个源代码可以通过Java编译器变换成二进制形式的应用程序hello.class,以适用于计算机的Java虚拟机执行.包括源代
您可能关注的文档
- 视听阅读答案.doc
- 课本book2unit4.ppt
- 词汇练习155-163.ppt
- 过去分词做状语的用法.ppt
- 长句阅读1.doc
- 高一英语小测试 (Unit 7-8).doc
- 韩国商务报告.ppt
- 高一英语必修二unit4Usinglanguage.ppt
- 高中英语人教必修2 Unit4 Reading.ppt
- 高二上期中试题1.doc
- 100会计手工操作之成本计算、凭证填制、编制账簿.doc
- 2005年12月英语六级真题(含答案).doc
- China have freedom in undertaking all the import and export activities including international trade.docx
- Computer program.doc
- Econ 114.3 (X02) Assignment 1 (NO ANSWER).doc
- Enhancement of skin permeation of high molecular compounds by a.doc
- IELTS在线-口语话题.docx
- PETS4-10.doc
- 上海2016年考研冲刺班讲义(2015.11)定稿.doc
- 留学360 新托福阅读修辞目的题解析.docx
原创力文档


文档评论(0)