首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到18条相似文献,搜索用时 109 毫秒
1.
与其他编程语言相比,Java有很多优点,尽管如此。你常常希望在你的代码中访问其他语言写的应用或者程序库.尤其是COM组件。标准Java没有对COM提供支持,但是。你可以对自动化COM组件主要是COM组件的ldispatch接口进行封装,然后通过使用Java本地接口(JNI)采访问COM组件。  相似文献   

2.
向浏览器中添加快捷菜单项,这类对浏览器添加特定的功能的程序一般称为外壳扩展程序(shell extension),它是一个COM对象,在VC++6.0下要编写这样的外壳程序必须对COM和ATL有一个基本的认识。 COM(Component Object Model)被称为组件对象模型。COM通过一定的规范,使得其他程序可以访问它所支持的接口(一个或多个),应用程序通过接口访问COM的内部方法。把访问COM组件的应用程序称为客户程序,提供COM组件供客户程序访问的程序称为服务器程序。客户程序通过类标  相似文献   

3.
基于JNI的COM组件调用   总被引:2,自引:0,他引:2  
刘慧君  王茜 《计算机工程》2004,30(9):101-102,120
介绍了Java语言本地方法.JNI及COM组件技术,并结合课件转换工具的实例讲述了如何在.java中调用COM组件,实现了java与COM技术的结合,有较高的应用价值,但COM技术主要应用于Windows平台,对Java平台的独立性有一定程度的影响。  相似文献   

4.
通过对COM组件思想和软件工程方法的研究,开发一个基于COM组件的指纹识别系统,提高了指纹识别系统在各种开发平台的应用.该课题运用指纹识别技术及COM组件技术,在Java中调用COM组件.实验结果表明,在Java环境下调用指纹识别COM组件是一个可行的应用集成方案,在系统的研发期间,通过应用不断改进和完善系统,增强了系统的功能和应用.同时,实现了Java与COM技术的结合,将指纹识别身份认证系统更广泛地应用在生活中的各个方面,促进电子政务、电子商务等方面的发展,有较高的应用价值.  相似文献   

5.
一、在Java中使用COM对象 利用支持Java/COM集成的Java开发工具VJ,编程者可以在Java源代码中直接引用COM对象。 1.在使用COM对象前,首先必须在Java程序中用import语句输入COM对象的有关类。使用VJ中包含的工具Java Type Library Wizard(或JavaTlb.exe),可以通过搜索COM对象定义的类型库,生成COM的Java接口: ·从VJ的Tools菜单中选取Java Type Library Wizard; ·选择所要使用的COM对象的类型库; ·单击OK按钮。 Wizard在\Java\TrustLib目录下建  相似文献   

6.
基于COM及Java-COM桥的Java与Matlab混合编程   总被引:4,自引:0,他引:4  
夏成锋 《现代计算机》2005,(12):100-102
以实例展示通过Matlab6.5制作、并在Java 2 SDK下通过Java-COM桥调用COM组件的混合编程方法.给出了Matlab生成COM组件、Java通过Java-COM桥来调用生成的COM组件的一般方法;实现Java应用程序与COM组件的数据的传入、传出及函数的调用.  相似文献   

7.
访问Oracle大对象数据的技术及实现   总被引:3,自引:0,他引:3  
主要介绍了在兰州重粒子加速器(HIRFL)Web网络数据库架构下,设计开发存取LOB(大对象)类型数据的COM组件接口,以此详细说明访问Oracle LOB数据的技术和特点。  相似文献   

8.
在Java环境中使用Java-COM桥实现对JMF不支持的媒体文件的控制及一般COM控件的集成;特别地,在GUI环境下实现RealMedia媒体的播放.该接口方法简洁易用,可作为Java应用程序集成COM的通用方式,并可实现COM组件的可视化.  相似文献   

9.
在Java环境中使用Java-COM桥实现对JMF不支持的媒体文件的控制及一般COM控件的集成;特别地,在GUI环境下实现RealMedia媒体的播放。该接口方法简洁易用,可作为Java应用程序集成COM的通用方式,并可实现COM组件的可视化。  相似文献   

10.
问与答     
问:Java Beans组件是什么? 答:Java Beans是一种可重用的软件组件,并可在组件框架中被可视化地操纵。Java Beans组件模型并没有修改Java语言的语法和语义,开发人员在制作一个Java Beans组件时仅需遵循一定的命名和设计规范。同时,Jana Beans组件模型为开发人员提供了一整套APls(Jana Beans包)来对组件进行描述,这是组件和框架互操作的基础,框架可根据组件描述来操作动态加载在框架中的所有组件,如定制组件的属性、调整组件的位置、设计不同组件间的交互、等等。问:Java Beans组件模型可以提供哪些服务? 答:Java Beans可提供的服务总体来说有以下六种: 1.组件接口的公开和发现。这是组件接口的公开机制,通过公开出来的接口,其他组件或框架环境通过方法调用或者事件传递来驱动组件。 2.事件处理:事件处理是组件产生并广播事件的机制,通过这种机制,事件传递到特定组件上,被通知的组件执行相应的事  相似文献   

