首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 93 毫秒
1.
陈隽 《计算机安全》2009,(12):67-69
Java技术之所以适用于网络,就是因为它有完备的、涉及到其结构中的安全模式,但是在实际运行过程中,还需要设计者利用一些技巧来完善它的安全性。对Java对象动态迁移中存在的安全问题进行了分析,提出利用RSA加密与数字签名算法保护Java对象中秘密信息的方案,有效地解决了密钥分配问题,实现了Java对象的安全迁移,确保了Java对象迁移过程中秘密信息的隐秘性、完整性和可认证性。  相似文献   

2.
Java对象的迁移技术,结合Java对象序列化和Java的服务器端Servlet技术,实现了一个Servlet对象网关,通过该网关,可以访问远程主机及其不同类型的数据库。  相似文献   

3.
Java对象的迁移技术,结合Java对象序列化和Java的服务器端Servlet技术,实现了一个Servlet对象网关,通过该网关,可以访问远程主机及其不同类型的数据库.  相似文献   

4.
基于消息传递的移动EJB对象强迁移构件模型的研究   总被引:2,自引:0,他引:2  
移动计算环境下的Agent对象迁移包括强迁移和弱迁移技术。在特定的多环境中,一个重要的问题是合理地为移动Agent对象实现异地迁移计算提供有效的管理和支持,目前使用的支持系统有基于传统解释语言的、基于CORBA平台的和基于Java语言的。在移动Agent对象强迁移技术的理论基础上,提出了一种基于消息传递的移动EJB对象强迁移构件模型,分析与改进了适合强迁移对象进程消息发送的同步消息传递算法,使得该构件模型的消息传递具有很好的同步机制,从而提供了一种良好的移动Agent对象迁移构件化管理支持方式。  相似文献   

5.
对象信息维持又称对象持久化、永久化.Java是可移植的代码,XML是可移植的数据,本文详细介绍和探讨了使用Java-XML来解决对象信息维持问题的技术,并在一个小工具的开发中通过JDOM这个第三方的Java API包得到了真实具体的实现.  相似文献   

6.
Java本地调用接口(Java native interface,JNI)机制被广泛应用在移动应用开发领域.JNI机制中JNI接口函数被用于在本地代码中解析和转换Java端的数据类型和Java对象.然而,JNI接口函数的调用开销影响了程序运行的效率,其复杂的使用规范也是集成与复用第三方本地组件时的主要障碍.提出一种基于跨语言对象迁移策略的复合本地对象模型,能够实现有效减少本地调用程序中的JNI接口函数调用开销和有效利用已有本地组件的目的.详细讨论了复合本地对象的语言特性及其具体实现,并给出跨语言对象迁移规范以及开发实例.在Dalvik虚拟机中实现了该模型,通过实验证明该策略和模型能够有效改善JNI机制的不足.  相似文献   

7.
肖清  蒋慕蓉  张晓伟  李民  冯勇  周亚 《计算机应用》2007,27(Z2):211-213
针对进程迁移实现过程中涉及到的信息,通过调用Java JDI接口,从Java虚拟机中获取进程执行状态参数,并按策略转发给有空闲计算资源的节点.该技术实现具有平台无关性,提高了分布式系统的效率,通用性强;并且可以保证本地执行环境不受侵害,防止恶意代码窃取本地信息.  相似文献   

8.
在介绍Java元数据机制的基础上,描述基于Java元数据功能的数据库浏览器的实现方法。Java语言提供了反射API,用于动态获取对象式类的结构信息,Java Annotation被用来在Java程序中描述元数据。  相似文献   

