Method and apparatus for partitioning of managed state for a Java based application
    1.
    发明授权
    Method and apparatus for partitioning of managed state for a Java based application 有权
    用于为基于Java的应用程序分配管理状态的方法和装置

    公开(公告)号:US07246345B1

    公开(公告)日:2007-07-17

    申请号:US09825249

    申请日:2001-04-02

    IPC分类号: G06F9/44 G06F17/30

    CPC分类号: G06F9/465 G06F9/4493

    摘要: A method is disclosed for partitioning a managed state for a Java based application. The application developer is allowed to associate individual entity beans with a particular state management type. Then, during execution, a plurality of state objects are provided, where each state object stores a state of a corresponding entity bean object within the memory address space of a Java server process. Further, each state object is associated with the state management type of the corresponding entity bean object. In this manner, state management is provided for each entity bean object based on the associated state management type using a corresponding state object. The state management type can be a memory replicated state management type, a disk replicated state management type, a non-replicated state manage type.

    摘要翻译: 公开了一种用于为基于Java的应用程序划分管理状态的方法。 允许应用程序开发人员将各实体bean与特定的状态管理类型相关联。 然后,在执行期间,提供多个状态对象,其中每个状态对象将对应的实体bean对象的状态存储在Java服务器进程的存储器地址空间内。 此外,每个状态对象与相应的实体bean对象的状态管理类型相关联。 以这种方式,使用相应的状态对象,基于相关联的状态管理类型为每个实体bean对象提供状态管理。 状态管理类型可以是内存复制状态管理类型,磁盘复制状态管理类型,非复制状态管理类型。

    Method and apparatus for migration of managed application state for a Java based application
    3.
    发明授权
    Method and apparatus for migration of managed application state for a Java based application 有权
    用于基于Java的应用程序的托管应用程序状态迁移的方法和装置

    公开(公告)号:US06912569B1

    公开(公告)日:2005-06-28

    申请号:US09846492

    申请日:2001-04-30

    CPC分类号: G06F9/4862 G06F9/4493

    摘要: An invention for migrating managed application state for a Java based application is disclosed. A first Java module is executed on a first server. The first Java module includes a first entity bean and a first state object in communication with the first entity bean. The first state object stores a state of the first entity bean. The first state object is replicated to a state server or stored in-memory and made capable of migration by replicated state manager. Then, a second Java module is started on a second server as part of the module migration by a control module. The second Java module includes a second state object that is populated with state by either recovering from replica of fist state object stored on the state server or by getting transferred state of an in-memory copy of first state object managed on first server.

    摘要翻译: 公开了一种用于迁移用于基于Java的应用程序的托管应用程序状态的发明。 第一个Java模块在第一个服务器上执行。 第一个Java模块包括与第一个实体bean通信的第一个实体bean和第一个状态对象。 第一个状态对象存储第一个实体bean的状态。 第一个状态对象被复制到状态服务器或存储在内存中,使得能够由复制状态管理器进行迁移。 然后,第二个Java模块在第二个服务器上启动,作为模块由控制模块迁移的一部分。 第二Java模块包括通过从存储在状态服务器上的第一状态对象的副本中恢复的状态或者通过获得在第一服务器上管理的第一状态对象的内存中副本的转移状态来填充状态的第二状态对象。

    Method and apparatus for performing online application upgrades in a java platform
    4.
    发明授权
    Method and apparatus for performing online application upgrades in a java platform 有权
    用于在Java平台上执行在线应用程序升级的方法和装置

    公开(公告)号:US07370322B1

    公开(公告)日:2008-05-06

    申请号:US09833845

    申请日:2001-04-11

    IPC分类号: G06F9/44 G06F15/16

    CPC分类号: G06F8/65

    摘要: An invention is disclosed for performing online upgrades using a control module, executed as part of an application, that includes application-specific strategies for the application, yet can be coded using the JAVA programming language. An application is executed that includes an original service module and an original control module. The original control module includes application-specific policies for the application. To upgrade the application, an upgraded control module is generated. Then, the upgraded control module is used to create an upgraded service module. Both the upgraded control module and the upgraded service module can be generated using class files for the original modules, which are loaded from a system repository. In this manner, the original control module and the original service module are upgraded.

    摘要翻译: 公开了一种用于使用作为应用的一部分执行的控制模块执行在线升级的发明,其包括针对应用的应用特定策略,但是可以使用JAVA编程语言进行编码。 执行包括原始服务模块和原始控制模块的应用程序。 原始控制模块包括应用程序特定的策略。 要升级应用程序,生成升级后的控制模块。 然后,升级的控制模块用于创建升级后的服务模块。 可以使用从系统存储库加载的原始模块的类文件来生成升级的控制模块和升级的服务模块。 以这种方式,原始控制模块和原始服务模块升级。

    Method and apparatus for upgrading managed application state for a java based application
    5.
    发明授权
    Method and apparatus for upgrading managed application state for a java based application 有权
    用于升级基于Java的应用程序的托管应用程序状态的方法和装置

    公开(公告)号:US07266816B1

    公开(公告)日:2007-09-04

    申请号:US09846067

    申请日:2001-04-30

    IPC分类号: G06F9/44

    摘要: An invention is disclosed for performing online upgrades of applications, including the managed application state, without disrupting the functionality of the application during the upgrade process. A Java module is executed on a server, where the Java module includes at least one original entity bean and at least one original state object in communication with the original entity bean. The original state object stores a state of the original entity bean. Then, an upgraded state object is generated and the state stored in the original state object is transferred to the upgraded state object. In this manner, state management for the original entity bean can be provided using the upgraded state object.

    摘要翻译: 公开了一种用于在不升级过程中中断应用程序的功能的情况下执行包括被管理应用程序状态的应用程序在线升级的发明。 Java模块在服务器上执行,其中Java模块至少包含一个原始实体bean和至少一个与原始实体bean通信的原始状态对象。 原始状态对象存储原始实体bean的状态。 然后,生成升级的状态对象,将存储在原始状态对象中的状态转移到升级状态对象。 以这种方式,可以使用升级的状态对象来提供原始实体bean的状态管理。

    Method and apparatus for managing replicated and migration capable session state for a Java platform
    6.
    发明授权
    Method and apparatus for managing replicated and migration capable session state for a Java platform 有权
    用于管理Java平台的复制和迁移能力的会话状态的方法和装置

    公开(公告)号:US06877111B2

    公开(公告)日:2005-04-05

    申请号:US09818214

    申请日:2001-03-26

    CPC分类号: G06F9/4862 G06F9/465

    摘要: An invention is disclosed managing the replicated and migration capable state for an enterprise Java bean (EJB) application. The invention includes executing a Java application on a server that includes an entity bean. In addition, a replicated state manager is executed that includes program instructions for managing an in-memory state of the Java application, and program instructions for replicating the in-memory state of the Java application to a replicated state server. The replicated state server can be a memory replicated state server, or a disk replicated state server. To facilitate application state management, embodiments of the present invention store states of the entity beans objects using state objects, which are updated in response to changes in the state of the application. Hence, the embodiments of the present invention define a logical separation between the application and the state objects.

    摘要翻译: 披露了一种管理企业Java bean(EJB)应用程序的复制和迁移能力状态的发明。 本发明包括在包括实体bean的服务器上执行Java应用。 此外,执行复制状态管理器,其包括用于管理Java应用程序的内存中状态的程序指令,以及用于将Java应用程序的内存中状态复制到复制状态服务器的程序指令。 复制状态服务器可以是内存复制状态服务器或磁盘复制状态服务器。 为了便于应用状态管理,本发明的实施例使用状态对象来存储实体bean对象的状态,所述状态对象被响应于应用的状态的变化被更新。 因此,本发明的实施例定义了应用程序和状态对象之间的逻辑间隔。

    Method and apparatus for providing application specific strategies to a JAVA platform including start and stop policies
    7.
    发明授权
    Method and apparatus for providing application specific strategies to a JAVA platform including start and stop policies 有权
    用于向JAVA平台提供应用特定策略的方法和装置,包括启动和停止策略

    公开(公告)号:US07177934B2

    公开(公告)日:2007-02-13

    申请号:US09812536

    申请日:2001-03-19

    CPC分类号: G06F9/4843 G06F9/468

    摘要: An invention is disclosed for a control module, executed as part of an application, that includes application-specific strategies for the application, yet can be coded using the JAVA programming language. In one embodiment, a system for providing application-specific strategies to a JAVA platform is disclosed that includes a runtime subsystem and an application, which includes a control module in communication with the runtime subsystem. The application further includes a plurality of service modules in communication with the control module. The control module includes application-specific policies for the application, which are programmed using a JAVA programming language. The control module manages the service modules, and also is capable of starting a child application by starting a child control module, which is part of the child application.

    摘要翻译: 公开了一种用于作为应用的一部分执行的控制模块的发明,其包括针对应用的特定于应用的策略,但是可以使用JAVA编程语言进行编码。 在一个实施例中,公开了一种用于向JAVA平台提供针对特定应用的策略的系统,其包括运行时子系统和应用,其包括与运行时子系统通信的控制模块。 该应用还包括与控制模块通信的多个服务模块。 控制模块包括针对应用程序的应用程序特定策略,这些策略使用JAVA编程语言进行编程。 控制模块管理服务模块,并且还能够启动作为子应用程序一部分的子控制模块来启动子应用程序。

    Method and apparatus for providing application specific strategies to a JAVA platform including load balancing policies
    8.
    发明授权
    Method and apparatus for providing application specific strategies to a JAVA platform including load balancing policies 有权
    用于向包括负载均衡策略在内的JAVA平台提供应用特定策略的方法和装置

    公开(公告)号:US07165108B2

    公开(公告)日:2007-01-16

    申请号:US09812537

    申请日:2001-03-19

    IPC分类号: G06F15/173 G06F9/46 G06F3/00

    CPC分类号: G06F9/4856 G06F9/5088

    摘要: An invention is disclosed for a load balancing method in a JAVA based environment. The method includes executing an application having a first service module and a control module. The control module includes application-specific policies for the application. During execution, the utilization of system resources is sensed. In response to the sensed utilization of system resources, a second service module is generated using the first service module. In addition, the state of the first service module is transferred to the second service module, and the first service module is terminated. To sense the system resource utilization, embodiments of the present invention can poll system resources, or receive notifications from the system resources. Further, some embodiments of the present invention include application-specific policies that include specific servers on which to generate the second service module during load balancing or module moving.

    摘要翻译: 公开了用于基于JAVA的环境中的负载平衡方法的发明。 该方法包括执行具有第一服务模块和控制模块的应用。 控制模块包括应用程序特定的策略。 在执行期间,感测到系统资源的利用。 响应于感测到的系统资源的利用,使用第一服务模块生成第二服务模块。 此外,第一服务模块的状态被传送到第二服务模块,并且第一服务模块被终止。 为了感测系统资源的利用,本发明的实施例可以轮询系统资源,或从系统资源接收通知。 此外,本发明的一些实施例包括应用特定策略,其包括在负载平衡或模块移动期间在其上生成第二服务模块的特定服务器。

    Local transaction management
    9.
    发明授权
    Local transaction management 有权
    本地交易管理

    公开(公告)号:US06832238B1

    公开(公告)日:2004-12-14

    申请号:US09578266

    申请日:2000-05-24

    IPC分类号: G06F1516

    CPC分类号: G06F9/466 Y10S707/99933

    摘要: The present invention defines a transaction management contract between an application server and a resource adapter and its underlying resource manager that allows an application server to utilize local transactions on a resource manager and avoid the overhead of an external transaction manager. The transaction management contract incorporates two aspects that apply to different types of transactions. The first aspect provides an application level transaction contract between a transaction manager and a resource manager based on javax.transaction.xa.XAResource of the J2EE specification. The second aspect is local transaction management contract. These contracts enable application server to provide the infrastructure and runtime environment for transaction management. An application component relies on this transaction infrastructure to support its component level transaction model.

    摘要翻译: 本发明定义了应用服务器和资源适配器及其底层资源管理器之间的事务管理契约,其允许应用服务器利用资源管理器上的本地事务,并避免外部事务管理器的开销。 交易管理合同包含适用于不同类型交易的两个方面。 第一方面提供了基于J2EE规范的javax.transaction.xa.XAResource的事务管理器和资源管理器之间的应用程序级事务合同。 第二个方面是本地交易管理合同。 这些合同使应用服务器能够为事务管理提供基础架构和运行时环境。 应用程序组件依赖此事务基础架构来支持其组件级事务模型。

    Method and mechanism for guaranteeing timeliness of programs
    10.
    发明授权
    Method and mechanism for guaranteeing timeliness of programs 失效
    保证方案及时性的方法和机制

    公开(公告)号:US5737515A

    公开(公告)日:1998-04-07

    申请号:US669722

    申请日:1996-06-27

    申请人: Vladimir Matena

    发明人: Vladimir Matena

    IPC分类号: G06F11/00

    CPC分类号: G06F11/0757

    摘要: In order to prevent data corruption and inconsistency caused by incorrect assumption regarding a presumably failed node and/or program, a fail-fast timer mechanism enforces deadlines, i.e. enforces timeliness in programs. For example, given a program which needs to ensure a given code segment is executed within a specified deadline, the program arms a fail-fast timer before executing the code segment. After completing the execution of the code segment, the program disarms the fail-fast timer. If the program executes too slowly and the fail-fast timer expires before the fail-fast timer has been disarmed, the entire node is forced to stop very quickly (i.e. the node fails fast). The fail-fast timer of the present invention also triggers if the program exits before disarming a previously armed timeout.

    摘要翻译: 为了防止由于对可能失败的节点和/或程序的错误假设引起的数据损坏和不一致,故障快速定时器机制强制执行截止日期,即强制程序中的及时性。 例如,给定一个程序需要确保给定的代码段在规定的期限内执行,程序在执行代码段之前会阻止故障快速定时器。 完成代码段的执行后,程序将取消故障快速定时器。 如果程序执行得太慢,并且故障快速定时器在故障快速定时器被撤防之前到期,则整个节点被迫非常快速地停止(即节点快速停机)。 本发明的故障切换定时器,如果在撤防以前的布防超时之前程序退出,则也触发。