Home Database Mysql Tutorial 如何为DB2桌面应用选择合适的集成方式

如何为DB2桌面应用选择合适的集成方式

Jun 07, 2016 pm 05:53 PM
db2 desktop application

IBM DB2 Express-C Edition 是免费社区版。它提供了很好的可扩展性和其他 DB2 版本相同的核心功能。DB2 Express-C 被越来越多的 C/S 结构的 Window 桌面应用解决方案所选用,例如 FA, CRM, Workflow 等。

本文主要介绍了不同 Window 桌面客户端访问 DB2 Express-C 的方式,主要包括:Java 平台的 JDBC 方式;.NET 平台的 ADO.NET 方式;以及 Window 操作系统当中的 ODBC 和 OLE DB 的方式。本文的目标读者对象:DB2 开发人员 , Window 桌面应用开发人员 , .Net 开发人员。

IBM DB2 Express-C Edition 免费社区版和其它 DB2 商业版本共享同样的代码,但软件 License 许可确是免费的。

DB2 Express-C 提供了很好的可扩展性和其他 DB2 版本相同的核心功能。

虽然免费,却没有对数据库大小的任何限制。因此 DB2 Express-C 被越来越多的 C/S 结构的 Window 桌面应用解决方案所选用,例如 FA, CRM, Workflow 等方面的 Window 专用客户端都选用 DB2 Express-C 作为后台数据存储的 Database。

本文主要介绍了不同 Window 桌面客户端访问 DB2 Express-C 数据库的方式,主要包括:

  • 使用 Java 开发的 AWT/Swing/SWT 客户端如何使用 JDBC 访问 DB2 Express-C;
  • 使用 .Net/C# Form 开发的桌面客户端如何使用 ADO.NET 访问 DB2 Express-C;
  • 使用微软的 MFC/COM/ATL 等技术开发的程序如何使用 OLE DB 和 ODBC 来访问 DB2 Express-C;
  • 另外还介绍了混合数据库数据查询的一个例子,在微软的 SQL Server 数据库中如何通过 OLE DB 接口来直接查询 DB2 Express-C 当中的数据。

IBM DB2 Express-C 简介和其他类似产品的比较

DB2 Express-C 简介

DB2 Express-C 是 IBM 开发的一个免费社区版的数据库。DB2 Express-C 和 IBM DB2 其他版本一样,具有相同完善的功能,突出的性能和可靠的稳定性。DB2 Express-C 支持多种平台和操作系统;非常易于部署,使用和快速开发。DB2 Express-C 可以免费从 IBM 公司网站获取,当前的最新版本是 9.7.5。DB2 Express-C 可以被第三方的软件开发商嵌入或者包含在自己所提供的解决方案当中,而不用另外付费。因此越来越多的 ISV( 独立软件提供商 ) 和业务伙伴在给客户提供的解决方案当中首选 DB2 Express-C 作为数据库。

DB2 Express-C 虽然免费但仅限制了数据库可以使用的最大处理器个数和最多内存数量。

DB2 Express-C 资源限制:

  • 处理器:2 Cores
  • 内 存:2 GB

DB2 Express-C 所支持的操作系统:

  • Linux (32bit, 64bit)
  • Windows (32bit, 64bit)
  • Solaris (64-bit Intel)
  • Mac OS X (64-bit Intel)

DB2 Express-C 和 SQL Server Express, Oracle 10g Express 比较

其它一些数据库厂商也提供了一些类似的免费数据库;例如:微软公司提供了 SQL Server Express 版本,Oracle 公司提供了 Oracle Express 版本。

IBM DB2 Express-C 和其他公司的产品相比,最大优势在于没有数据大小的限制,没有连接数量的限制,没有用户的限制;因此,DB2 Express-C 是一个快速可靠可伸缩的数据服务器,是大多中小型公司和高性价比解决方案的最佳选择。

表 1. 不同 Express 版本数据库资源限制的比较

资源限制 DB2 Express-C SQL Server 2008 Express Oracle 11g Express Edition
使用 CPU 限制 2 Cores 1 CPU 1 CPU
使用内存限制 2 GB 1 GB 1 GB
数据库容量限制 没有限制 10 GB 11 GB
32/64 为系统支持 32/64 bit 32/64 bit 32/64 bit

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Develop powerful desktop applications with Golang Develop powerful desktop applications with Golang Mar 19, 2024 pm 05:45 PM

