找回密码
 立即注册
JavaBeanJava属性必要 | Jsp/Servlet 2022-10-19 86 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
JavaBean是一个遵从特定写法的Java类,它一般具有如下特点:这个Java类有必要具有一个无参的框架函数属性有必要私有化。私有化的属性有必要通过public类型的方法露出给其它程序,而且方法的命名也有必要恪守一定的命名标准。虽然Sun企业在定义JavaBean标准时,许可Java开发人员把JavaBean设计得可以像Swing组件相同功能强大,但在实践的J2EE开发中,一般只使用到以上JavaBean最基本的特性。JavaBean在J2EE开发中,一般关于封装数据,关于遵从以上写法的JavaBean组件,其它程序可以通过反射技术实例化JavaBean对象,而且通过反射那些恪守命名标准的方法,然后获悉JavaBean的属性,进而调用其属性保留数据。有解决不了的,来吾爱开源看看,一定会有你需要的资料或软件,教程,补丁,源码,等

(JavaBean is a Java class that follows a specific writing method. It generally has the following characteristics: this Java class needs to have a framework function property without parameters and needs to be privatized. Privatized properties need to be exposed to other programs through public type methods, and the naming of methods also needs to adhere to certain naming standards. Although Sun enterprises allow Java developers to design JavaBeans as powerful as Swing components when defining JavaBean standards, they generally only use the most basic features of JavaBeans mentioned above in practical J2EE development. In J2EE development, JavaBeans are generally about encapsulating data. For JavaBean components that follow the above writing method, other programs can instantiate JavaBean objects through reflection technology, and reflect those methods that adhere to naming standards, then learn about JavaBean properties, and then call their properties to retain data. If there is something that can't be solved, please come to our Love Open Source to have a look. There must be materials or software, tutorials, patches, source code, etc. you need)

[下载]16402986661.rar




上一篇:java开发工具.ppt
下一篇:Jdbc事务控制管理.ppt