11.
COM及其应用--面向对象的组件集成技术   总被引:18,自引:0,他引:18  
组件对象模型(COM)技术是Microsoft许多软件的基础,它提供了能跨越编程言、操作系统和网络来访问组件对象的通用途径,使软件以组件方式集成成为可能。本文论述其技术内涵和它在实际中的应用。  相似文献   

12.
The open-source Java software framework JStatCom is presented which supports the development of rich desktop clients for data analysis in a rather general way. The concept is to solve all recurring tasks with the help of reusable components and to enable rapid application development by adopting a standards based approach which is readily supported by existing programming tools. Furthermore, JStatCom allows to call external procedures from within Java that are written in other languages, for example Gauss, Ox or Matlab. This way it is possible to reuse an already existing code base for numerical routines written in domain-specific programming languages and to link them with the Java world. A reference application for JStatCom is the econometric software package JMulTi, which will shortly be introduced.  相似文献   

13.
Sanden  B. 《Computer》2004,37(4):20-27
A thread is a basic unit of program execution that can share a single address space with other threads - that is, they can read and write the same variables and data structures. Originally, only assembly programmers used threads. A few older programming languages such as PL/I supported thread concurrency, but newer languages such as C and C++ use libraries instead. Only recently have programming languages again begun to build in direct support for threads. Java and Ada are examples of industry-strength languages for multithreading. The Java thread model has its roots in traditional concurrent programming. As the "real-time specification for Java" sidebar describes, RTSJ attempts to remove some of the limitations relative to real-time applications - primarily by circumventing garbage collection. But RTSJ does not make the language safer. It retains standard Java's threading pitfalls and is a risky candidate for critical concurrent applications.  相似文献   

14.
Traditional lab automation systems are highly centralized: dispatch and coordination of activities are mediated by a system controller, usually via a single, monolithic control procedure. This approach, while conceptually simple, makes changes to the system difficult; adding or removing instruments and functionality can be a daunting task. In addition, most automated systems are tied to particular development languages and protocols, making operation in heterogeneous environments (i.e., the real world) problematic, since instrument software comes in many different implementations.We present a peer-to-peer architecture for lab automation, using an XML-based communication protocol. The architecture consists of peer instrument servers, an XML communication layer, and an open control center. Each instrument peer can control, be controlled by, and communicate information to other instrument peers to fulfill the automation task. Our protocol is based on XML-RPC, a lightweight communication standard built atop HTTP.This provides an open and flexible means of peer-to-peer interfacing. The control center serves as a convenient, Web-based interface to manage the instruments. The automated procedure can be distributed across all available instrument peers (each instrument assigned a set of responsibilities); the controller implements a limited set of high-level instructions. The software components included in our prototype system are implemented in various programming languages, including Java, C/C++, Visual Basic, and LabVIEW. Our approach facilitates rapid development of laboratory automation systems.  相似文献   

15.
集成Delphi和SuperMap Objects的系统设计方法   总被引:2,自引:0,他引:2  
SuperMap Objects是全组件式GIS开发工具,它的开放性使用户能够比较容易地扩展它的功能。目前,基于组件式GIS已经成为地理信息系统软件发展的新潮流。Delphi是一个面向对象、功能丰富的可视化开发工具,在目前流行的众多开发工具中,其功能较为强大。文中结合SuperMap Objects和GIS的特点,给出了采用Delphi开发工具和SuperMap Objects控件技术来构建组件GIS的集成开发方法,探讨了在Delphi环境中地理信息系统组件的嵌入、地理信息系统基本功能如图形的放大、漫游以及信息查询等问题,进而为开发基于Delphi环境的组件式地理信息系统提供一点参考。  相似文献   

16.
利用Java开发COM组件的方法与实现   总被引:3,自引:1,他引:2  
介绍了利用Java开发COM组件的方法和步骤。使用这种开发方法不但大大简化了分布式应用程序的开发过程,而且可以最有效分布应用程序,使其效率达到最佳。  相似文献   

17.
解析Java中的封装性   总被引:1,自引:0,他引:1  
OO思想是整个应用型软件开发的核心,不管使用.NET还是Java,只有掌握了OO思想,才能快速有效地为客户提供企业级的解决方案,而封装性又是OO思想中不可缺少的基础组成部分,所以在使用Java时,理解和掌握封装性是非常重要的,对以后学习和掌握其他面向对象的编程技术也尤为重要。  相似文献   

18.
分布对象平台Java RMI和CORBA的对比研究   总被引:1,自引:0,他引:1  
文章对开发基于Java的分布式应用程序的两种分布对象技术—————JavaRMI和CORBA的功能和效率进行了对比和分析。CORBA具有良好的语言中立性,定义有功能较强的各种服务,适合于规模较大,需要与其他语言集成的系统,它的缺点是开发过程较为繁琐,Java的一些先进特性无法在远程调用的界面上使用。RMI与Java语言结合得十分紧密,开发方便,支持对象传值,但它不太适合需要异种语言集成的场合。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号