Use Golang to develop powerful desktop applications. With the continuous development of the Internet, people have become inseparable from various types of desktop applications. For developers, it is crucial to use efficient programming languages ​​to develop powerful desktop applications. This article will introduce how to use Golang (Go language) to develop powerful desktop applications and provide some specific code examples. Golang is an open source programming language developed by Google. It has the characteristics of simplicity, efficiency, strong concurrency, etc., and is very suitable for

What is the difference between db2 and oracle syntax What is the difference between db2 and oracle syntax Jul 05, 2023 am 10:39 AM

Differences in syntax between db2 and oracle: 1. SQL syntax differences. Although db2 and oracle both use structured query language, they have some differences in syntax; 2. db2 and oracle have different data types; 3. Foreign key constraint definition, db2 can be defined when creating the table or added after using the "ALTER TABLE" statement. Oracle needs to be defined together when creating the table; 4. There are also some differences in the syntax of db2 and oracle stored procedures and functions.

A guide to developing desktop applications using Vue.js and C++ A guide to developing desktop applications using Vue.js and C++ Jul 29, 2023 am 09:59 AM

Guide to developing desktop applications using Vue.js and C++ language. With the development of the Internet, front-end technology is constantly updated and improved. As a lightweight, efficient, and easy-to-use front-end framework, Vue.js has great advantages in developing web applications. However, in some specific scenarios, we may need to develop more complex desktop applications, in which case we need to combine C++ language to implement some underlying functions. This article will introduce how to use Vue.js and C++ language to develop desktop applications, and provide

Combine NativePHP and Laravel to develop innovative desktop applications Combine NativePHP and Laravel to develop innovative desktop applications Dec 20, 2023 pm 03:06 PM

Use NativePHP to integrate with Laravel to develop innovative desktop applications. In the field of modern software development, Laravel is a very popular PHP framework that has received widespread attention for its easy-to-use, scalable and efficient features. However, in some specific projects, we may need to combine Laravel with NativePHP to implement innovative desktop applications. In this article, we will explore how to use NativePHP to integrate with Laravel

Golang desktop application development guide Golang desktop application development guide Mar 18, 2024 am 09:45 AM

Golang Desktop Application Development Guide With the popularity of the Internet and the advent of the digital age, desktop applications are playing an increasingly important role in our lives and work. As a powerful programming language, Golang (Go language) is gradually emerging in the field of desktop application development. This article will introduce you to how to use Golang to develop desktop applications and provide specific code examples to help you get started quickly and master development skills. First, we need to understand some basic concepts and tools. In Gol

Golang's approach to implementing cross-platform desktop applications Golang's approach to implementing cross-platform desktop applications Mar 20, 2024 am 11:39 AM

Golang (also known as Go language) is an open source programming language developed by Google. It is increasingly popular among developers through its simplicity, efficiency and powerful features. When implementing cross-platform desktop applications, Golang also provides some powerful tools and libraries to make development easier and more efficient. This article will introduce how to use Golang to implement cross-platform desktop applications and provide specific code examples for reference. 1. Use fyne library to create cross-platform GUI applications in Golang, one

The pros and cons of developing desktop applications in Golang The pros and cons of developing desktop applications in Golang Apr 08, 2024 pm 03:42 PM

The advantages of using Go language in cross-platform desktop development include: cross-platform, efficiency, concurrency, and powerful standard library. The disadvantages are: GUI limitations, weak native IDE support, and high resource consumption. If you consider developing a cross-platform text editor, you can use the Go standard library to handle file I/O and text formatting, and use third-party libraries to create cross-platform interfaces.

What is the best way to develop desktop applications using Python? What is the best way to develop desktop applications using Python? Sep 11, 2023 am 11:05 AM

Python is a versatile programming language that can be used for a variety of tasks, including web development, data analysis, and machine learning. One of its biggest advantages is that it can also be used to create desktop applications. In this article, we’ll dive into the best practices for developing desktop applications using Python. When developing desktop applications with Python, the first step is to choose the right framework. There are various options available such as Kivy, Tkinter, PyQt, PyGTK and wxPython. Each framework has its unique features and limitations, so it's important to choose the one that best suits your project needs. The Chinese translation of framework Kivy is: KivyKivy is an open source Python library that can be used to create

See all articles