⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 ICE-3.2 一个开源的中间件
💻
字号:
Oracle OCCI demo================This demo shows how to implement an Ice server that uses Oraclethrough its Oracle C++ Call Interface (OCCI) API.It is a fairly simple demo that illustrates how to: - Map relational data to Ice objects, in particular convert between    Ice and OCCI types. - Use an OCCI pool to provide Oracle connections to Ice requests. - Use an Ice servant locator.Building the demo-----------------OCCI is only available for some C++ compilers. Make sure to select a platform and C++ compiler supported by both Ice and OCCI.- Setup an Oracle database with the traditional EMP/DEPT schema.   With Oracle server 10.2, the corresponding SQL script is   $ORACLE_HOME/rdbms/admin/utilsamp.sql.- Ensure that your user (by default, scott) has the CREATE VIEW  privilege.- Create object types and views using the provided createTypes.sql   script. For example:     % sqlplus /nolog     SQL> @createTypes.sql  This script assumes that you can connect to your database with   'scott/tiger@orcl'. If you need another connect-string, edit  createTypes.sql.- Oracle's ott utility needs to connect to the database in order to   generate code from the file 'DbTypes.typ'. The default connect-  string is "scott/tiger@orcl". If this is not appropriate, edit the  corresponding Makefile target, or the Custom build rule for  Visual Studio projects. - Set the environment variable ORACLE_HOME to point to your Oracle  installation home directory.- On Windows with Visual Studio 2005 Project Files, add the   following directories to your Visual C++ environment:   - Include files: $(ORACLE_HOME)\oci\include  - Library files: $(ORACLE_HOME)\oci\lib\msvc\vc8                   $(ORACLE_HOME)\oci\lib\msvc    (make sure to list msvc\vc8 before msvc) - Executable files:     $(ORACLE_HOME)\oci\lib\msvc\vc8;$(ORACLE_HOME)\bin- On Windows with Visual Studio .NET 2003 Project Files, add the   following directories to your Visual C++ environment:  - Include files: $(ORACLE_HOME)\oci\include - Library files: $(ORACLE_HOME)\oci\lib\msvc\vc71                  $(ORACLE_HOME)\oci\lib\msvc - Executable files:     $(ORACLE_HOME)\oci\lib\msvc\vc71;$(ORACLE_HOME)\bin- On Windows, when using nmake Makefiles, please review   Makefile.mak.- Then build as usual.Running the demo----------------- Review the Oracle properties in the config.server file.  You may need to change them to connect to your Oracle instance.- Start the server:  $ server- Start the client in a separate window:  $ client

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -