US20020004934A1 - Dynamic mapping of component interfaces - Google Patents
Dynamic mapping of component interfaces Download PDFInfo
- Publication number
- US20020004934A1 US20020004934A1 US09/115,987 US11598798A US2002004934A1 US 20020004934 A1 US20020004934 A1 US 20020004934A1 US 11598798 A US11598798 A US 11598798A US 2002004934 A1 US2002004934 A1 US 2002004934A1
- Authority
- US
- United States
- Prior art keywords
- interface
- component
- computer
- methods
- events
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013507 mapping Methods 0.000 title claims abstract description 64
- 238000000034 method Methods 0.000 claims abstract description 94
- 235000006719 Cassia obtusifolia Nutrition 0.000 claims abstract description 29
- 235000014552 Cassia tora Nutrition 0.000 claims abstract description 29
- 244000201986 Cassia tora Species 0.000 claims abstract description 19
- 230000015654 memory Effects 0.000 claims description 14
- 244000277285 Cassia obtusifolia Species 0.000 claims description 10
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 36
- 244000046052 Phaseolus vulgaris Species 0.000 description 36
- 230000003068 static effect Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 239000008186 active pharmaceutical agent Substances 0.000 description 4
- 230000005055 memory storage Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- This invention relates generally to software component interfaces, and more specifically to dynamic mapping of such interfaces.
- Software components are one technique to improve software development productivity and program flexibility. Reusable software components are designed to apply the power and benefit of reusable, interchangeable parts from other industries to the field of software development. Software components have standard interfaces making them interchangeable and reusable. Examples of software components tend to be oriented toward user interface elements. They can be simple like familiar push buttons, text fields list boxes, scrollbars and dialogs, or they can be more complex, such as calculators and spreadsheets.
- ActiveX is a component environment commonly used by applications written in Microsoft's Visual Basic and Visual C++ programming languages. ActiveX can generally be defined as a specification for a software development methodology and an API that allows software components to be dynamically interchanged. ActiveX makes use of the Component Object Model (COM). Further details of COM are described in Dale Rogerson, “Inside COM,” 1997 (ISBN 1-57321-349-8) which is hereby incorporated by reference.
- COM Component Object Model
- the JavaBeans specification for the Java programming language defines an environment for developing components known as “beans.”
- the JavaBeans specification defines a bean generally as a reusable software component that can be manipulated visually in a builder tool.
- ActiveX components also known as “controls”
- beans share the quality that when used within their intended environments, new or alternative components can be substituted for old components without requiring any changes to the application using the component.
- software components can be easily incorporated into new programs using software building tools, thereby freeing the developer from writing code to implement the functionality provided by the component.
- mapping A specific example where mapping is required because of an incompatibility exists when an application designed to use an ActiveX control desires to use a Java bean component.
- the data contained within the object data structure are populated at different times. All of the data required to define an object representing an ActiveX control can be determined at the time the source code is compiled or interpreted.
- the data required to define a bean interface object cannot be completely determined through the source code alone.
- the data that cannot be derived via the source code must be supplied at run-time when the source is interpreted by the Java Virtual Machine (VM).
- the information that must be supplied by the Java VM generally relates to data type identifiers for the methods, properties and events defined by the bean.
- Interfaces defined by the two component models are different. Interfaces are used to connect objects defined by the component model. ActiveX and the JavaBeans specification define their own interfaces to connect their respective objects together. While they perform similar functions, the two interfaces are different and operate on different objects, and are therefore incompatible.
- Static mapping involves invoking a packager application that gathers data based on user input.
- the packager application also reads the user specified Java source code and scans the source for bean definitions.
- the packager application When a bean is found, the packager application generates three types of files.
- the first file type is a Java class file that can be interpreted by the Java VM (Virtual Machine).
- the second file type is a registry file that must be imported into the registry of the computer running an ActiveX client.
- the third file type is a type library file that contains a COM compatible definition of the methods, properties and events defined by the bean.
- the files generated by the packager are populated with data gleaned from scanning the source, and include items such as the public methods, properties and events for the top-level class defined in the bean.
- Static mapping has several disadvantages.
- the packager application can only generate mappings for those classes representing beans defined in the Java source code scanned by the application. It is common in object-oriented languages for a class to propagate its methods, properties and events to lower-level classes that inherit from the top-level class.
- the end result of static mapping is that only the top-level, or explicitly called out Java classes, have ActiveX compatible objects generated. Mappings can only be generated for top-level classes within the bean, mappings cannot be generated for lower-level classes. As a result, it is possible that a significant number of the methods, properties and events that define classes will be inaccessible to a ActiveX client application.
- a second disadvantage to static mapping is that the mapping is incomplete. Static mapping methods scan the source code at a particular point in time, and then generate interface files based on the source code. In effect, static mapping produces a snapshot of a bean's state at a particular point in time. A developer may add methods, properties and events to the bean after the snapshot has been produced by the static mapping method. An ActiveX client using a statically mapped interface will be unable to use the newly defined methods, properties and events.
- a third disadvantage is that static mapping requires additional system management effort. This is because the static mapping information is contained in several files. These files must be installed as a separate step from the installation of Java or ActiveX. In addition, these files must be located in specific directories specified by the registry file in order for the system to work properly. If the user wishes to move these files, additional work is required to insure that the registry entries point to the correct file location.
- a computerized system has an operating system that provides interfaces for controlling two components, with each component interface having methods, properties and events.
- a client program designed to utilize an interface to one component is combined with a component using a different interface.
- a mapping from the methods, properties and events of the first interface to the methods, properties and events of the second interface occurs during the run-time of the client program.
- dynamic mapping is a process allowing a client process using a particular component interface definition to use an alternative component defined by a different interface. Dynamic mapping occurs at run-time, when all of the information defining the component is available. The desired bean component object can be queried at run-time to provide the desired interface information. This information can then be used to map the bean's interface elements to semantically equivalent interface elements used in the client program.
- the dynamic mapping described in the present invention provides for advantages not found in systems employing static mapping methods.
- dynamic mapping methods have access to all of the information about the mapped interface at run-time, and the information reflects the component's current state.
- dynamic mapping can take advantage of type information describing objects and their constituent elements that is only available at run-time. Because static mapping occurs before the component's run-time, it does not have access to all of the component's data, resulting in reduced functionality.
- methods, properties and events added to the mapped component after the static mapping process has taken place are not available to a client program.
- dynamic mapping has access to methods, properties and events for both top-level class definitions and lower-level class definitions. Because it occurs at run-time, dynamic mapping can query any required object for its methods, properties and event, not just the top-level class object. Static mapping is limited to obtaining information from the source code and the registry, and is therefor only able to acquire data on top-level classes.
- Dynamic mapping does not require the use of extraneous files that must be administered and maintained. Dynamic mapping is automatically handled by virtual machines common to many interpreted languages. In contrast, static mapping produces files that must be moved to appropriate directories, imported into the computer's registry, or interpreted in addition to the source files defining the component. Dynamic mapping avoids this overhead because no extraneous files are produced.
- FIG. 1 shows a diagram of the hardware and operating environment in conjunction with which embodiments of the invention may be practiced
- FIGS. 2 ( a ) and 2 ( b ) are diagrams illustrating a system according to one embodiment of the invention as compared to a system employing static mapping;
- FIGS. 3 ( a ) and 3 ( b ) are flowcharts of methods in accordance with an embodiment of the invention.
- FIG. 1 a diagram of the hardware and operating environment in conjunction with which embodiments of the invention may be practiced is shown.
- the description of FIG. 1 is intended to provide a brief, general description of suitable computer hardware and a suitable computing environment in conjunction with which the invention may be implemented.
- the invention is described in the general context of computer-executable instructions, such as program modules, being executed by a computer, such as a personal computer.
- program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types.
- the invention may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCS, minicomputers, mainframe computers, and the like.
- the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
- program modules may be located in both local and remote memory storage devices.
- the exemplary hardware and operating environment of FIG. 1 for implementing the invention includes a general purpose computing device in the form of a computer 20 , including a processing unit 21 , a system memory 22 , and a system bus 23 that operatively couples various system components include the system memory to the processing unit 21 .
- a processing unit 21 There may be only one or there may be more than one processing unit 21 , such that the processor of computer 20 comprises a single central-processing unit (CPU), or a plurality of processing units, commonly referred to as a parallel processing environment.
- the computer 20 may be a conventional computer, a distributed computer, or any other type of computer; the invention is not so limited.
- the system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures.
- the system memory may also be referred to as simply the memory, and includes read only memory (ROM) 24 and random access memory (RAM) 25 .
- ROM read only memory
- RAM random access memory
- a basic input/output system (BIOS) 26 containing the basic routines that help to transfer information between elements within the computer 20 , such as during start-up, is stored in ROM 24 .
- the computer 20 further includes a hard disk drive 27 for reading from and writing to a hard disk, not shown, a magnetic disk drive 28 for reading from or writing to a removable magnetic disk 29 , and an optical disk drive 30 for reading from or writing to a removable optical disk 31 such as a CD ROM or other optical media.
- a hard disk drive 27 for reading from and writing to a hard disk, not shown
- a magnetic disk drive 28 for reading from or writing to a removable magnetic disk 29
- an optical disk drive 30 for reading from or writing to a removable optical disk 31 such as a CD ROM or other optical media.
- the hard disk drive 27 , magnetic disk drive 28 , and optical disk drive 30 are connected to the system bus 23 by a hard disk drive interface 32 , a magnetic disk drive interface 33 , and an optical disk drive interface 34 , respectively.
- the drives and their associated computer-readable media provide nonvolatile storage of computer-readable instructions, data structures, program modules and other data for the computer 20 . It should be appreciated by those skilled in the art that any type of computer-readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, random access memories (RAMs), read only memories (ROMs), and the like, may be used in the exemplary operating environment.
- a number of program modules may be stored on the hard disk, magnetic disk 29 , optical disk 31 , ROM 24 , or RAM 25 , including an operating system 35 , one or more application programs 36 , other program modules 37 , and program data 38 .
- a user may enter commands and information into the personal computer 20 through input devices such as a keyboard 40 and pointing device 42 .
- Other input devices may include a microphone, joystick, game pad, satellite dish, scanner, or the like.
- These and other input devices are often connected to the processing unit 21 through a serial port interface 46 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port, or a universal serial bus (USB).
- a monitor 47 or other type of display device is also connected to the system bus 23 via an interface, such as a video adapter 48 .
- computers typically include other peripheral output devices (not shown), such as speakers and printers.
- the computer 20 may operate in a networked environment using logical connections to one or more remote computers, such as remote computer 49 . These logical connections are achieved by a communication device coupled to or a part of the computer 20 ; the invention is not limited to a particular type of communications device.
- the remote computer 49 may be another computer, a server, a router, a network PC, a client, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 20 , although only a memory storage device 50 has been illustrated in FIG. 1.
- the logical connections depicted in FIG. 1 include a local-area network (LAN) 51 and a wide-area network (WAN) 52 .
- LAN local-area network
- WAN wide-area network
- Such networking environments are commonplace in office networks, enterprise-wide computer networks, intranets and the Internet, which are all types of networks.
- the computer 20 When used in a LAN-networking environment, the computer 20 is connected to the local network 51 through a network interface or adapter 53 , which is one type of communications device.
- the computer 20 When used in a WAN-networking environment, the computer 20 typically includes a modem 54 , a type of communications device, or any other type of communications device for establishing communications over the wide area network 52 , such as the Internet.
- the modem 54 which may be internal or external, is connected to the system bus 23 via the serial port interface 46 .
- program modules depicted relative to the personal computer 20 may be stored in the remote memory storage device. It is appreciated that the network connections shown are exemplary and other means of and communications devices for establishing a communications link between the computers may be used.
- the computer in conjunction with which embodiments of the invention may be practiced may be a conventional computer, a distributed computer, or any other type of computer; the invention is not so limited.
- a computer typically includes one or more processing units as its processor, and a computer-readable medium such as a memory.
- the computer may also include a communications device such as a network adapter or a modem, so that it is able to communicatively couple other computers.
- FIGS. 2 ( a ) and 2 ( b ) present a system level description of an embodiment of the invention as compared with previous solutions to the mapping problem.
- FIG. 2( a ) shows a diagram of a system, per the prior art, in which the bean object is statically mapped to an ActiveX compatible object through the use of a packager application prior to running an ActiveX client application.
- FIG. 2( b ) shows a diagram of the system according to an embodiment of the invention where bean objects are dynamically mapped at run-time to ActiveX control objects.
- a Packager application 205 reads a Bean Definition File 200 .
- the Packager 205 then produces three sets of output, a Type Library 210 , a Registry Text File 215 , and one or more Java Stub Files 220 .
- the Type Library 210 contains a description of an ActiveX control's properties, events and methods.
- the Registry Text File 215 contains an identifier for the mapped object, a file path to the executable for the component and a file path to the type library.
- the Registry Text File must be imported into the computer's Registry 225 in order to notify the system that the mapped component is available for use.
- Java Stub Files 215 contain the computer interpreted instructions that statically map from a bean definition of a component to an ActiveX definition of a component.
- the Java Virtual Machine 230 is a native program running on an operating system, such as Microsoft Windows 95, that interprets and executes programs written in the Java programming language.
- the Java Stub Files 220 are read and interpreted by the Java Virtual Machine 230 . Interpretation of Java programs is known in the art. Information regarding Java is described in the reference David Flanagan, “Java in a Nutshell: A Desktop Quick Reference,” 2d edition, 1997 (ISBN 1-56592-262-X), which is hereby incorporated by reference.
- ActiveX Client Process 255 is an application that makes uses of components using an ActiveX Application Program Interface (API). ActiveX Client Process 255 interrogates the computer's Registry 225 to determine what components are available and for details on how to make use of the components. If ActiveX Client Process 255 desires to use a component that is in fact a bean, it communicates with a Java Virtual Machine 250 to invoke the desired component. Java Virtual Machine 250 is similar to the Java Virtual Machine 230 , however Java Virtual Machine 250 has been modified in accordance with the present invention to dynamically map Java beans to ActiveX controls. Java Virtual Machine 250 then reads Bean Definition File 200 and dynamically maps the bean component definition to an ActiveX control definition. Details on the dynamic mapping process implemented within the Java Virtual Machine are now described in detail with reference to FIGS. 3 ( a ) and 3 ( b ).
- API ActiveX Application Program Interface
- the previous section presented a system level description of an embodiment of the invention.
- methods within an embodiment of the invention will be described with reference to a flowchart describing steps to be performed by computer programs implementing the method using computer-executable instructions.
- the computerized method is desirably realized at least in part as one or more programs running on a computer—that is, as a program executed from a computer-readable medium such as a memory by a processor of a computer.
- the programs are desirably storable on a computer-readable medium such as a floppy disk or a CD-ROM, for distribution and installation and execution on another (suitably equipped) computer.
- FIG. 3( a ) a flowchart for a computer implemented method to dynamically map JavaBean components to ActiveX components is presented.
- This method is executed when an ActiveX Client process 255 invokes an ActiveX method for a component that is implemented by a Java bean.
- Examples of COM methods which may require mapping a bean are “Itype::GetTypeInfo” and “Itype::GetClassInfo”, each of which require a COM component object as a parameter.
- the method begins at 300 by determining the component object's class. This is accomplished by examining the class identifier (CLSID), if any, that was used to create the object.
- CLSID class identifier
- the method then proceeds to 305 which checks whether or not a dynamic mapping has already been established for the CLSID from 300 . If a dynamic mapping does not exist, 310 uses the “java.beans.Introspector” to retrieve the methods, events, properties and other data defined within the bean.
- the method checks the registry for an existing type library associated with the class specified by the CLSID.
- the type library contains information about components and their interfaces, methods, properties, method arguments, and structures. If a type library does exist for the class, 320 applies any COM dispatch identifier (DISPID) assignments from the type library to the runtime mapping of DISPIDs to JavaBeans methods, properties and events.
- DISPID COM dispatch identifier
- the mapped DISPIDs are checked to make sure they do not conflict with commonly used DISPIDs. If there are conflicts, the mapped DISPIDs are adjusted to make them unique. This is generally necessary because some ActiveX clients have pre-defined expectations about the functionality provided by certain DISPID values and were not designed to be flexible.
- an automatic assignment of DISPIDs to JavaBeans methods, properties and events is performed. In one embodiment of the invention, this assignment is based on the naming convention for a bean's methods, properties and events, and the functional description obtained at run-time from the type library.
- a reference to a COM object is returned to the caller of the method and the method stops. If the check at 305 determined that a dynamic mapping did not already exist, the reference is to the object created at 330 . Otherwise, the reference returned is to an object that was created in a previous dynamic mapping for the CLSID. Re-using the previously generated COM object is desirable because less memory and CPU resources are used.
- FIG. 3( b ) a flowchart for a computer implemented method to dynamically map a bean invoked as a result of a COM client call to CoGetClassObject and related APIs is presented.
- the method begins at 350 by checking if a dynamic mapping already exists to the Java class. If not, 355 obtains data on the bean's methods, properties and events using the “java.beans.Introspector.” The method proceeds to 360 which applies an automatic assignment of DISPIDs to JavaBean methods, properties and events. These values are dynamically mapped in the same manner as described with reference to FIG. 3( a ).
- 370 creates a COM object that implements conventional ItypeLib and ItypeInfo interfaces using and wraps the data gathered at 355 and 365 .
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
Description
- This invention relates generally to software component interfaces, and more specifically to dynamic mapping of such interfaces.
- The evolution of computer software development has included the introduction of new development techniques and methods. These techniques and methods have included new programming languages, new libraries, new development methodologies, and new development environments. Often these techniques and methods are produced to improve software development productivity or to extend software development capability.
- Software components are one technique to improve software development productivity and program flexibility. Reusable software components are designed to apply the power and benefit of reusable, interchangeable parts from other industries to the field of software development. Software components have standard interfaces making them interchangeable and reusable. Examples of software components tend to be oriented toward user interface elements. They can be simple like familiar push buttons, text fields list boxes, scrollbars and dialogs, or they can be more complex, such as calculators and spreadsheets.
- Microsoft's ActiveX and the JavaBeans specification are two examples of software component models. ActiveX is a component environment commonly used by applications written in Microsoft's Visual Basic and Visual C++ programming languages. ActiveX can generally be defined as a specification for a software development methodology and an API that allows software components to be dynamically interchanged. ActiveX makes use of the Component Object Model (COM). Further details of COM are described in Dale Rogerson, “Inside COM,” 1997 (ISBN 1-57321-349-8) which is hereby incorporated by reference.
- The JavaBeans specification for the Java programming language defines an environment for developing components known as “beans.” The JavaBeans specification defines a bean generally as a reusable software component that can be manipulated visually in a builder tool.
- ActiveX components (also known as “controls”) and beans share the quality that when used within their intended environments, new or alternative components can be substituted for old components without requiring any changes to the application using the component. In addition, software components can be easily incorporated into new programs using software building tools, thereby freeing the developer from writing code to implement the functionality provided by the component.
- Unfortunately, the interfaces provided by differing programming environments are not always compatible with one another. The reasons for the incompatibility vary, but common causes are incompatible function parameter passing protocols, incompatible data structure definitions and incompatibilities between programming language conventions between different languages or between different vendors' compilers for the same programming language. As a result, it is necessary to convert from one interface to another when incompatibilities are encountered. The process of converting the methods, properties and events of a source class, library or language to methods, properties and events of a differing target class, is generally known as mapping. A specific example where mapping is required because of an incompatibility exists when an application designed to use an ActiveX control desires to use a Java bean component.
- There are three main reasons why ActiveX controls are incompatible with Java beans. First, the data structures representing ActiveX controls and beans, while containing similar information, are defined differently. These differences include the order of elements in the data structure and the naming convention used for the elements. In addition, elements appearing in one data structure may be missing in the other or may appear in combination with different elements.
- Second, the data contained within the object data structure are populated at different times. All of the data required to define an object representing an ActiveX control can be determined at the time the source code is compiled or interpreted. However, in JavaBeans, the data required to define a bean interface object cannot be completely determined through the source code alone. The data that cannot be derived via the source code must be supplied at run-time when the source is interpreted by the Java Virtual Machine (VM). The information that must be supplied by the Java VM generally relates to data type identifiers for the methods, properties and events defined by the bean.
- Third, the interfaces defined by the two component models are different. Interfaces are used to connect objects defined by the component model. ActiveX and the JavaBeans specification define their own interfaces to connect their respective objects together. While they perform similar functions, the two interfaces are different and operate on different objects, and are therefore incompatible.
- Alternative attempts to allow an ActiveX client to interface with a Java bean have used a technique known as “static mapping” to map between ActiveX controls and Java beans. Static mapping involves invoking a packager application that gathers data based on user input. The packager application also reads the user specified Java source code and scans the source for bean definitions. When a bean is found, the packager application generates three types of files. The first file type is a Java class file that can be interpreted by the Java VM (Virtual Machine). The second file type is a registry file that must be imported into the registry of the computer running an ActiveX client. The third file type is a type library file that contains a COM compatible definition of the methods, properties and events defined by the bean. The files generated by the packager are populated with data gleaned from scanning the source, and include items such as the public methods, properties and events for the top-level class defined in the bean.
- Static mapping has several disadvantages. First, the packager application can only generate mappings for those classes representing beans defined in the Java source code scanned by the application. It is common in object-oriented languages for a class to propagate its methods, properties and events to lower-level classes that inherit from the top-level class. The end result of static mapping is that only the top-level, or explicitly called out Java classes, have ActiveX compatible objects generated. Mappings can only be generated for top-level classes within the bean, mappings cannot be generated for lower-level classes. As a result, it is possible that a significant number of the methods, properties and events that define classes will be inaccessible to a ActiveX client application.
- A second disadvantage to static mapping is that the mapping is incomplete. Static mapping methods scan the source code at a particular point in time, and then generate interface files based on the source code. In effect, static mapping produces a snapshot of a bean's state at a particular point in time. A developer may add methods, properties and events to the bean after the snapshot has been produced by the static mapping method. An ActiveX client using a statically mapped interface will be unable to use the newly defined methods, properties and events.
- In addition, as discussed above, there is a significant amount of information about a bean that must be provided by the Java VM, and as a result the information is available only during the run-time of a Java program (i.e. while the Java program is executing on the computer). Since the static mapping method scans the files before the Java program is run, not all of the information that must be supplied at run-time is available to the packager application. As a result, a significant portion of the data describing the bean will not be available when the ActiveX client instantiates the bean, resulting in reduced bean functionality.
- A third disadvantage is that static mapping requires additional system management effort. This is because the static mapping information is contained in several files. These files must be installed as a separate step from the installation of Java or ActiveX. In addition, these files must be located in specific directories specified by the registry file in order for the system to work properly. If the user wishes to move these files, additional work is required to insure that the registry entries point to the correct file location.
- Therefore, there is a need for a technique that allows software developers to map between component models defined in different development environments that can provide for a more complete mapping of component objects and information within the object, while reducing the development and maintenance overhead of current mapping techniques.
- The above-mentioned shortcomings, disadvantages and problems are addressed by the present invention, which will be understood by reading and studying the following specification. The invention describes dynamically mapping between class objects representing components defined in two differing software development environments. In one embodiment, a computerized system has an operating system that provides interfaces for controlling two components, with each component interface having methods, properties and events. A client program designed to utilize an interface to one component is combined with a component using a different interface. A mapping from the methods, properties and events of the first interface to the methods, properties and events of the second interface occurs during the run-time of the client program.
- Thus, dynamic mapping is a process allowing a client process using a particular component interface definition to use an alternative component defined by a different interface. Dynamic mapping occurs at run-time, when all of the information defining the component is available. The desired bean component object can be queried at run-time to provide the desired interface information. This information can then be used to map the bean's interface elements to semantically equivalent interface elements used in the client program.
- The dynamic mapping described in the present invention provides for advantages not found in systems employing static mapping methods. First, dynamic mapping methods have access to all of the information about the mapped interface at run-time, and the information reflects the component's current state. For example, dynamic mapping can take advantage of type information describing objects and their constituent elements that is only available at run-time. Because static mapping occurs before the component's run-time, it does not have access to all of the component's data, resulting in reduced functionality. In addition, methods, properties and events added to the mapped component after the static mapping process has taken place are not available to a client program.
- Second, dynamic mapping has access to methods, properties and events for both top-level class definitions and lower-level class definitions. Because it occurs at run-time, dynamic mapping can query any required object for its methods, properties and event, not just the top-level class object. Static mapping is limited to obtaining information from the source code and the registry, and is therefor only able to acquire data on top-level classes.
- Finally, dynamic mapping does not require the use of extraneous files that must be administered and maintained. Dynamic mapping is automatically handled by virtual machines common to many interpreted languages. In contrast, static mapping produces files that must be moved to appropriate directories, imported into the computer's registry, or interpreted in addition to the source files defining the component. Dynamic mapping avoids this overhead because no extraneous files are produced.
- The present invention describes devices, computers, computer-readable media, and systems of varying scope. In addition to the aspects and advantages of the present invention described here, further aspects and advantages of the invention will become apparent by reference to the drawings and by reading the detailed description that follows.
- FIG. 1 shows a diagram of the hardware and operating environment in conjunction with which embodiments of the invention may be practiced;
- FIGS.2(a) and 2(b) are diagrams illustrating a system according to one embodiment of the invention as compared to a system employing static mapping; and,
- FIGS.3(a) and 3(b) are flowcharts of methods in accordance with an embodiment of the invention.
- In the following detailed description of exemplary embodiments of the invention, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific exemplary embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical, electrical and other changes may be made without departing from the spirit or scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims.
- The detailed description is divided into five sections. In the first section, the hardware and the operating environment in conjunction with which embodiments of the invention may be practiced are described. In the second section, a system level overview of the invention is presented. In the third section, an embodiment is described where the dynamic mapping is invoked for ActiveX methods other than “CoGetClassObject” and other related COM APIs that create instances using a class identifier (CLSID). In the fourth section, an embodiment of the invention describing the case where the dynamic mapping is the result of a call to the “CoGetClassObject” and related APIs using a CLSID is presented. Finally, in the fifth section, a conclusion of the detailed description is provided.
- Referring to FIG. 1, a diagram of the hardware and operating environment in conjunction with which embodiments of the invention may be practiced is shown. The description of FIG. 1 is intended to provide a brief, general description of suitable computer hardware and a suitable computing environment in conjunction with which the invention may be implemented. Although not required, the invention is described in the general context of computer-executable instructions, such as program modules, being executed by a computer, such as a personal computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types.
- Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCS, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
- The exemplary hardware and operating environment of FIG. 1 for implementing the invention includes a general purpose computing device in the form of a
computer 20, including aprocessing unit 21, asystem memory 22, and asystem bus 23 that operatively couples various system components include the system memory to theprocessing unit 21. There may be only one or there may be more than oneprocessing unit 21, such that the processor ofcomputer 20 comprises a single central-processing unit (CPU), or a plurality of processing units, commonly referred to as a parallel processing environment. Thecomputer 20 may be a conventional computer, a distributed computer, or any other type of computer; the invention is not so limited. - The
system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. The system memory may also be referred to as simply the memory, and includes read only memory (ROM) 24 and random access memory (RAM) 25. A basic input/output system (BIOS) 26, containing the basic routines that help to transfer information between elements within thecomputer 20, such as during start-up, is stored inROM 24. Thecomputer 20 further includes a hard disk drive 27 for reading from and writing to a hard disk, not shown, amagnetic disk drive 28 for reading from or writing to a removable magnetic disk 29, and anoptical disk drive 30 for reading from or writing to a removableoptical disk 31 such as a CD ROM or other optical media. - The hard disk drive27,
magnetic disk drive 28, andoptical disk drive 30 are connected to thesystem bus 23 by a harddisk drive interface 32, a magneticdisk drive interface 33, and an opticaldisk drive interface 34, respectively. The drives and their associated computer-readable media provide nonvolatile storage of computer-readable instructions, data structures, program modules and other data for thecomputer 20. It should be appreciated by those skilled in the art that any type of computer-readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, random access memories (RAMs), read only memories (ROMs), and the like, may be used in the exemplary operating environment. - A number of program modules may be stored on the hard disk, magnetic disk29,
optical disk 31,ROM 24, orRAM 25, including anoperating system 35, one ormore application programs 36,other program modules 37, andprogram data 38. A user may enter commands and information into thepersonal computer 20 through input devices such as akeyboard 40 andpointing device 42. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to theprocessing unit 21 through aserial port interface 46 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port, or a universal serial bus (USB). Amonitor 47 or other type of display device is also connected to thesystem bus 23 via an interface, such as avideo adapter 48. In addition to the monitor, computers typically include other peripheral output devices (not shown), such as speakers and printers. - The
computer 20 may operate in a networked environment using logical connections to one or more remote computers, such asremote computer 49. These logical connections are achieved by a communication device coupled to or a part of thecomputer 20; the invention is not limited to a particular type of communications device. Theremote computer 49 may be another computer, a server, a router, a network PC, a client, a peer device or other common network node, and typically includes many or all of the elements described above relative to thecomputer 20, although only amemory storage device 50 has been illustrated in FIG. 1. The logical connections depicted in FIG. 1 include a local-area network (LAN) 51 and a wide-area network (WAN) 52. Such networking environments are commonplace in office networks, enterprise-wide computer networks, intranets and the Internet, which are all types of networks. - When used in a LAN-networking environment, the
computer 20 is connected to thelocal network 51 through a network interface oradapter 53, which is one type of communications device. When used in a WAN-networking environment, thecomputer 20 typically includes amodem 54, a type of communications device, or any other type of communications device for establishing communications over thewide area network 52, such as the Internet. Themodem 54, which may be internal or external, is connected to thesystem bus 23 via theserial port interface 46. In a networked environment, program modules depicted relative to thepersonal computer 20, or portions thereof, may be stored in the remote memory storage device. It is appreciated that the network connections shown are exemplary and other means of and communications devices for establishing a communications link between the computers may be used. - The hardware and operating environment in conjunction with which embodiments of the invention may be practiced has been described. The computer in conjunction with which embodiments of the invention may be practiced may be a conventional computer, a distributed computer, or any other type of computer; the invention is not so limited. Such a computer typically includes one or more processing units as its processor, and a computer-readable medium such as a memory. The computer may also include a communications device such as a network adapter or a modem, so that it is able to communicatively couple other computers.
- FIGS.2(a) and 2(b) present a system level description of an embodiment of the invention as compared with previous solutions to the mapping problem. FIG. 2(a) shows a diagram of a system, per the prior art, in which the bean object is statically mapped to an ActiveX compatible object through the use of a packager application prior to running an ActiveX client application. FIG. 2(b) shows a diagram of the system according to an embodiment of the invention where bean objects are dynamically mapped at run-time to ActiveX control objects.
- Referring first to FIG. 2(a), in accordance with the prior art, a
Packager application 205 reads aBean Definition File 200. ThePackager 205 then produces three sets of output, a Type Library 210, aRegistry Text File 215, and one or more Java Stub Files 220. The Type Library 210 contains a description of an ActiveX control's properties, events and methods. TheRegistry Text File 215 contains an identifier for the mapped object, a file path to the executable for the component and a file path to the type library. As a separate step, the Registry Text File must be imported into the computer'sRegistry 225 in order to notify the system that the mapped component is available for use. Java Stub Files 215 contain the computer interpreted instructions that statically map from a bean definition of a component to an ActiveX definition of a component. The JavaVirtual Machine 230 is a native program running on an operating system, such as Microsoft Windows 95, that interprets and executes programs written in the Java programming language. The Java Stub Files 220 are read and interpreted by the JavaVirtual Machine 230. Interpretation of Java programs is known in the art. Information regarding Java is described in the reference David Flanagan, “Java in a Nutshell: A Desktop Quick Reference,” 2d edition, 1997 (ISBN 1-56592-262-X), which is hereby incorporated by reference. - Referring now to FIG. 2(b), in accordance with an embodiment of the invention,
ActiveX Client Process 255 is an application that makes uses of components using an ActiveX Application Program Interface (API).ActiveX Client Process 255 interrogates the computer'sRegistry 225 to determine what components are available and for details on how to make use of the components. IfActiveX Client Process 255 desires to use a component that is in fact a bean, it communicates with a JavaVirtual Machine 250 to invoke the desired component. JavaVirtual Machine 250 is similar to the JavaVirtual Machine 230, however JavaVirtual Machine 250 has been modified in accordance with the present invention to dynamically map Java beans to ActiveX controls. JavaVirtual Machine 250 then readsBean Definition File 200 and dynamically maps the bean component definition to an ActiveX control definition. Details on the dynamic mapping process implemented within the Java Virtual Machine are now described in detail with reference to FIGS. 3(a) and 3(b). - The previous section presented a system level description of an embodiment of the invention. In this section, methods within an embodiment of the invention will be described with reference to a flowchart describing steps to be performed by computer programs implementing the method using computer-executable instructions. The computerized method is desirably realized at least in part as one or more programs running on a computer—that is, as a program executed from a computer-readable medium such as a memory by a processor of a computer. The programs are desirably storable on a computer-readable medium such as a floppy disk or a CD-ROM, for distribution and installation and execution on another (suitably equipped) computer.
- Referring now to FIG. 3(a), a flowchart for a computer implemented method to dynamically map JavaBean components to ActiveX components is presented. This method is executed when an
ActiveX Client process 255 invokes an ActiveX method for a component that is implemented by a Java bean. Examples of COM methods which may require mapping a bean are “Itype::GetTypeInfo” and “Itype::GetClassInfo”, each of which require a COM component object as a parameter. The method begins at 300 by determining the component object's class. This is accomplished by examining the class identifier (CLSID), if any, that was used to create the object. - The method then proceeds to305 which checks whether or not a dynamic mapping has already been established for the CLSID from 300. If a dynamic mapping does not exist, 310 uses the “java.beans.Introspector” to retrieve the methods, events, properties and other data defined within the bean.
- Next, at315, the method checks the registry for an existing type library associated with the class specified by the CLSID. Preferably, the type library contains information about components and their interfaces, methods, properties, method arguments, and structures. If a type library does exist for the class, 320 applies any COM dispatch identifier (DISPID) assignments from the type library to the runtime mapping of DISPIDs to JavaBeans methods, properties and events. In one embodiment of the invention, the mapped DISPIDs are checked to make sure they do not conflict with commonly used DISPIDs. If there are conflicts, the mapped DISPIDs are adjusted to make them unique. This is generally necessary because some ActiveX clients have pre-defined expectations about the functionality provided by certain DISPID values and were not designed to be flexible.
- At325, an automatic assignment of DISPIDs to JavaBeans methods, properties and events is performed. In one embodiment of the invention, this assignment is based on the naming convention for a bean's methods, properties and events, and the functional description obtained at run-time from the type library.
- Finally, at335 a reference to a COM object is returned to the caller of the method and the method stops. If the check at 305 determined that a dynamic mapping did not already exist, the reference is to the object created at 330. Otherwise, the reference returned is to an object that was created in a previous dynamic mapping for the CLSID. Re-using the previously generated COM object is desirable because less memory and CPU resources are used.
- The previous section described the general case where a COM method is invoked specifying a component that is implemented by a Java bean. This section describes processing that must take place when an ActiveX client calls COM methods that create component instances using a class identifier (CLSID), such as “CoGetClassObject”, “CoCreateInstance”, or other related APIs for a component that is implemented as a Java bean. Because the client only needs to know the CLSID, the client may be unaware that the component is implemented as a bean. The method is similar to that described in the previous section, with two differences. First, the CLSID is already known and does not have to be determined. Second, the method does not need to apply COM DISPID assignments from the type library.
- Referring now to FIG. 3(b), a flowchart for a computer implemented method to dynamically map a bean invoked as a result of a COM client call to CoGetClassObject and related APIs is presented. The method begins at 350 by checking if a dynamic mapping already exists to the Java class. If not, 355 obtains data on the bean's methods, properties and events using the “java.beans.Introspector.” The method proceeds to 360 which applies an automatic assignment of DISPIDs to JavaBean methods, properties and events. These values are dynamically mapped in the same manner as described with reference to FIG. 3(a).
- Next,370 creates a COM object that implements conventional ItypeLib and ItypeInfo interfaces using and wraps the data gathered at 355 and 365.
- Finally,375 returns a reference to a COM object. If the check at 350 determined a mapping did not already exist, the reference returned is to the object created at 370. Otherwise, the reference returned is to the previously created object.
- The dynamic mapping of an ActiveX control to a Java bean has been described. In particular, systems and methods of creating a mapping using information gathered at run-time from a Java bean component have been described. Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement which is calculated to achieve the same purpose may be substituted for the specific embodiments shown. For example, the systems and methods described herein could be applied to component model interfaces other than ActiveX or JavaBeans. This application is intended to cover any adaptations or variations of the present invention. Therefore, it is manifestly intended that this invention be limited only by the following claims and equivalents thereof.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US09/115,987 US6438744B2 (en) | 1998-07-15 | 1998-07-15 | Dynamic mapping of component interfaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US09/115,987 US6438744B2 (en) | 1998-07-15 | 1998-07-15 | Dynamic mapping of component interfaces |
Publications (2)
Publication Number | Publication Date |
---|---|
US20020004934A1 true US20020004934A1 (en) | 2002-01-10 |
US6438744B2 US6438744B2 (en) | 2002-08-20 |
Family
ID=22364581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/115,987 Expired - Lifetime US6438744B2 (en) | 1998-07-15 | 1998-07-15 | Dynamic mapping of component interfaces |
Country Status (1)
Country | Link |
---|---|
US (1) | US6438744B2 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010007146A1 (en) * | 1999-12-23 | 2001-07-05 | Uwe Hansmann | Method for providing a set of software components |
US20070038986A1 (en) * | 2005-08-15 | 2007-02-15 | Houser Thomas M | Automation of Java application using enhanced late-bound support |
WO2007092231A1 (en) * | 2006-02-03 | 2007-08-16 | Microsoft Corporation | Software system with controlled access to objects |
US20090089762A1 (en) * | 2001-07-24 | 2009-04-02 | The Mathworks, Inc. | Function call translation |
WO2012092324A3 (en) * | 2010-12-28 | 2012-11-08 | Microsoft Corporation | Parameterized interface identifier techniques |
CN106155669A (en) * | 2015-04-18 | 2016-11-23 | 成都复晓科技有限公司 | A kind of software interface and the characteristic parameter matching method of macrolanguage |
CN111857662A (en) * | 2020-07-15 | 2020-10-30 | 曹蕤 | Programming method for describing object specific constitution based on MAP and interface |
Families Citing this family (98)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ATE218721T1 (en) * | 1998-01-02 | 2002-06-15 | Acos Internat Ltd | PROGRAM FLOW METHOD AND METHOD FOR EXPANSION OF A PROGRAM COMPONENT SYSTEM |
US6654881B2 (en) * | 1998-06-12 | 2003-11-25 | Microsoft Corporation | Logical volume mount manager |
JP4005739B2 (en) * | 1999-03-24 | 2007-11-14 | 株式会社東芝 | Agent system, information processing method, and recording medium recording information processing software |
US6920475B1 (en) * | 1999-04-23 | 2005-07-19 | Oracle International Corporation | Communication architecture for distributed computing environment |
WO2000078001A2 (en) * | 1999-06-11 | 2000-12-21 | Microsoft Corporation | General api for remote control of devices |
US6892230B1 (en) | 1999-06-11 | 2005-05-10 | Microsoft Corporation | Dynamic self-configuration for ad hoc peer networking using mark-up language formated description messages |
US6725281B1 (en) * | 1999-06-11 | 2004-04-20 | Microsoft Corporation | Synchronization of controlled device state using state table and eventing in data-driven remote device control model |
WO2000077631A1 (en) * | 1999-06-15 | 2000-12-21 | Sun Microsystems, Inc. | Computer software management system |
US6637021B1 (en) * | 1999-06-30 | 2003-10-21 | Sun Microsystems, Inc. | JavaBean activation framework-common desktop environment bridge |
US6609158B1 (en) * | 1999-10-26 | 2003-08-19 | Novell, Inc. | Component architecture in a computer system |
CA2290167C (en) * | 1999-11-22 | 2008-09-02 | Ibm Canada Limited-Ibm Canada Limitee | Automated interface generation for computer programs in different environments |
US6553387B1 (en) * | 1999-11-29 | 2003-04-22 | Microsoft Corporation | Logical volume configuration data management determines whether to expose the logical volume on-line, off-line request based on comparison of volume epoch numbers on each extents of the volume identifiers |
US6684231B1 (en) * | 1999-11-29 | 2004-01-27 | Microsoft Corporation | Migration of friendly volumes |
US6681310B1 (en) * | 1999-11-29 | 2004-01-20 | Microsoft Corporation | Storage management system having common volume manager |
US6813762B1 (en) * | 2000-02-22 | 2004-11-02 | Freescale Semiconductor, Inc. | Method for processing program files in a programming language capable of dynamic loading |
US7353295B1 (en) | 2000-04-04 | 2008-04-01 | Motive, Inc. | Distributed services architecture through use of a dynamic service point map |
US7334038B1 (en) | 2000-04-04 | 2008-02-19 | Motive, Inc. | Broadband service control network |
US6871345B1 (en) * | 2000-04-04 | 2005-03-22 | Motive, Inc. | Self managing software agents with introspection |
US6704805B1 (en) * | 2000-04-13 | 2004-03-09 | International Business Machines Corporation | EJB adaption of MQ integration in componetbroker |
US7086067B1 (en) | 2000-07-14 | 2006-08-01 | International Business Machines Corporation | Dynamic Java bean for VisualAge for Java |
US8041782B1 (en) | 2000-08-31 | 2011-10-18 | Alcatel Lucent | System of automated configuration of network subscribers for broadband communication |
CA2322594C (en) * | 2000-10-06 | 2005-01-11 | Ibm Canada Limited-Ibm Canada Limitee | System and method for managing web page components |
US6968540B2 (en) * | 2000-10-25 | 2005-11-22 | Opnet Technologies Inc. | Software instrumentation method and apparatus |
US6694507B2 (en) * | 2000-12-15 | 2004-02-17 | International Business Machines Corporation | Method and apparatus for analyzing performance of object oriented programming code |
KR100420473B1 (en) * | 2000-12-30 | 2004-03-02 | 학교법인 명지학원 관동대학교 | An Adaptation Technique for Binary Components through Adaptation Components |
US20040205692A1 (en) * | 2001-01-12 | 2004-10-14 | Robinson Marck R. | Method and system for creating reusable software components through a uniform interface |
US7080373B2 (en) * | 2001-03-07 | 2006-07-18 | Freescale Semiconductor, Inc. | Method and device for creating and using pre-internalized program files |
US7082200B2 (en) * | 2001-09-06 | 2006-07-25 | Microsoft Corporation | Establishing secure peer networking in trust webs on open networks using shared secret device key |
US7254817B2 (en) * | 2001-10-31 | 2007-08-07 | Sun Microsystems, Inc. | Apparatus and methods for integrating APIs for program execution management |
US20030120697A1 (en) * | 2001-12-21 | 2003-06-26 | Lockheed Martin Corporation | System and method for adapting a software control in an operating environment |
US7334215B2 (en) * | 2001-12-21 | 2008-02-19 | Lockheed Martin Corporation | Manager for software controls in an operating environment |
US7281241B2 (en) * | 2002-01-15 | 2007-10-09 | Cadence Design (Israel) Ii Ltd. | System and method for visual debugging of constraint systems |
US7502996B2 (en) * | 2002-02-21 | 2009-03-10 | Bea Systems, Inc. | System and method for fast XSL transformation |
US7962925B2 (en) * | 2002-02-22 | 2011-06-14 | Oracle International Corporation | System and method for XML data binding |
US7065561B2 (en) * | 2002-03-08 | 2006-06-20 | Bea Systems, Inc. | Selective parsing of an XML document |
US7210132B2 (en) * | 2002-05-30 | 2007-04-24 | Microsoft Corporation | Interoperability of objects between various platforms |
KR100463837B1 (en) * | 2002-12-10 | 2004-12-29 | 한국전자통신연구원 | Method and apparatus for extracting an enterprise beans from servlet source code |
CN1306430C (en) * | 2002-12-31 | 2007-03-21 | 上海科泰世纪科技有限公司 | User self-defining event mechanism based on structure |
US7210121B2 (en) * | 2003-02-07 | 2007-04-24 | Sun Microsystems, Inc. | Method and system for generating first class citizen application implementing native software application wrapper |
US7765281B1 (en) | 2003-03-10 | 2010-07-27 | Motive, Inc. | Large-scale targeted data distribution system |
US7490332B2 (en) * | 2003-04-04 | 2009-02-10 | Sesma Systems, Inc. | System and method for accessing ActiveX objects in a platform dependent environment from objects in a platform independent environment |
US7478408B2 (en) * | 2003-04-04 | 2009-01-13 | Sesma Systems, Inc. | System and method for accessing objects in a platform dependent environment from a platform independent environment |
EP1730629A4 (en) * | 2004-03-02 | 2010-06-23 | Metaphor Vision Ltd | Device, system and method for accelerated modeling |
US7177878B2 (en) * | 2004-04-13 | 2007-02-13 | International Business Machines Corporation | Simple persistence mechanism for server based web applications |
US7904488B2 (en) | 2004-07-21 | 2011-03-08 | Rockwell Automation Technologies, Inc. | Time stamp methods for unified plant model |
US7831958B2 (en) * | 2004-07-28 | 2010-11-09 | International Business Machines Corporation | Systems and methods for distributing updated information |
US7526502B2 (en) * | 2004-09-10 | 2009-04-28 | Microsoft Corporation | Dynamic call site binding |
US8756521B1 (en) | 2004-09-30 | 2014-06-17 | Rockwell Automation Technologies, Inc. | Systems and methods for automatic visualization configuration |
US7823169B1 (en) | 2004-10-28 | 2010-10-26 | Wheeler Thomas T | Performing operations by a first functionality within a second functionality in a same or in a different programming language |
US7774789B1 (en) | 2004-10-28 | 2010-08-10 | Wheeler Thomas T | Creating a proxy object and providing information related to a proxy object |
US8266631B1 (en) | 2004-10-28 | 2012-09-11 | Curen Software Enterprises, L.L.C. | Calling a second functionality by a first functionality |
US20060101412A1 (en) * | 2004-11-10 | 2006-05-11 | Microsoft Corporation | Method to bridge between unmanaged code and managed code |
US7594217B2 (en) * | 2004-12-07 | 2009-09-22 | International Business Machines Corporation | Matching client interfaces with service interfaces |
US7779430B2 (en) * | 2004-12-15 | 2010-08-17 | International Business Machines Corporation | Method, system, and article of manufacture for providing service components |
US7739656B2 (en) * | 2004-12-15 | 2010-06-15 | International Business Machines Corporation | Generating asynchronous interfaces and methods from synchronous interfaces and methods |
US7797688B1 (en) | 2005-03-22 | 2010-09-14 | Dubagunta Saikumar V | Integrating applications in multiple languages |
US7861212B1 (en) | 2005-03-22 | 2010-12-28 | Dubagunta Saikumar V | System, method, and computer readable medium for integrating an original application with a remote application |
US8578349B1 (en) * | 2005-03-23 | 2013-11-05 | Curen Software Enterprises, L.L.C. | System, method, and computer readable medium for integrating an original language application with a target language application |
US7809683B2 (en) | 2005-05-13 | 2010-10-05 | Rockwell Automation Technologies, Inc. | Library that includes modifiable industrial automation objects |
US7672737B2 (en) | 2005-05-13 | 2010-03-02 | Rockwell Automation Technologies, Inc. | Hierarchically structured data model for utilization in industrial automation environments |
US7676281B2 (en) | 2005-05-13 | 2010-03-09 | Rockwell Automation Technologies, Inc. | Distributed database in an industrial automation environment |
US7650405B2 (en) | 2005-05-13 | 2010-01-19 | Rockwell Automation Technologies, Inc. | Tracking and tracing across process boundaries in an industrial automation environment |
US8799800B2 (en) | 2005-05-13 | 2014-08-05 | Rockwell Automation Technologies, Inc. | Automatic user interface generation |
US7650600B2 (en) * | 2005-06-20 | 2010-01-19 | Microsoft Corporation | Unique identifier resolution interfaces for lightweight runtime identity |
US20070039010A1 (en) * | 2005-08-15 | 2007-02-15 | Microsoft Corporation | Automatic generation of software code to facilitate interoperability |
US7881812B2 (en) | 2005-09-29 | 2011-02-01 | Rockwell Automation Technologies, Inc. | Editing and configuring device |
US7548789B2 (en) | 2005-09-29 | 2009-06-16 | Rockwell Automation Technologies, Inc. | Editing lifecycle and deployment of objects in an industrial automation environment |
US7801628B2 (en) | 2005-09-30 | 2010-09-21 | Rockwell Automation Technologies, Inc. | Industrial operator interfaces interacting with higher-level business workflow |
US7734590B2 (en) | 2005-09-30 | 2010-06-08 | Rockwell Automation Technologies, Inc. | Incremental association of metadata to production data |
US7660638B2 (en) | 2005-09-30 | 2010-02-09 | Rockwell Automation Technologies, Inc. | Business process execution engine |
US7526794B2 (en) | 2005-09-30 | 2009-04-28 | Rockwell Automation Technologies, Inc. | Data perspectives in controller system and production management systems |
US8275680B2 (en) | 2005-09-30 | 2012-09-25 | Rockwell Automation Technologies, Inc. | Enabling transactional mechanisms in an automated controller system |
US8484250B2 (en) | 2005-09-30 | 2013-07-09 | Rockwell Automation Technologies, Inc. | Data federation with industrial control systems |
US8458661B2 (en) | 2006-03-31 | 2013-06-04 | Ebay Inc. | Distributed parallel build system |
US7810140B1 (en) | 2006-05-23 | 2010-10-05 | Lipari Paul A | System, method, and computer readable medium for processing a message in a transport |
US7844759B1 (en) | 2006-07-28 | 2010-11-30 | Cowin Gregory L | System, method, and computer readable medium for processing a message queue |
US8032877B2 (en) * | 2006-10-20 | 2011-10-04 | International Business Machines Corporation | Compiler neutral linking solution for C++ code |
US7660780B1 (en) | 2006-12-22 | 2010-02-09 | Patoskie John P | Moving an agent from a first execution environment to a second execution environment |
US7702603B1 (en) | 2006-12-22 | 2010-04-20 | Hauser Robert R | Constructing an agent that utilizes a compiled set of canonical rules |
US9311141B2 (en) | 2006-12-22 | 2016-04-12 | Callahan Cellular L.L.C. | Survival rule usage by software agents |
US8132179B1 (en) | 2006-12-22 | 2012-03-06 | Curen Software Enterprises, L.L.C. | Web service interface for mobile agents |
US7949626B1 (en) | 2006-12-22 | 2011-05-24 | Curen Software Enterprises, L.L.C. | Movement of an agent that utilizes a compiled set of canonical rules |
US7698243B1 (en) | 2006-12-22 | 2010-04-13 | Hauser Robert R | Constructing an agent in a first execution environment using canonical rules |
US8200603B1 (en) | 2006-12-22 | 2012-06-12 | Curen Software Enterprises, L.L.C. | Construction of an agent that utilizes as-needed canonical rules |
US7860517B1 (en) | 2006-12-22 | 2010-12-28 | Patoskie John P | Mobile device tracking using mobile agent location breadcrumbs |
US7702602B1 (en) | 2006-12-22 | 2010-04-20 | Hauser Robert R | Moving and agent with a canonical rule from one device to a second device |
US7970724B1 (en) | 2006-12-22 | 2011-06-28 | Curen Software Enterprises, L.L.C. | Execution of a canonical rules based agent |
US7664721B1 (en) | 2006-12-22 | 2010-02-16 | Hauser Robert R | Moving an agent from a first execution environment to a second execution environment using supplied and resident rules |
US7702604B1 (en) | 2006-12-22 | 2010-04-20 | Hauser Robert R | Constructing an agent that utilizes supplied rules and rules resident in an execution environment |
US7660777B1 (en) | 2006-12-22 | 2010-02-09 | Hauser Robert R | Using data narrowing rule for data packaging requirement of an agent |
US8423496B1 (en) | 2006-12-22 | 2013-04-16 | Curen Software Enterprises, L.L.C. | Dynamic determination of needed agent rules |
CA2662344A1 (en) * | 2008-04-09 | 2009-10-09 | Amy Ascroft | Sleeping bag attachment system |
US9639375B2 (en) * | 2008-08-28 | 2017-05-02 | Red Hat, Inc. | Generation of language bindings for libraries using data from compiler generated debug information |
US20100088690A1 (en) * | 2008-10-03 | 2010-04-08 | Microsoft Corporation | Replacing the identity of an activex control |
US8484401B2 (en) | 2010-04-15 | 2013-07-09 | Rockwell Automation Technologies, Inc. | Systems and methods for conducting communications among components of multidomain industrial automation system |
US8984533B2 (en) | 2010-04-15 | 2015-03-17 | Rockwell Automation Technologies, Inc. | Systems and methods for conducting communications among components of multidomain industrial automation system |
US9392072B2 (en) | 2010-04-15 | 2016-07-12 | Rockwell Automation Technologies, Inc. | Systems and methods for conducting communications among components of multidomain industrial automation system |
US9436487B2 (en) * | 2012-03-29 | 2016-09-06 | Adobe Systems Incorporated | Method and apparatus for creating a platform agnostic application file |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5515536A (en) | 1992-11-13 | 1996-05-07 | Microsoft Corporation | Method and system for invoking methods of an object through a dispatching interface |
US6209125B1 (en) | 1997-06-03 | 2001-03-27 | Sun Microsystems, Inc. | Method and apparatus for software component analysis |
US5995945A (en) | 1997-08-25 | 1999-11-30 | I2 Technologies, Inc. | System and process for inter-domain planning analysis and optimization using model agents as partial replicas of remote domains |
US5931900A (en) | 1997-08-25 | 1999-08-03 | I2 Technologies, Inc. | System and process for inter-domain interaction across an inter-domain connectivity plane |
US5963955A (en) | 1997-09-30 | 1999-10-05 | International Business Machines Corporation | Bridge for exporting and importing objects between object oriented programming environments |
-
1998
- 1998-07-15 US US09/115,987 patent/US6438744B2/en not_active Expired - Lifetime
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010007146A1 (en) * | 1999-12-23 | 2001-07-05 | Uwe Hansmann | Method for providing a set of software components |
US20090089762A1 (en) * | 2001-07-24 | 2009-04-02 | The Mathworks, Inc. | Function call translation |
US20070038986A1 (en) * | 2005-08-15 | 2007-02-15 | Houser Thomas M | Automation of Java application using enhanced late-bound support |
WO2007092231A1 (en) * | 2006-02-03 | 2007-08-16 | Microsoft Corporation | Software system with controlled access to objects |
US20070199000A1 (en) * | 2006-02-03 | 2007-08-23 | Microsoft Corporation | Software system with controlled access to objects |
US7818798B2 (en) | 2006-02-03 | 2010-10-19 | Microsoft Corporation | Software system with controlled access to objects |
KR101354743B1 (en) | 2006-02-03 | 2014-02-18 | 마이크로소프트 코포레이션 | Software system with controlled access to objects |
WO2012092324A3 (en) * | 2010-12-28 | 2012-11-08 | Microsoft Corporation | Parameterized interface identifier techniques |
US8667466B2 (en) | 2010-12-28 | 2014-03-04 | Microsoft Corporation | Parameterized interface identifier techniques |
CN106155669A (en) * | 2015-04-18 | 2016-11-23 | 成都复晓科技有限公司 | A kind of software interface and the characteristic parameter matching method of macrolanguage |
CN111857662A (en) * | 2020-07-15 | 2020-10-30 | 曹蕤 | Programming method for describing object specific constitution based on MAP and interface |
Also Published As
Publication number | Publication date |
---|---|
US6438744B2 (en) | 2002-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6438744B2 (en) | Dynamic mapping of component interfaces | |
US6157960A (en) | Technique for programmatically creating distributed object programs | |
US5745683A (en) | System and method for allowing disparate naming service providers to dynamically join a naming federation | |
EP0784268B1 (en) | Generic remote procedure call system and method | |
US6064382A (en) | Object oriented apparatus and method for providing a graphical user interface for host-based software applications | |
JP4146983B2 (en) | Process method and data processing system for calling method of server object | |
US7219329B2 (en) | Systems and methods providing lightweight runtime code generation | |
US6981250B1 (en) | System and methods for providing versioning of software components in a computer programming language | |
US6877163B1 (en) | Method and system for dynamic proxy classes | |
EP1082654B1 (en) | Referencing a method in object-based programming | |
US8359570B2 (en) | Adaptive scripting tool | |
US8484609B2 (en) | Specification files for call translation and trace | |
US20040006762A1 (en) | System and method for creation of software components | |
US20040268301A1 (en) | Adding new compiler methods to an integrated development environment | |
JPH05274151A (en) | System and method for determining new class object | |
JP2002522844A (en) | Method and apparatus for translating and executing native code in a virtual machine environment | |
US8271622B2 (en) | Method and apparatus for a system management tool to adapt command interface and behavior based on installed features | |
WO2006099061A2 (en) | Dynamic creation of proxy software objects at time of execution | |
US20020152457A1 (en) | Methods and systems for providing polymorphism in a programming language | |
US20060053138A1 (en) | Runtime support for nullable types | |
US6799320B1 (en) | Providing binding options for component interfaces | |
US6675227B1 (en) | Method for providing a service implementation for both EJB and non-EJB environments | |
US6951022B1 (en) | Delegate-based event handling | |
US6986143B2 (en) | Reducing the size of generated code used to call common object model objects, while preserving type-checking | |
US7958145B2 (en) | Creating multiple MBeans from a factory MBean |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: MICROSOFT CORPORATION, WASHINGTON Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TOUTONGHI, MICHAEL J.;SHARPE, TRACY C.;REEL/FRAME:009528/0091;SIGNING DATES FROM 19981008 TO 19981009 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
CC | Certificate of correction | ||
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
FPAY | Fee payment |
Year of fee payment: 12 |
|
AS | Assignment |
Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTON Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034541/0001 Effective date: 20141014 |