9.
针对基于神经风格迁移的信息隐藏算法没有解决彩色图像的嵌入这一问题,提出了一种基于风格迁移过程的彩色图像信息隐藏算法。首先,利用卷积神经网络(CNN)特征提取的优势,分别提取载体图像的语义信息、风格图像的风格信息以及彩色图像的特征信息;然后,将图像的语义内容和不同风格融合在一起;最后,在通过解码器对载体图像进行风格迁移的同时完成彩色图像的嵌入。实验结果表明,所提算法可以将秘密图像有效融入到生成的风格化图像中,使得秘密信息嵌入行为与风格变换的行为不可区分,在保持算法安全性的前提下,所提算法的隐藏容量提高到24 bpp,峰值信噪比(PSNR)和结构相似性(SSIM)的平均值分别达到了25.29 dB和0.85,有效解决了彩色图像的嵌入问题。  相似文献   

10.
描述了一种在集群中异构节点之间的应用程序进行动态结合的中间件.它通过将应用对象平均分配到系统中节点来均衡集群中的负载.同时描述了促进对象迁移与决策组成的该中间件的体系结构,以及将一个对象从一个节点迁移到另一个节点的通信协议.最后介绍了用Java和Jini实现该中间件的技术.  相似文献   

11.
J0sML--一个用于实现Java对象序列化的XML模型   总被引:5,自引:0,他引:5  
在介绍Java对象序列化的概念及用XML实现序列化的工作过程的基础上,提出了一个实现Java对象序列化的XML模型JosML。  相似文献   

12.
杨赭  杜军平  尹怡欣 《计算机工程》2004,30(19):78-79,133
任务移动Agent(TMA)是移动Agent(MA)的特例。该文在阐述Java对象持续性和串行化概念以及RMI技术的基础上,定义了TMA的结构,完成了TMA对象状态捕获、对象传输的Java实现。最后给出了一个TMA的具体应用实例框架。  相似文献   

13.
构建了一个面向互联网计算资源共享的并行程序设计环境IPPE(internet-based parallel programming environment).该环境使用Java语言开发,通过利用Java运行系统与Java并行通信类库,在IPPE环境下可以书写具有并行处理能力的Java应用程序.IPPE具有平台独立性、容易使用、负载均衡性、容错性等特点.IPPE环境的平台独立性与易用性得益于其基于Java的字节码技术与对象序列化技术,IPPE的负载均衡性得益于针对任务的自适应并行调度算法及子任务级的容错策略.通过运行两个典型的BanchMark并行程序,表明了IPPE环境的高效性与稳定性.  相似文献   

14.
该文首先介绍了非可变类的概念和优点,然后,依据《Effective Java》提出的非可变类要遵循的五个规则,结合保护性拷贝、对象序列化和类集等技术,重点讨论了在JAVA环境下实现非可变类的方法。  相似文献   

15.
Today, mobility and persistence are important aspects of distributed computing. They have many fields of use such as load balancing, fault tolerance and dynamic reconfiguration of applications. In this context, Java provides many useful mechanisms for the mobility of code via dynamic class loading, and the mobility or persistence of data via object serialization. However, Java does not provide any mechanism for the mobility/persistence of computation (i.e. threads). We designed and implemented a new mechanism, called Java thread serialization, that is used to build thread mobility or thread persistence. Therefore, a running Java thread can, at an arbitrary state of its execution, migrate to a remote machine where it resumes its execution, or be checkpointed on disk for possible subsequent recovery. With our services, migrating a thread is simply performed by the call of our go primitive, and checkpointing/recovering a thread is performed by the call of our store and load primitives. Several projects have recently addressed the issue of Java thread serialization, e.g. Sumatra, Wasp, JavaGo, Brakes, JavaGoX, Merpati. Some of them have attempted to minimize the overhead incurred by the thread serialization mechanism on thread performance, but none of them has been able to completely avoid this overhead. We propose a generic Java thread serialization mechanism that does not impose any performance overhead on serialized threads. This is achieved thanks to the use of type inference and dynamic de‐optimization techniques. In this paper, we describe the design and implementation details of our thread serialization prototype in Sun Microsystems' JDK. We report on experiments conducted with our prototype, present a comparative performance evaluation of the main thread serialization techniques, and confirm the elimination of the performance overhead with our thread serialization mechanism. Copyright © 2003 John Wiley & Sons, Ltd.  相似文献   

