节点文献
Facade模式在JDBC编程中的应用
Application of facade pattern in JDBC programming
【摘要】 针对实际开发中子系统日益增长的复杂度,以及客户端与子系统间耦合度过高的问题。提出了采用设计模式的思想来解决这个问题,并主要介绍了其中的Facade设计模式,以及它在Java数据库连接应用程序接口(JDBCAPI)编程中的应用。通过采用设计模式,可以有效降低系统设计的复杂度,在一定程度上简化了用户接口,使系统结构更加简明、清晰、易于扩展,充分显示了在实际应用中采用设计模式的优越性。
【Abstract】 It is to the question,that the complexity of sub-system is increasing,and the coupling degree between the client and the sub-system is too high.design patterns’ idea about solving the question was discussed.One pattern of them--facade pattern and its applied into java database connection application programming interface(JDBC API) programming were introduced.By using design patterns,the complexity of system design was reduced and the user interface was predigested in a certain extent,which made the system structure more clear、sharp and adapted extension.The superiority sufficiency is revealed that the design patterns is introduced in the practice ap-plications.
【Key words】 design patterns; facade pattern; JDBC; UML ’s class diagram; SQL;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2006年01期
- 【分类号】TP311.13
- 【被引频次】18
- 【下载频次】152