当前位置: 技术问答>java相关
关于javabean的疑惑,请高人指点:
来源: 互联网 发布时间:2015-07-14
本文导语: 我在SUN的网站上看到如下的一段话: Not all useful software modules should be Beans. Beans are best suited to software components intended to be visually manipulated within builder tools. Some functionality, however, is still best prov...
我在SUN的网站上看到如下的一段话:
Not all useful software modules should be Beans. Beans are best suited to software components intended to be visually manipulated within builder tools. Some functionality, however, is still best provided through a programatic (textual) interface, rather than a visual manipulation interface. For example, an SQL, or JDBC API would probably be better suited to packaging through a class library, rather than a Bean.
在软件组件化的今天,难道SUN仍然需要代码级(与COM的2进制相比)的面向对象?
比如,我开发了一个3层结构的B/S软件,其中的逻辑层没有界面,就不适用用JAVABEAN来封装吗?
谢谢!
Not all useful software modules should be Beans. Beans are best suited to software components intended to be visually manipulated within builder tools. Some functionality, however, is still best provided through a programatic (textual) interface, rather than a visual manipulation interface. For example, an SQL, or JDBC API would probably be better suited to packaging through a class library, rather than a Bean.
在软件组件化的今天,难道SUN仍然需要代码级(与COM的2进制相比)的面向对象?
比如,我开发了一个3层结构的B/S软件,其中的逻辑层没有界面,就不适用用JAVABEAN来封装吗?
谢谢!
|
可以这样说