# US 2004/0210585 A1 · Interface definition language compiler

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0210585 A1
- Document ID: US20040210585A1
- Status: Published application
- Kind: A1
- Application number: 10/844,748
- Filed: 2004-05-13
- Published: 2004-10-21
- Earliest claimed: 2001-03-26
- Assignees: Dassault Systemes
- Inventors: David Tewksbary
- Web page: https://patentgrep.com/patent/US20040210585A1

## CPC

- G06F 8/41: Compilation
- Y10S 707/99944: Object-oriented database structure
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

A distributed computer application can be made to communicate with a plurality of computer architectures. A first compiler compiles and converts input interface source code to produce a high level language including a plurality of computer architecture interfaces. A second compiler integrates application source code with the converted interface source code to produce the distributed computer application with the plurality of computer architecture interfaces that enable the distributed computer application to communicate with the plurality of computer architectures.

## Claims

### Claim at position 1

-11. (Cancelled)

### Claim 12

A method for use in producing a plurality of computer architecture interfaces that enable a distributed computer application to communicate with a plurality of computer architectures, comprising:
providing source code written in an interface definition language;
providing a compiler capable of compiling the source code and producing the plurality of computer architecture interfaces;
setting at least one compiler flag to determine the plurality of computer architecture interfaces that the compiler will produce;
and compiling the source code to produce the plurality of computer architecture interfaces that enable the distributed computer application to communicate with the plurality of computer architectures, the compiling including executing a classification process whereby elements in the source code are categorized into classes to allow management of object lifetime.

### Claim 13 (depends on 12)

The method of claim 12 wherein compiling the source code further comprises producing the distributed computer application to be executable on a plurality of computer architectures.

### Claim 14 (depends on 12)

The method of claim 12 wherein compiling the source code further comprises producing at least one of an RMI-EJB interface, an RMI-JNI interface, and an EJB-JNI interface.

### Claim 15 (depends on 12)

The method of claim 12 further comprising deploying the distributed computer application with the plurality of interfaces on a computing system having a plurality of clients and a plurality of servers.

### Claim 16 (depends on 15)

The method of claim 15 further comprising sharing a plurality of services provided by one of the plurality of servers with the rest of the plurality of servers and the plurality of clients.

### Claim 17

A method for use in producing a distributed computer application capable of communicating with a plurality of computer architectures, comprising:
providing interface source code written in an interface definition language;
providing application source code written in a high level language;
providing a first compiler capable of compiling the interface source code, converting the interface source code to the high level language, and producing a plurality of computer architecture interfaces;
setting at least one compiler flag to determine the plurality of computer architecture interfaces that the first compiler will produce;
compiling the interface source code to convert the interface source code to the high level language, the converted interface source code including the plurality of computer architecture interfaces, the compiling including executing a classification process whereby elements in the source code are categorized into classes to allow management of object lifetime; and
compiling the application source code and the converted interface source code with a second compiler to integrate the application source code with the converted interface source code to produce the distributed computer application with the plurality of computer architecture interfaces that enable the distributed computer application to communicate with the plurality of computer architectures.

### Claim 18 (depends on 17)

The method of claim 17 wherein compiling the application source code further comprises producing the distributed computer application to be executable on a plurality of computer architectures.

### Claim 19 (depends on 17)

The method of claim 17 wherein compiling the interface source code further comprises producing at least one of an RMI-EJB interface, an RMI-JNI interface, and an EJB-JNI interface.

### Claim 20 (depends on 17)

The method of claim 17 further comprising deploying the distributed computer application with the plurality of interfaces on a computing system having a plurality of clients and a plurality of servers.

### Claim 21 (depends on 20)

The method of claim 20 further comprising sharing a plurality of services provided by one of the plurality of servers with the rest of the plurality with the rest of the plurality of servers and the plurality of clients.

### Claim 22

A method for use in compiling Interface Definition Language (IDL) source code, comprising:
executing a classification process whereby each of a plurality of elements in an IDL source code which are used in defining a particular interface for each of a plurality of desired interfaces is classified for each of a plurality of computer architecture interfaces;
determining which of the plurality of elements in the IDL source code manage object lifetime, and based on this determination, generating an independent factory class differently for each of a plurality of architectures;
creating a plurality of objects for each of a plurality of computer architecture interfaces;
categorizing objects that must be maintained on a server for the lifetime of the object as a stateful objects such that the objects can be managed by the plurality of architectures;
categorizing objects that have no internal attributes as stateless objects such that the objects can be managed by the plurality of architectures;
performing a transformation process to create a session class for each of the plurality of desired object interfaces;
forming an abstraction around each of a plurality of services for the particular interface to hide the particularities of each of the plurality of services; and
modifying an application programming interface for each of the plurality of desired interfaces to include the session class;
allowing transparent transmission of a particular service requested by an application from tier to tier in a multi-tiered network.
