TechTarget SOA>百科

JavaBeans

英文原文

JavaBea is an object-oriented programming interface from Sun Microsystems that lets you build re-useable applicatio or program building blocks called components that can be deployed in a network on any major operating system platform. Like Java applets, JavaBea components (or /Bea/) can be used to give World Wide Web pages (or other applicatio) interactive capabilities such as computing interest rates or varying page content based on user or browser characteristics.
From a user's point-of-view, a component can be a button that you interact with or a small calculating program that gets initiated when you press the button. From a developer's point-of-view, the button component and the calculator component are created separately and can then be used together or in different combinatio with other components in different applicatio or situatio.
When the components or Bea are in use, the properties of a Bean (for example, the background color of a window) are visible to other Bea and Bea that haven't /met/ before can learn each other's properties dynamically and interact accordingly.
Bea are developed with a Bea Development Kit (BDK) from Sun and can be run on any major operating system platform iide a number of application environments (known as containe), including browse, word processo, and other applicatio.
To build a component with JavaBea, you write language statements using Sun's Java programming language and include JavaBea statements that describe component properties such as user interface characteristics and events that trigger a bean to communicate with other bea in the same container or elsewhere in the network.
Bea also have peistence, which is a mechanism for storing the state of a component in a safe place. This would allow, for example, a component (bean) to /remember/ data that a particular user had already entered in an earlier user session.
JavaBea gives Java applicatio the compound document capability that the OpenDoc and ActiveX interfaces already provide.
Also see Enterprise JavaBea.

有道译文

从Sun Microsystems JavaBea是一种面向对象的编程接口,允许您构建可重用applicatio或程序构建块称为组件,可以部署在一个网络任何主要的操作系统平台。就像Java applet,JavaBea组件(或/ Bea /)可以用来给World Wide Web页面(或其他applicatio)互动功能,如计算利率或不同页面内容根据用户或浏览器特征。
从用户”的观点来看,一个组件是一个按钮,你可以与或一个小计算程序,得到当你按下按钮启动。从开发人员”的观点来看,按钮组件和计算器组件分别创建,然后可以一起使用或在不同的联合与其他组件在不同applicatio或情景。
当组件或Bea正在使用时,一个Bean的属性(例如,窗口的背景颜色)可见其他Bea和Bea天堂”“t /见过/可以相互学习”的动态属性和相应的交互。
Bea开发与Bea开发工具包(BDK)从太阳,可以在任何主要的操作系统平台上运行iide许多应用程序环境(集装箱),包括浏览、词processo,和其他applicatio。
建立一个与JavaBea组件,您编写语言语句使用太阳”“Java编程语言,包括JavaBea语句描述组件属性,如用户界面特点和触发的事件豆交流bea在相同的容器或其他网络。
Bea也peistence,这是一种机制来存储状态的一个组件在一个安全的地方。例如,这将允许一个组件(bean)/记得/特定用户已经输入的数据在一个早期的用户会话。
JavaBea给Java applicatio OpenDoc的复合文档能力和ActiveX接口已经提供。
也看到企业JavaBea。

最近更新时间:2015-11-30 EN

评论
查看更多评论

敬请读者发表评论,本站保留删除与本文无关和不雅评论的权力。