摘要
针对实际开发中子系统日益增长的复杂度,以及客户端与子系统间耦合度过高的问题。提出了采用设计模式的思想来解决这个问题,并主要介绍了其中的Facade设计模式,以及它在Java数据库连接应用程序接口(JDBCAPI)编程中的应用。通过采用设计模式,可以有效降低系统设计的复杂度,在一定程度上简化了用户接口,使系统结构更加简明、清晰、易于扩展,充分显示了在实际应用中采用设计模式的优越性。
It is to the question, that the complexity of sub-system is increasing, and the coupling degree between the client and the subsystem 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 applications.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第1期59-61,69,共4页
Computer Engineering and Design
基金
江苏省信息化重点基金项目(1633000004)