期刊文献+

用Javabean构建数据过滤的Script代码生成器

Building the generator of Script code to filter data used by Javabean
下载PDF
导出
摘要 针对asp或jsp的客户端数据过滤程序代码由手工编写,编程效率低的缺点,提出了用脚本代码生成器实现自动生成数据过滤代码的方法。生成器的主要组件是Javabean,它可以连接到不同的数据库并操作数据表,在提取数据表的字段结构信息后,由用户选择需要过滤的字段,生成器能根据数据表的结构参数匹配bean中的相关过滤函数,最后生成具有数据过滤能力的客户端脚本代码文档。将生成器用于Web程序的开发,不仅能减少开发人员在编写、测试和修改代码工作量,而且能及时跟踪数据库(表)设计的改变,脚本代码生成高效、自动、准确。 Referring to the disadvantages of client data filter code programs are written by hand-made and efficiency is lower in asp orjsp documents, this article put forward the viewpoint that using script code generator to realize the automatically generating of filter code. In the generator, Javabean is main component, one database chosen from a variety of database can be connected and their table also can be manipulating, after getting the structure information about table's fields, the fields which need data filter are chose by user, in the generator, according structure parameters of table to match relevance filter function, at last, the documents used client is generated which has the ability filtering data. Using the generator in developing Web application, it can relieves the heavy of developers in programming, testing, fixing the code as well as adept the data filter code with the changes of tables of databases, this method has the peculiarities of efficiency, automation and accuracy.
作者 林达德
出处 《宁波职业技术学院学报》 2007年第5期33-36,共4页 Journal of Ningbo Polytechnic
关键词 WEB SCRIP 数据过滤 JAVABEAN Web Script filtering data Javabean
  • 相关文献

参考文献1

二级参考文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部