检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李虎[1] LI Hu(The 28th Research Institute of China Electronics Technology Group Corporation,NanJing 210007,China)
机构地区:[1]中国电子科技集团公司第二十八研究所,江苏南京210007
出 处:《电脑知识与技术》2012年第7期4745-4748,共4页Computer Knowledge and Technology
摘 要:设计模式有助于提高软件的可维护性,提高代码复用。单件模式确保类只有一个实例并提供全局访问入口。在信息定制系统中运用单件模式实现JNI调用服务器上的动态库,保证只在首次发送定制请求时进行网络初始化过程,降低了服务器负担,提高了系统的效率。Design pattern is helpful to enhance the maintainability of soft and the reusability of code.Singleton pattern ensure that only one instance of a class is created,provide a global point of access to the object.In the Information Customize System,established JNI call the server Shared Object by singleton pattern,ensure that only initialize the Net Transmission process at the first time to send customize mes sage,thus can reduce server load and enhance system efficiency.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.219.198.219