Patents
US 6,996,826 B2#18259115 Most CitedExpiredUnited States (USPTO)Utility

Method and system for accessing objects of different thread types

6Forward Citations (#18259115 Global)
0.3/yrCitation Velocity (#25595081 Global)
1.48Citation PageRank (#23439254 Global)
13Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method in a computer system for accessing Microsoft Component Object Model (“COM”) objects of varying thread types from a Java-based program. The computer system has a Java virtual machine (“VM”) that executes statements of the Java program and that executes in a multithreaded process. When executing a statement of the Java-based program to instantiate a COM object, the system creates a wrapper object. When the COM object is not thread-safe, the system requests an appropriate thread to instantiate the COM object and stores an identifier of the thread in the wrapper object. When the COM object is thread-safe, the system instantiates the COM object from the current thread and stores an indication in the wrapper object that the COM object can be accessed from any thread. When executing a statement of the Java-based program to invoke a method of the COM object, the system requests the thread identified in the wrapper object to invoke the method of the COM object. When the wrapper object indicates that the COM object can be referenced from any thread, the system invokes the method of the COM object referenced by the wrapper object directly from the current thread.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 6.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method in a computer system for mapping access to Microsoft Component Object Model (“COM”) objects to a Java programming model, the computer system having a Java virtual machine (“VM”) for executing statements of the Java program, the method comprising: when executing a statement of the Java-based program to instantiate a COM object, instantiating a wrapper object; instantiating the COM object; and storing a reference to the instantiated COM object in the instantiated wrapper object; using a pointer to the wrapper object as a reference to the COM object; and when executing a statement of the

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • "Adding Type parameterization to the Java Language", by: Ole Agesen and Stephen N. Freud and John C. Mitchell, ACM SIGPLAN notices, proceedings of the 12<SUP>th </SUP>ACM SIGPLAN conference on Object-Oriented programming Language, and Application, Oct. 1997.
  • "Evaluation of Object Behavior using Context Relations", by: Linda M. Seiter, Jens Palsberg, and Karl J. Lieberherr, ACM SIGPLAN Software Engineering Notes, proceedings of the 4<SUP>th </SUP>ACM SIGPLAN symposium on Founfations of Software Engineering, Oct. 1996.
  • "Mapping A Common Geoscientific Object Model to Heterogeneous Spacial Data Repositories", by: Silvia Nittel, Jiong Yang, and Richard R. Muntz, proceedings of the 4<SUP>th </SUP>ACM international international workshop on Advances in geographic informat, Nov. 1996.
  • "The Design and Implementation Of An Object-Oriented Toolkit For 3D And Visualization", by. William J. Schoeder, Kenneth M. Martin, and William E. Lorensen, Proceedings of the 7<SUP>th </SUP>conference on Visualization '96, Oct. 1996.
  • "Using Java and COM Together: Apartment Model and Threading Issues" Microsoft Corp. (1996).