Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
標(biāo)簽: connection pool applications program
上傳時(shí)間: 2013-12-25
上傳用戶:playboys0
vxworks下的實(shí)現(xiàn)網(wǎng)絡(luò)TCPIP協(xié)議的原代碼,可以直接Copy到bsp下使用!
標(biāo)簽: vxworks TCPIP 下的實(shí)現(xiàn) 網(wǎng)絡(luò)
上傳時(shí)間: 2014-01-27
上傳用戶:cx111111
一種基于二維鏈表的稀疏矩陣模半板類設(shè)計(jì) A template Class of sparse matrix. Key technology: bin,2-m linked matrix. constructors: 1.normal constuctor 2.Copy constuctor. 3.assignment constructor. Basic operator: 1. addition(sub) of two matrix 2. inverse of a matrix. 3. multiply of two matrix. etc.
標(biāo)簽: matrix technology template linked
上傳時(shí)間: 2013-12-13
上傳用戶:lwwhust
Open Source for the Enterprise Open source software is changing the world of Information Technology. But making it work for your company is far more complicated than simply installing a Copy of Linux. If you are serious about using open source to cut costs, accelerate development, and reduce vendor lock-in, you must institutionalize skills and create new ways of working. You must understand how open source is different from commercial software and what responsibilities and risks it brings. Open Source for the Enterprise is a sober guide to putting open source to work in the modern IT department.
標(biāo)簽: Open Information Enterprise the
上傳時(shí)間: 2013-12-27
上傳用戶:R50974
header file of the specific codes for LPC2100 target boards ** Every project should include a Copy of this file, user may modify it as ne
標(biāo)簽: specific include project header
上傳時(shí)間: 2014-01-14
上傳用戶:奇奇奔奔
OLE Programmer s Reference Information in this online help system is subject to change without notice and does not represent a commitment on the part of Microsoft Corporation. The software and/or files described in this online help system are furnished under a license agreement or nondisclosure agreement. The software and/or files may be used or copied only in accordance with the terms of the agreement. The purchaser may make one Copy of the software for backup purposes. No part of this online help system may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photoCopying, recording, or information and retrieval systems, for any purpose other than the purchaser s personal use, without the written permission of Microsoft Corporation.
標(biāo)簽: Information Programmer Reference subject
上傳時(shí)間: 2015-08-04
上傳用戶:hxy200501
《JSP留言薄》使用MySQL數(shù)據(jù)庫,請(qǐng)你先在你的數(shù)據(jù)庫服務(wù)器上建立一個(gè)數(shù)據(jù)庫,然后將sql目錄下的ddl.sql文件導(dǎo)入數(shù)據(jù)庫,該文件將創(chuàng)建兩個(gè)數(shù)據(jù)表td_guestbook和td_guestbook_admin,并在td_guestbook_admin數(shù)據(jù)表中插入一條數(shù)據(jù),該數(shù)據(jù)是有關(guān)留言薄設(shè)置和管理設(shè)置的。 請(qǐng)你將td文件夾Copy到WEB-INF\classes目錄下,該文件夾中包含了留言薄需要使用的JavaBeans文件。 ************************************************ 注:當(dāng)你成功導(dǎo)入ddl.sql文件后,請(qǐng)對(duì)config.jsp文件進(jìn)行設(shè)置,這里記錄的是你的數(shù)據(jù)庫連接信息。
標(biāo)簽: MySQL JSP 數(shù)據(jù)庫
上傳時(shí)間: 2015-08-07
上傳用戶:gxmm
This project should serve as an "easy start" with uC/FS. All pathes are relative to the project file. You should therefore be able to Copy the entire directory (including all ubdirectories) to any location on your harddrive.
標(biāo)簽: project relative pathes should
上傳時(shí)間: 2015-08-13
上傳用戶:開懷常笑
驅(qū)動(dòng)開發(fā)向?qū)? I came across an article QuickSYS which implements an NT driver framework. That article demonstrates a MFC application that gets a project name as a parameter and creates Visual C++ workspace with NT driver framework. I decided to Copy the NT driver framework source and to put it in the Visual Studio project wizard as seen above. This is simpler rather than running an external executable application that generates the code for you.
標(biāo)簽: article implements framework QuickSYS
上傳時(shí)間: 2014-01-07
上傳用戶:2467478207
簡介:本軟件為Javascript共享教學(xué)軟件,包含各種Javascript源碼及演示,力求豐富易懂。 本軟件1.0版本為免費(fèi)版本,你可以免費(fèi)使用,自由傳播,但請(qǐng)保留其版權(quán)。 本軟件制作格式:CHM,支持全文檢索,可以運(yùn)行在所有windows操作系統(tǒng)。 注意:由于源代碼在制作時(shí)已經(jīng)轉(zhuǎn)化為Html格式,所以如要Copy使用,請(qǐng)先復(fù)制到文本文件然后才能使用。有部分網(wǎng)址連接只供演示,并非真實(shí)存在,所以不能打開屬于正常情況,非軟件錯(cuò)誤。
標(biāo)簽: Javascript 軟件 教學(xué)軟件
上傳時(shí)間: 2013-12-01
上傳用戶:fandeshun
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1