Transformation of Objects Between a Computer
Total Page:16
File Type:pdf, Size:1020Kb
Europäisches Patentamt *EP001290547B1* (19) European Patent Office Office européen des brevets (11) EP 1 290 547 B1 (12) EUROPEAN PATENT SPECIFICATION (45) Date of publication and mention (51) Int Cl.7: G06F 9/00 of the grant of the patent: 07.01.2004 Bulletin 2004/02 (86) International application number: PCT/US2001/015276 (21) Application number: 01937315.8 (87) International publication number: (22) Date of filing: 09.05.2001 WO 2001/086427 (15.11.2001 Gazette 2001/46) (54) TRANSFORMATION OF OBJECTS BETWEEN A COMPUTER PROGRAMMING LANGUAGE AND A DATA REPRESENTATION LANGUAGE TRANSFORMATION VON OBJEKTEN ZWISCHEN EINER RECHNERPROGRAMMIERSPRACHE UND EINER DATEN-DARSTELLUNGSSPRACHE TRANSFORMATION D’OBJETS ENTRE UN LANGAGE DE PROGRAMMATION ET UN LANGAGE DE REPRESENTATION DE DONNEES (84) Designated Contracting States: • DUIGOU, Michael, J. AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU Fremont, CA 94555 (US) MC NL PT SE TR (74) Representative: Davies, Simon Robert (30) Priority: 09.05.2000 US 202975 P D Young & Co, 26.05.2000 US 208011 P 21 New Fetter Lane 02.06.2000 US 209430 P London, EC4A 1DA (GB) 02.06.2000 US 209140 P 05.06.2000 US 209525 P (56) References cited: 15.09.2000 US 663563 WO-A-00/17748 (43) Date of publication of application: • ALLAIRE J: "The Emerging Distributed Web Part 12.03.2003 Bulletin 2003/11 3/4 and 4/4" , September 1998 (1998-09), pages 1-9, XP002135919 (60) Divisional application: • MUELLER-WILKEN S ET AL: "XML and Jini - On 03021805.1 Using XML and the JAVA Border Service Architecture to integrate mobile devices into the (73) Proprietor: Sun Microsystems, Inc. JAVA Intelligent Network Infrastructure" , 29 Santa Clara, California 95054 (US) February 2000 (2000-02-29), XP002188507 • SIMEONOV S: "WDDX: Distributed Data for the (72) Inventors: Web (URL)" , 7 December 1998 (1998-12-07), • SLAUGHTER, Gregory, L. pages 1-7, XP002135918 Palo Alto, CA 94306 (US) • M. JOHNSON: "XML JavaBeans, Part 2" JAVA • SAULPAUGH, Thomas, E. WORLD, [Online] March 1999 (1999-03), pages San Jose, CA 95120 (US) 1-8, XP002212704 Retrieved from the Internet: • TRAVERSAT, Bernard, A. <URL:http://www.javaworld.com/javaworld/j Menlo Park, CA 94025 (US) w -03-1999/jw-03-beans_p.html> [retrieved • ABDELAZIZ, Mohamed, M. on 2002-09-06] Santa Clara, CA 95051 (US) Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention). EP 1 290 547 B1 Printed by Jouve, 75001 PARIS (FR) EP 1 290 547 B1 Description BACKGROUND OF THE INVENTION 5 1. Field of the Invention [0001] This invention relates to virtual machines, and more particularly to transformation between computer pro- gramming language objects and data representation language representations of the objects. 10 2. Description of the Related Art [0002] Intelligent devices are becoming increasingly common. Such devices range from smart appliances, personal digital assistants (PDAs), cell phones, lap top computers, desktop computers, workstations, mainframes; even, super computers. Networks are also becoming an increasingly common way to interconnect intelligent devices so that they 15 may communicate with one another. However, there may be large differences in the computing power and storage capabilities of various intelligent devices. Devices with more limited capabilities may be referred to as small footprint devices or "thin" devices. Thin devices may not be able to participate in networks interconnecting more capable devices. However, it may still be desirable to interconnect a wide variety of different types of intelligent devices. [0003] The desire to improve networking capabilities is ever increasing. Business networks are expanding to include 20 direct interaction with suppliers and customers. Cellular phones, personal digital assistants and Internet-enabled com- puters are commonplace in both business and the home. Home networks are available for interconnecting audio/visual equipment such as televisions and stereo equipment to home computers, and other devices to control intelligent sys- tems such as security systems and temperature control thermostats. High bandwidth mediums such as cable and ASDL enable improved services such as Internet access video on demand, e-commerce, etc. Network systems are 25 becoming pervasive. Even without a formal network, it is still desirable for intelligent devices to be able to communicate with each other and share resources. [0004] Currently, traditional networks are complex to set up, expand and manage. For example, adding hardware or software to a network often requires a network administrator to load drivers and configure systems. Making small changes to a network configuration may require that the entire network be brought down for a period. In addition, 30 certain intelligent devices may not support the necessary interfaces to communicate on a given network. [0005] What is needed is a simple way to connect various types of intelligent devices to allow for communication and sharing of resources while avoiding the interoperability and complex configuration problems existing in conven- tional networks. Various technologies exist for improving the addition of devices to a network. For example, many modem I/O buses, such as the Universal Serial Bus, 1394 and PCI, support plug and play or dynamic discovery pro- 35 tocols to simplify the addition of a new device on the bus. However, these solutions are limited to specific peripheral buses and are not suitable for general networks. [0006] A more recent technology, Jini from Sun Microsystems, Inc., seeks to simplify the connection and sharing of devices such as printers and disk drives on a network. A device that incorporates Jini may announce itself to the network, may provide some details about its capabilities, and may immediately become accessible to other devices 40 on the network. Jini allows for distributed computing where the capabilities of the various devices are shared on a network. The Jini technology seeks to enable users to share services and resources over a network. Another goal of the Jini technology is to provide users with easy access to resources anywhere on the network while allowing the network location of the user to change. Jini also seeks to simplify the task of building, maintaining and altering a network of devices, software and users. 45 [0007] Jini requires that each Jini enabled device have a certain amount of memory and processing power. Typically, a Jini enabled device is equipped with a Java Virtual Machine (JVM). Thus, Jini systems are Java technology centered. Java is a high level object oriented programming language developed by Sun Microsystems, Inc. Java source code may be compiled into a format called bytecode, which may then be executed by a Java Virtual Machine. [0008] Bytecode is computer source code that is processed by a virtual machine, rather than the "real" computer 50 machine, the hardware processor. The virtual machine converts generalized machine instruction (the bytecode) into specific machine instructions (instructions that the computer's processor will understand). Using a language that comes with a virtual machine for each platform, the source language statements may be compiled only once and may then run on any platform that supports the virtual machine. The Java programming language is an example of such a lan- guage, and the Java Virtual Machine (JVM) is an example of a virtual machine platform that supports programs written 55 in the Java programming language. Since Java Virtual Machines may be provided for most computing platforms, Java and thus Jini provide for a certain amount of platform independence. The Jini architecture leverages off the assumption that the Java programming language is the implementation language for the components of the Jini system. The ability to dynamically download and run Java code is central to many features of the Jini architecture. 2 EP 1 290 547 B1 [0009] The purpose of the Jini architecture is to federate groups of devices and software components into a single dynamic distributed system. A key concept within the Jini architecture is that of a service. A service is an entity that can be used by a person, a program, or another service. Two examples of services are printing a document and translating from one word processor format to another. Jini allows the members of a Jini system to share access to 5 services. Services in a Jini system communicate with each other by using a service protocol, which is a set of interfaces written in the Java programming language. Services are found and resolved in a Jini system by a look-up service. A look-up service maps interfaces indicating the functionality provided by a service to sets of objects that implement the service. [0010] Descriptive entries may also be associated with a service. Devices and applications use a process known as 10 discovery to register with the Jini network. Once registered, the device or application places itself in the look-up service. The look-up service may store not only pointers to these services on the network, but also may store the code for accessing these services. For example, when a printer registers with the look-up service, it loads its printer driver and/ or an interface to the driver into the look-up service. When a client wants to use the printer, the driver and driver interface are downloaded from the look-up service to the client. This code mobility means that clients can take advantage of 15 services from the network without pre-installing or loading drivers or other software. [0011] Communication between services in a Jini system is accomplished using the Java Remote Method Invocation (RMI).