Supporting method references in the JAVA language

    公开(公告)号:US07802239B2

    公开(公告)日:2010-09-21

    申请号:US11271424

    申请日:2005-11-09

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    IPC分类号: G06F9/45 G06F9/44

    CPC分类号: G06F9/449 G06F8/41

    摘要: According to one embodiment of the invention, the JAVA compiler is modified so that when the JAVA compiler determines, while compiling source code, that an invocation of a first method, which expects to receive a reference to an object, passes, to the first method, a reference to a second method instead of a reference to an object, the JAVA compiler does not issue a compile-time error as the JAVA compiler normally would. Instead, the JAVA compiler generates compiled code (e.g., byte code) that the JAVA compiler would have generated if the source code had (a) defined a “bridge” class that implemented a method that invoked the second method and (b) contained, in the invocation of the first method, a reference to an object that was an instance of the “bridge” class in the place of the reference to the second method.

    System and method for providing traceable acknowledgement of a digital data distribution license
    2.
    发明授权
    System and method for providing traceable acknowledgement of a digital data distribution license 有权
    提供数字数据分发许可证的可追溯确认的系统和方法

    公开(公告)号:US07698227B1

    公开(公告)日:2010-04-13

    申请号:US11182277

    申请日:2005-07-14

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    IPC分类号: G06F17/60 H04N7/16 H04L9/00

    CPC分类号: G06F21/10

    摘要: A system and method for providing traceable acknowledgement of a digital data distribution license is presented. A license specifying terms applicable to a user requesting a distribution of data maintained in digital form is defined. The digital data distribution is encoded by application of a phrase used to convolute the digital data distribution. The phrase signifies an acknowledgement by the user to be bound by the license terms. The digital data is distributed. Access to the digital data distribution requires application of the phrase to deconvolute the digital data distribution.

    摘要翻译: 提出了一种用于提供数字数据分发许可证的可追溯确认的系统和方法。 定义了指定适用于请求分发以数字形式保存的数据的用户的许可的许可。 数字数据分发通过应用用于对数字数据分布进行卷积的短语进行编码。 该短语表示用户受许可条款约束的确认。 数字数据分发。 访问数字数据分发需要应用短语对数字数据分发进行解卷积。

    Database access bridge system and process
    3.
    发明授权
    Database access bridge system and process 有权
    数据库访问桥系统和过程

    公开(公告)号:US06889227B1

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

    申请号:US09621687

    申请日:2000-07-21

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    IPC分类号: G06F17/30

    摘要: A system or method enables a two tier computer application to operate in a three tier computer environment without specific programming for the three tier environment. Such a system or method receives a database call at a computer system and maps the database call to a general programming language call of a computer application. The general programming language call is executed to invoke functions of the computer application that correspond to functions of the database call. The general programming language call may be an Enterprise Java Bean (EJB) call. An application server receives the database call and maps the database call to the general programming language call. In response to executing the general programming language call, the application server generates a second database call to the database that may either correspond directly or indirectly to the database call received at the application server. The database calls may both be SQL calls. The general computer programming language may have EJB components that are analyzed to determine the correspondence between the database elements and the elements of the components that access the database elements. Methods of the EJB components may be identified for use in determining the correspondence. The methods may be identified by searching for a method of the form XXX, where the prefix is a “get” or “set” method.

    摘要翻译: 一个系统或方法使得两层计算机应用程序能够在三层计算机环境中运行,而没有三层环境的特定编程。 这样的系统或方法在计算机系统处接收数据库调用,并将数据库调用映射到计算机应用程序的通用编程语言调用。 执行通用编程语言调用以调用与数据库调用的功能对应的计算机应用程序的功能。 通用编程语言调用可能是Enterprise Java Bean(EJB)调用。 应用程序服务器接收数据库调用,并将数据库调用映射到通用编程语言调用。 响应于执行通用编程语言调用,应用服务器生成对数据库的第二数据库调用,其可以直接或间接地对应于在应用服务器处接收的数据库呼叫。 数据库调用可能都是SQL调用。 通用计算机编程语言可能具有分析的EJB组件,以确定数据库元素与访问数据库元素的组件的元素之间的对应关系。 可以识别EJB组件的方法以用于确定对应关系。 可以通过搜索形式为 XXX的方法来识别方法,其中前缀是“get”或“set”方法。

    Method and apparatus for software component analysis
    4.
    发明授权
    Method and apparatus for software component analysis 有权
    用于软件组件分析的方法和装置

    公开(公告)号:US06668371B2

    公开(公告)日:2003-12-23

    申请号:US09748402

    申请日:2000-12-21

    IPC分类号: G06F945

    CPC分类号: G06F8/70

    摘要: Methods, software, and apparatus for analyzing a software component within an application builder tool are disclosed. The present invention relates, in one aspect, to a method for analyzing a software component that can be visually moved within an application builder tool running on a computer. The method involves obtaining the software component to be analyzed and determining if the software component has an associated information class. When it is determined that the software component has an associated information class, the information class is queried about information stored within the information class, otherwise automatic analysis using design patterns is applied to analyze the class. In one embodiment, the information stored within the information class relates to methods, properties, and/or events.

    摘要翻译: 公开了用于分析应用构建器工具内的软件组件的方法,软件和装置。 在一方面,本发明涉及一种用于分析可在计算机上运行的应用构建器工具中可视地移动的软件组件的方法。 该方法涉及获得要分析的软件组件,并确定软件组件是否具有关联的信息类。 当确定软件组件具有关联的信息类时,对信息类中存储的信息进行查询,否则将使用设计模式进行自动分析来分析该类。 在一个实施例中,存储在信息类内的信息涉及方法,属性和/或事件。

    Remote procedure calling using an existing descriptor mechanism
    5.
    发明授权
    Remote procedure calling using an existing descriptor mechanism 失效
    远程过程调用使用现有的描述符机制

    公开(公告)号:US06170018A

    公开(公告)日:2001-01-02

    申请号:US08563155

    申请日:1995-11-27

    IPC分类号: G06F1563

    CPC分类号: G06F9/547 Y10S707/99938

    摘要: Doors are implemented in an existing operating system by using a novel adaptation of existing data structures and procedures which represent and control data files of the operating system. A door is represented by a file descriptor and is managed by existing mechanisms of an operating system, such as the Unix operating system, which are also used to manage files. A door is represented by a door node, which is a novel extension of the conventional vnode structure which in turn is used in conventional operating systems to represent the state of a computer resource, e.g., a data file. A door node is adapted such that most conventional file access and control procedures, e.g., procedures open( ) and close( ), can be used to access and control door with minimal adaptation. A door node is formed by appending fields which are specific to a door node's representation of the state of a door to fields of the door node which are analogous to the fields of a vnode, which represents the state of a resource and which has a conventional structure. Thus, the fields of a door node which precede the fields specific to the representation of the state of a door are of the size, location, and format of analogous fields in a conventional vnode. A client process obtains a file descriptor which identifies a door by supplying the name of the door to the operating system.

    摘要翻译: 门通过使用现有数据结构和程序的新颖改编来实现现有的操作系​​统,这些数据结构和过程表示和控制操作系统的数据文件。 门由文件描述符表示,并由操作系统的现有机制(如Unix操作系统)进行管理,这些操作系统也用于管理文件。 门由门节点表示,门节点是传统的vnode结构的新颖的扩展,传统的vnode结构又在常规的操作系统中用于表示计算机资源(例如数据文件)的状态。 门节点被适配成使得大多数传统的文件访问和控制过程,例如程序open()和close()可以用于以最小的适应来访问和控制门。 门节点是通过将门节点对门状态的表示特定的字段附加到门节点的字段,其类似于表示资源的状态的vnode的字段,并且具有常规 结构体。 因此,在特定于门状态表示的场之前的门节点的场是具有常规vnode中的类似场的大小,位置和格式。 客户端进程通过向操作系统提供门的名称来获得识别门的文件描述符。

    Method and apparatus for editing a software component
    6.
    发明授权
    Method and apparatus for editing a software component 失效
    用于编辑软件组件的方法和装置

    公开(公告)号:US5991534A

    公开(公告)日:1999-11-23

    申请号:US868038

    申请日:1997-06-03

    IPC分类号: G06F9/44

    摘要: Methods, software, and apparatus for customizing a component for use with an application builder tool are disclosed. A method for customizing a component which has at least one associated property with an associated data type involves obtaining the component, obtaining an editor that is arranged to modify the property, and adding the editor to a customizer that is associated with said component. Then, the property is modified using the editor. In one embodiment, the method further includes configuring the component by implementing the modified property. In another embodiment, the component is an instance of an associated component class, and obtaining the component involves obtaining the component class and creating the instance of the component class. In such an embodiment, each property associated with the component is identified.

    摘要翻译: 公开了用于定制用于应用构建器工具的组件的方法,软件和装置。 一种用于定制具有至少一个与关联数据类型的关联属性的组件的方法涉及到获得该组件,获得一个被设置为修改该属性的编辑器,以及将该编辑器添加到与该组件相关联的定制器。 然后,使用编辑器修改属性。 在一个实施例中,该方法还包括通过实施修改的属性来配置该组件。 在另一个实施例中,组件是关联组件类的实例,并且获得组件涉及获取组件类并创建组件类的实例。 在这样的实施例中,识别与组件相关联的每个属性。

    Method and apparatus for initializing a device
    7.
    发明授权
    Method and apparatus for initializing a device 失效
    用于初始化设备的方法和设备

    公开(公告)号:US5935242A

    公开(公告)日:1999-08-10

    申请号:US738697

    申请日:1996-10-28

    IPC分类号: G06F12/02 G06F9/445

    CPC分类号: G06F9/4411

    摘要: A system is provided for rebooting a computer having a volatile memory device capable of storing operating information. The system reboots the computer using the operating information stored in the memory device if the memory device contains a valid copy of the operating information. The computer reboots the computer by reloading the operating information into the memory device if the memory device does not contain a valid copy of the operating information. The system determines whether the memory device contains a valid copy of the operating information by calculating a checksum for the operating information stored in the memory device and compares the checksum to a previously calculated checksum.

    摘要翻译: 提供了一种用于重新启动具有能够存储操作信息的易失性存储器件的计算机的系统。 如果存储设备包含操作信息的有效副本,系统将使用存储在存储设备中的操作信息来重新启动计算机。 如果存储设备不包含操作信息的有效副本,则计算机通过将操作信息重新加载到存储设备中来重新启动计算机。 该系统通过计算存储在存储器件中的操作信息的校验和来确定存储器件是否包含操作信息的有效副本,并将校验和与先前计算的校验和进行比较。

    Method and apparatus for delegated communications in a computer system
