首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 156 毫秒
1.
抽象工厂模式是当前面向对象编程中经常使用的一种设计模式,它的使用有效地解决了分布式应用程序中的代码复用和系统可扩展问题。文章介绍了抽象工厂模式及其优点,基于抽象工厂模式,给出了.NET多层分布式应用程序的开发实例,并对抽象工厂模式在实例中的应用代码进行了详细分析。  相似文献   

2.
Java语言因其突出的简单性、可移植性、安全性和支持并发机制的程序设计等优良特性,使它成为基于Internet网络应用开发的首选语言。其价值主要体现在强大的开发分布式网络应用的能力上,而RMI则是开发纯Java的网络分布式应用系统的核心解决方案。通过对Java RMI分布式应用程序实例的分析,给出了Java RMI分布式应用程序的实现和运行方法,为Java语言应用开发人员提供参考。  相似文献   

3.
基于.NET构建N层分布式应用   总被引:1,自引:0,他引:1  
由于实现真正的跨平台、跨Internet的分布式应用程序时,传统的开发方式及技术面临了困难,本文通过分析了.NET Framework中分布式处理的技术方法,提出了一种基于.NET的N层分布式应用程序的设计模式及应用实例。  相似文献   

4.
以往的 PowerBuilder 给人们的印象是以数据库开发见长,而 Sybase 新发布 PowerBuilder 7.0测试版将改变它在人们心目中的形象。这一新版本的 PowerBuilder 是Sybase 专为实现网络和分布式应用程序的高效开发而设计的,它进一步完善了网络客户用于快速开发网络应用程序的技术,并提升了 Sybase 开发网络和分布式应用程序的能力。Sybase 已经发布了 PowerBuilder7.0的测试版,同时还发布了大型产品集 Enterprise Application Studio 3.0(  相似文献   

5.
基于J2EE的MVC设计模式的分析与思考   总被引:5,自引:0,他引:5  
MVC设计模式是当今比较流行的设计模式,并广泛应用于企业级项目开发,本文分析讨论面向对象的MVC设计模式,并将MVC设计模式引入J2EE应用程序开发之中。通过对MVC设计模式的研究,分析其基本原理及运行机制,在适当的环境下去实现基于J2EE平台的Web应用程序开发。  相似文献   

6.
结合分布式网络的发展,对分布式应用程序模式及其演变过程进行了介绍和分析,然后以税务征管系统为例,对其采用分布式网络和分布式应用程序的设计思路和发展阶段进行了分析,最后对分布式应用程序模式的发展趋势进行了探讨。  相似文献   

7.
基于MVC设计模式的J2EE分布式应用系统模型JMVC   总被引:11,自引:0,他引:11  
将传统的设计模式——MVC模式引入J2EE分布式应用系统开发中,提出了模型JMVC,并给出了具体的实例。  相似文献   

8.
提高分布式多层应用系统的执行效率   总被引:1,自引:1,他引:1  
李永强  何汉明 《控制工程》2003,10(2):113-115
介绍了多层分布式应用系统的概念,分析了影响多层分布式应用系统效率的关键因素,指出在开发分布式多层应用系统时,为了有效提高多层可用系统的执行效率,应采用最有效率的远程调用和降低网络数据的传递负荷,减少网络的Roundtrip调整应用程序服务器的执行效率,选择合适的通信协议,控制应用程序的线程模型和加强应用程序服务的的容错及平衡负载能力等方法来构建分布式应用系统,实际开发应用表明,结合了该开发方法的分布式应用系统的执行效率在很大程序上得到了提高。  相似文献   

9.
分析了面向Internet的分布式应用设计面临的一些新问题,并以一个具体案例为背景,阐述了如何综合运用Microsoft.Net新技术手段与企业设计模式,建立一套带有多级智能更新特性的N层分布式应用架构的设计实现方法,为原有软件系统的适应性改造提供了行之有效的解决方案。  相似文献   

10.
CORBA/Java在分布式系统中的应用   总被引:2,自引:0,他引:2  
随着分布式对象技术的逐渐成熟,多层分布式应用体系结构得到了越来越多的应用,CORBA与Java的结合是目前开发分布式应用的研究热点。分析了CORBA中接口定义语言的基本原理,结合Java语言开发分布式应用的特点,设计出基于CORBA/Java开发分布式应用程序的模型,并通过一个具体实例给予详细说明。  相似文献   

11.
包子建 《微计算机信息》2007,23(18):219-221
JList控件可以显示一组相似的数据列表,但其显示的数据通常是无序的。本文详细描述了如何设计和实现有序Jlist控件,运用一个简单的应用程序示范了其设计思想。使用装饰器设计模式为已有的ListModel接口提供了更多的功能,这样可以只需对已有的应用程序进行少量的修改,就可以充分获得使用有序列表样式所带来的好处。  相似文献   

12.
提出了在多层体系结构中,通过大量细粒度网络调用从服务器获取数据的性能问题;讲述了在J2EE中怎样使用EJB(Enterprise Java Bean)设计模式中的层间数据传输对象解决此问题,并能获得较好的系统性能;讨论了使用此模式的优势是能很快组织项目团队并使应用具有较高的数据传输性能,同时也指出了使用此模式数据一旦到达客户端,就可能成为过时的数据,需要配合版本号设计模式来解决这个问题。  相似文献   

13.
企业颁式应用业务逻辑层集成技术的研究   总被引:3,自引:0,他引:3  
一、引言分布计算技术正处于飞速发展阶段,根据其研究内容或应用特征的不同,一般可区分为两类主要的应用领域:科学计算和企业计算。面向科学计算的分布计算技术,要求将分布于不同结点、网络和平台的物理资源看作统一的计算资源,通过复杂的通讯、调度和协同机制,形成一台虚拟的超级巨型机或超级计算资源,以  相似文献   

14.
Code mobility is recognized as a promising design technique, able to improve flexibility, adaptability and bandwidth utilization in mobile computing applications. To promote and facilitate its use, researchers argue that code mobility should be made available to programmers in combination with, and not as an alternative to, more traditional programming models. This paper describes the design and implementation of the MobileRMI toolkit which, unlike agent-based systems, enables mobility-based programming within a widely accepted middleware platform, Java Remote Method Invocation (RMI). Our toolkit provides a set of mobility primitives that allow programmers to create, clone and move remote objects across a network. To preserve location transparency we implemented a novel, efficient scheme for automatically updating remote references by exploiting the distributed garbage collector. Programming examples are given and a case study where an adaptive application uses logical mobility to minimize communication over a mobile ad hoc network is presented. Experience from using MobileRMI confirmed the benefit of designing both static and mobile applications within the same programming framework. Copyright © 2005 John Wiley & Sons, Ltd.  相似文献   

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

16.
The popularity of Java and recent advances in compilation and execution technology for Java are making the language one of the preferred ones in the field of high-performance scientific and engineering computing. A distributed Java Virtual Machine supports transparent parallel execution of multi-threaded Java programs on a cluster of computers. It provides an alternative platform for high-performance scientific computations. In this paper, we present the design of a global object space for a distributed JVM. It virtualizes a single Java object heap across machine boundaries to facilitate transparent object accesses. We leverage runtime object connectivity information to detect distributed shared objects (DSOs) that are reachable from threads at different nodes to facilitate efficient memory management in the distributed JVM. Based on the concept of DSO, we propose a framework to characterize object access patterns, along three orthogonal dimensions. With this framework, we are able to effectively calibrate the runtime memory access patterns and dynamically apply optimized cache coherence protocols to minimize consistency maintenance overhead. The optimization devices include an object home migration method that optimizes the single-writer access pattern, synchronized method migration that allows the execution of a synchronized method to take place remotely at the home node of its locked object, and connectivity-based object pushing that uses object connectivity information to optimize the producer–consumer access pattern. Several benchmark applications in scientific computing have been tested on our distributed JVM. We report the performance results and give an in-depth analysis of the effects of the proposed adaptive solutions.  相似文献   

17.
Although collaboration tools have existed for a long time [8], Internet-based multimedia collaboration has recently received a lot of attention mainly due to easy accessibility of the Internet by ordinary users. The Java platform and programming language has also introduced yet another level of easy access: platform-independent computing. As a result, it is very attractive to use Java to design multimedia collaboration systems for the Internet. Today there are many systems, which use Java for multimedia collaboration. However, most of these systems require the shared Java application to be re-written according to the collaboration system's Application Programming Interface (API)—a task which is sometimes difficult or even impossible. In this paper, we describe a practical approach for transparent collaboration with Java. Our approach is transparent in that the Java application can be shared as is with no modifications. The main idea behind our system is that user events occurring through the interactions with the application can be caught, distributed, and reconstructed, hence allowing Java applications to be shared transparently. Our architecture allows us to make the huge installed base of Java applications collaborative, without any modification to their original code. We also prove the feasibility of our architecture by implementation of the JASMINE1 prototype.  相似文献   

18.
本文首先针对企业分布式应用的普遍需求,论述了企业应用的计算结构以及业务逻辑层应用的不同模式,然后通过分析主流中间件产品的结构和功能,基于CORBA分布对象计算技术,给出了相应解决方案。通过重用预开发的对象模板,定制具有不同结构的应用集成框架和公共服务设施,使开发人员能够有效利用CORBA分布计算平台提供的功能,
构造出高质量、结构优良的企业分布式应用。  相似文献   

19.
Java虚拟机的剖析   总被引:2,自引:0,他引:2  
深入理解Java虚拟机的组成部分及内部是怎样运行的,并以例子说明虚拟机中相关的字节码与内部运行过程。  相似文献   

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

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