Method and apparatus for verifying Enterprise Java Beans
    1.
    发明授权
    Method and apparatus for verifying Enterprise Java Beans 失效
    企业Java Bean的验证方法和设备

    公开(公告)号:US06684387B1

    公开(公告)日:2004-01-27

    申请号:US09404404

    申请日:1999-09-23

    IPC分类号: G06F944

    摘要: The introspection capability of Java is utilized by the described verification tool to verify validity of a target bean's Java Archive (JAR) file. The deployment descriptor class is verified first according to Enterprise Java Bean. specification rules. The remaining classes: remote interface, home interface and bean class are all loaded into a Java Virtual Machine (JVM) and verified by the described verification tool through Java introspection.

    摘要翻译: 所描述的验证工具利用Java的内省能力来验证目标bean的Java Archive(JAR)文件的有效性。 首先根据Enterprise Java Bean验证部署描述符类。 规格规则。 其余的类:远程接口,家庭接口和bean类都被加载到Java虚拟机(JVM)中,并通过Java内省通过描述的验证工具进行验证。

    Process and system for providing name service scoping behavior in java object-oriented environment
    2.
    发明授权
    Process and system for providing name service scoping behavior in java object-oriented environment 有权
    在Java面向对象环境中提供名称服务范围行为的流程和系统

    公开(公告)号:US06834284B2

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

    申请号:US09373879

    申请日:1999-08-12

    IPC分类号: G06F1730

    摘要: A process and system for providing name service scoping behavior is implemented. In an object-oriented data processing system, a request is received for an initial context for a namespace from a requesting object. A scoped initial context factory object is constructed, and an initial context is requested from the scoped initial context factory object. A class for the scoped initial context factory object may be determined from a variable in a hash table object passed as an argument. In response to the request for an initial context from the scoped initial context factory object, an initial context is requested from a non-scoped initial context factory object. The scoped initial context factory object may be a subclass of the non-scoped initial context factory object. The initial context returned by the non-scoped initial context factory object is scoped to a partition of the namespace, and the scoped initial context is returned. The initial context returned by the non-scoped initial context factory object may be scoped by performing a name service lookup on the partition of the namespace. The requesting object and the scoping object may be implemented in a platform-independent object-oriented programming language, such as Java.

    摘要翻译: 实现了一种用于提供名称服务范围行为的过程和系统。 在面向对象的数据处理系统中,从请求对象接收到用于命名空间的初始上下文的请求。 构建范围最初的上下文工厂对象,并从作用域初始上下文工厂对象请求初始上下文。 可以根据作为参数传递的散列表对象中的变量确定作用域初始上下文工厂对象的类。 响应于来自范围的初始上下文工厂对象的初始上下文的请求,从非范围的初始上下文工厂对象请求初始上下文。 作用域初始上下文工厂对象可以是非范围初始上下文工厂对象的子类。 由非范围的初始上下文工厂对象返回的初始上下文作用域命名空间的分区,并返回范围的初始上下文。 可以通过在命名空间的分区上执行名称服务查找来限定非作用域初始上下文工厂对象返回的初始上下文。 请求对象和范围对象可以以与平台无关的面向对象的编程语言(例如Java)来实现。

    EJB adaption of MQ integration in componetbroker
    3.
    发明授权
    EJB adaption of MQ integration in componetbroker 失效
    MQ集成在组件经纪人中的EJB适配

    公开(公告)号:US06704805B1

    公开(公告)日:2004-03-09

    申请号:US09549152

    申请日:2000-04-13

    IPC分类号: G06F944

    CPC分类号: G06F9/546

    摘要: A system, method, and program product, in which a stateful EJB session bean is used as the front end to client calls. In this configuration, a queue is represented by a session bean instance. “Put” and “get” are called on the relevant session bean instances. Thus, for example, a client, instead of first finding a home for a given type of OMs then calling “put” on the home to send out messages, will find a session bean home, create a session bean instance corresponding to a queue, and call “put” on the bean instance to send messages. In this manner, the message queue can be managed using standard EJB techniques.

    摘要翻译: 一种系统,方法和程序产品,其中有状态的EJB会话bean被用作客户端调用的前端。 在此配置中,队列由会话bean实例表示。 在相关会话bean实例上调用“Put”和“get”。 因此,例如,客户端,而不是首先找到给定类型的OM的家庭,然后在家中调用“put”来发送消息,将会找到会话bean回家,创建与队列对应的会话bean实例, 并在bean实例上调用“put”来发送消息。 以这种方式,可以使用标准EJB技术来管理消息队列。

    Method and system for supporting dual conventions for methods that return structures
    4.
    发明授权
    Method and system for supporting dual conventions for methods that return structures 失效
    支持返回结构的方法的双重约定的方法和系统

    公开(公告)号:US06199200B1

    公开(公告)日:2001-03-06

    申请号:US08228329

    申请日:1994-04-15

    IPC分类号: G06F900

    CPC分类号: G06F8/447 G06F9/4484

    摘要: A technique for providing support for multiple calling conventions for methods and procedures that return structures is provided. A source code of a client program may be compiled by either of two compilers, wherein one compiler employs a calling convention that is different from the first one. A binary library containing a procedure and a converter for each procedure returning a structure to a client program, is provided to support two calling conventions. If the client program is compiled by a compiler using a first calling convention, the program is compiled such that it calls the procedure directly and receives a result, a structure, via the first calling convention. Compiling the client program with a compiler using the second conventions results in calls to the procedure being routed to the converter, which calls the associated procedure, using the first calling convention. The converter receives the result from the procedure and returns the result to the client program using the second calling convention. A special modification to the signature of the procedure as it appears in the library source code, combined with the use of macros to generate a companion converter, permit a binary library to be built by a single compiler, such that the library supports the calling conventions for returning structures appropriate to two different compilers.

    摘要翻译: 提供了一种用于为返回结构的方法和过程的多个调用约定提供支持的技术。 客户端程序的源代码可以由两个编译器中的任何一个编译,其中一个编译器使用与第一编译器不同的调用约定。 提供了一个包含用于将结构返回到客户端程序的每个过程的过程和转换器的二进制库,以支持两个调用约定。 如果客户端程序是由编译器使用第一个调用约定编译的,则编译该程序使得它直接调用该过程并通过第一个调用约定接收一个结果,一个结构。 使用第二个约定使用编译器编译客户端程序会导致对使用第一个调用约定调用相关过程的转接器进行路由调用。 转换器从过程接收结果,并使用第二个调用约定将结果返回给客户端程序。 对库程序源代码中出现的过程签名进行特殊修改,结合使用宏生成伴随转换器,允许由单个编译器构建二进制库,以使库支持调用约定 用于返回适合于两个不同编译器的结构。