using trusted deputies
    8.
    发明授权
    Method and apparatus for delegated communications in a computer system using trusted deputies 失效
    使用信任代表的计算机系统委托通信的方法和装置

    公开(公告)号:US5481715A

    公开(公告)日:1996-01-02

    申请号:US167496

    申请日:1993-12-15

    摘要: An apparatus and a method are disclosed whereby a client application can use a trusted "Deputy" application to execute operation calls on several servers on behalf of the client, the Deputy application being able to convince the servers that the deputy application is representing the original client application, and the client thereby reducing the risk of being contaminated by uncontrolled access to an unknown server, while at the same time being able to obtain the desired processing results regardless of the number or location of servers involved in providing the results. The Deputy application is authenticated by the server as representing a user, not a user on a predetermined workstation or as a predetermined member of a particular work group.

    摘要翻译: 公开了一种装置和方法,其中客户端应用程序可以使用信任的“副”应用程序来代表客户端在几个服务器上执行操作调用,该副应用能够说服该服务器副代表应用程序代表原始客户端 应用程序和客户端,从而降低被不受控制地访问未知服务器而受到污染的风险,同时能够获得期望的处理结果,而不管提供结果涉及的服务器的数量或位置如何。 副应用程序由服务器认证为表示用户,而不是预定工作站上的用户,或作为特定工作组的预定成员。

    Supporting method references in the JAVA language
    9.
    发明申请
    Supporting method references in the JAVA language 有权
    支持JAVA语言的方法引用

    公开(公告)号:US20100169869A1

    公开(公告)日:2010-07-01

    申请号:US11271424

    申请日:2005-11-09

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    IPC分类号: G06F9/45

    CPC分类号: G06F9/449 G06F8/41

    摘要: According to one embodiment of the invention, the JAVA compiler is modified so that when the JAVA compiler determines, while compiling source code, that an invocation of a first method, which expects to receive a reference to an object, passes, to the first method, a reference to a second method instead of a reference to an object, the JAVA compiler does not issue a compile-time error as the JAVA compiler normally would. Instead, the JAVA compiler generates compiled code (e.g., byte code) that the JAVA compiler would have generated if the source code had (a) defined a “bridge” class that implemented a method that invoked the second method and (b) contained, in the invocation of the first method, a reference to an object that was an instance of the “bridge” class in the place of the reference to the second method.

    摘要翻译: 根据本发明的一个实施例,修改JAVA编译器,使得当JAVA编译器在编译源代码时确定预期接收到对象的引用的第一方法的调用传递给第一方法 ,引用第二种方法而不是对对象的引用,JAVA编译器不会像JAVA编译器通常会发出编译时错误。 相反,JAVA编译器生成JAVA编译器将生成的编译代码(例如,字节代码),如果源代码(a)定义了实现调用第二种方法的方法和(b)所包含的“桥”类, 在调用第一个方法时,引用一个对象,该对象是“bridge”类的一个实例,代替了第二个方法的引用。

    Method and apparatus for associating metadata attributes with program elements
    10.
    发明授权
    Method and apparatus for associating metadata attributes with program elements 有权
    将元数据属性与程序元素相关联的方法和装置

    公开(公告)号:US07013458B2

    公开(公告)日:2006-03-14

    申请号:US10237886

    申请日:2002-09-09

    IPC分类号: G06F9/45

    CPC分类号: G06F8/423

    摘要: One embodiment of the present invention provides a system for associating metadata attributes with program elements. During operation, the system receives source code containing syntactic elements that specify metadata attributes for program elements, wherein the metadata attributes do not affect program execution. The system then parses the source code to obtain the metadata attributes. Next, the system associates the metadata attributes with corresponding program elements and determines values associated with the metadata attributes. Finally, the system incorporates the metadata attributes, including identifiers for the associated values and the associated program elements, into object code for the program, thereby allowing the metadata attributes to be accessed from the object code. Another embodiment of the present invention provides a system for accessing metadata attributes for program elements from object code through an application programming interface (API).

    摘要翻译: 本发明的一个实施例提供了一种用于将元数据属性与程序元素相关联的系统。 在操作期间,系统接收包含指定程序元素的元数据属性的句法元素的源代码,其中元数据属性不影响程序执行。 然后系统解析源代码以获取元数据属性。 接下来,系统将元数据属性与相应的程序元素相关联,并确定与元数据属性相关联的值。 最后,系统将元数据属性(包括关联值的标识符和关联的程序元素)合并到程序的对象代码中,从而允许从目标代码访问元数据属性。 本发明的另一实施例提供了一种用于通过应用编程接口(API)从目标代码访问程序元素的元数据属性的系统。