16.
JDO技术研究   总被引:11,自引:1,他引:11  
Java有几种存取数据库的方法:对象序列化、JDBC、面向对象映射工具、对象数据库、实体EJB,但每一种存储方案都存在一定的限制,为了解决这些限制,简单、透明、自动地实现O/R(对象/关系)的映射,SUN提出了JDO规范——数据存取的一种新技术。文中介绍JDO技术的体系结构及其关键技术,比较分析JDO技术与JDBC、EJB技术的差异,论述JDO规范采用透明的中间件存储技术减少数据库应用,尤其是WEB方式数据库应用开发的复杂性及提高开发和维护的效率,举例说明采用JDO技术开发基于WEB方式的数据库应用的基本编程步骤,并分析了目前JDO规范1.0的缺陷。  相似文献   

17.
在实际应用中,大型软件往往需要不断地改进,系统中的对象也处于不断演化的过程中,这可能会引起系统中各个部分之间的不兼容性问题。该文主要讨论了如何利用Java中的版本标识技术来解决对象演化中的兼容性问题,并把该技术应用于Java的对象串行化过程,使得不同的对象之间不会出现不兼容的关系,保证兼容的对象能利用串行化机制共享信息。  相似文献   

18.
Java中的持久性存储技术——JDBC和JDO   总被引:1,自引:0,他引:1  
冯战  郝克刚  葛玮 《微机发展》2006,16(9):46-49
在实际的企业应用程序中,开发人员可以通过多种方式来实现数据的持久化存储。例如,使用Java序列化并存储整个对象的二进制表示;较通用的企业方案是通过EJB来使用应用程序服务器的工具;或者使用JDBC存储在数据库中,还有就是通过JDO。文中主要介绍了JDBC和JDO技术,并把JDBC和JDO作了比较,讨论了各自的特性和不同点,并突出了常见的误解。最后得出一般性的结论:它们是互补的API,每个都为各自的目的而很好地服务。  相似文献   

19.
Distributed applications provide numerous advantages related to software performance, reliability, interoperability, and extensibility. This paper focuses on distributed Java programs built with the help of the remote method invocation (RMI) mechanism. We consider points-to analysis for such applications. Points-to analysis determines the objects pointed to by a reference variable or a reference object field. Such information plays a fundamental role as a prerequisite for many other static analyses. We present the first theoretical definition of points-to analysis for RMI-based Java applications, and we present an algorithm for implementing a flow- and context-insensitive points-to analysis for such applications. We also discuss the use of points-to information for corrupting call graph information, for understanding data dependencies due to remote memory locations, and for identifying opportunities for improving the performance of object serialization at remote calls. The work described in this paper solves one key problem for static analysis of RMI programs and provides a starting point for future work on improving the understanding, testing, verification, and performance of RMI-based software  相似文献   

20.
Java-enabled wireless devices are preferred for various reasons. For example, users can dynamically download Java applications on demand. The dynamic download capability supports extensibility of the mobile client features and centralizes application maintenance at the server. Also, it enables service providers to customize features for the clients. In this work, we extend this client-server collaboration further by offloading some of the computations (i.e., method execution and dynamic compilation) normally performed by the mobile client to the resource-rich server in order to conserve energy consumed by the client in a wireless Java environment. In the proposed framework, the object serialization feature of Java is used to allow offloading of both method execution and bytecode-to-native code compilation to the server when executing a Java application. Our framework takes into account communication, computation, and compilation energies to decide where to compile and execute a method (locally or remotely), and how to execute it (using interpretation or just-in-time compilation with different levels of optimizations). As both computation and communication energies vary based on external conditions (such as the wireless channel state and user supplied inputs), our decision must be done dynamically when a method is invoked. Our experiments, using a set of Java applications executed on a simulation framework, reveal that the proposed techniques are very effective in conserving the energy of the mobile client.  相似文献   

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

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