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.
標簽: connection pool applications program
上傳時間: 2013-12-25
上傳用戶:playboys0
This application note describes a method for developing block-oriented I/O device drivers for applications that use the DSP/BIOS real-time kernel and includes examples that run with Code Composer Studio v2.1 on the Texas Instruments TMS320C5402 and TMS320C6711 DSP Starter Kits (DSKs). The device driver model presented here has now been superceded with an updated version that supports not only block oriented devices, but also devices such as UARTs, PCI and USB buses and Multimedia cards. Documentation on the updated driver model as well as example drivers and source code can be found in the Device Driver Developer s Kit product now available for download from the TI Developer s Village.
標簽: block-oriented application developing describes
上傳時間: 2015-07-07
上傳用戶:kelimu
Application & Integration Services are at the heart of any Service Oriented Architecture (SOA). Sun Java System Application Server and integration services provide a highly scalable and reliable platform for the standards-based deployment of Java applications and web services. Sun s offerings may be used by small organizations and large enterprises that require a services-based foundation to rapidly unlock the business value of their IT investment.
標簽: Architecture Application Integration Services
上傳時間: 2014-12-20
上傳用戶:lanwei
Internet Task Management System可以讓用戶分配和管理一個組織內的任務。ITMS可以發送任務管理通知,并通過電子郵件提醒。它是用PHP, ITMS 實現的,支持MySQL, Oracle, LDAP, 和 SSL
標簽: Management Internet System ITMS
上傳時間: 2015-08-20
上傳用戶:lixinxiang
Object Oriented Programming In ANSI C
標簽: Programming Oriented Object ANSI
上傳時間: 2015-08-20
上傳用戶:獨孤求源
Object-oriented.Programming.with.ANSI-C很經典哦
標簽: Object-oriented Programming ANSI-C with
上傳時間: 2015-08-28
上傳用戶:一諾88
本書以4個面向來表現C++的本質:procedural(程序性的)、generic(泛型的)、object-based(個別對象的)、object-oriented(面向對象的)。本書的組織圍繞著一系列逐漸繁復的程序問題,以及用以解決這些問題的語言特性。循此方式,你不只學到C++的函數和結構,也會學習到它們的設計目的和基本原理。 你可以由本書發現以下關鍵主題: ● Generic (泛型)編程風格和Standard Template Library(STL) ● Object-based(個別對象)編程風格和class的設計 ● Object-oriented(面向對象)編程風格和classes階層體系的設計 ● Function template 和class template 的設計和運用 ● Exception handling(異常處理)與執行期型別鑒定(Run-Time Type Identification)
標簽: object-oriented object-based procedural generic
上傳時間: 2013-12-30
上傳用戶:362279997
In this example, a task created with the configuration tool goes in a loop forever in which it spends parts of the time doing atomic operation
標簽: configuration example created forever
上傳時間: 2015-09-14
上傳用戶:qunquan
Data Structures And Algorithms With Object-Oriented Design Patterns In Python (2003) source code and html file
標簽: Object-Oriented Algorithms Structures Patterns
上傳時間: 2014-01-25
上傳用戶:dbs012280
tServer task executes functions at low priority (254). serverSend funtion is used to send a request to the tServer to execute a function at the tServer s priority. First tServer task executes the i() system call to print the summary of tShell task. Next an address exception is caused in tServer task by trying to execute a funtion at non-aligned word boundry. As a result SIGBUS signal is raised automatically. Signals (setjmp() and longjmp()) are used to allow the tServer task to recover gracefully from an address error exception. For more information about signals, please refer to sigLib manual pages.
標簽: serverSend functions executes priority
上傳時間: 2015-09-21
上傳用戶:tianjinfan