Calling a second functionality by a first functionality

Information

  • Patent Grant
  • 8266631
  • Patent Number
    8,266,631
  • Date Filed
    Thursday, October 28, 2004
    21 years ago
  • Date Issued
    Tuesday, September 11, 2012
    13 years ago
Abstract
A method, system, and computer readable medium for calling a second functionality by a first functionality comprises calling a third functionality by the first functionality, wherein the calling includes passing arguments to the third functionality, calling a fourth functionality by the third functionality, wherein the calling includes passing the arguments to the fourth functionality, calling a fifth functionality via the fourth functionality, wherein the calling includes marshalling a request related to the arguments and passing the marshaled request to the fifth functionality, calling a sixth functionality via the fifth functionality, wherein the calling includes unmarshalling the marshaled request, calling the second functionality by the sixth functionality, wherein the calling includes passing the arguments related to the unmarshalled request to the second functionality, returning a response related to the arguments by the second functionality to the fifth functionality via the sixth functionality, calling the fourth functionality by the fifth functionality, wherein the calling includes marshalling the response and passing the marshaled response to the fourth functionality, returning a reply to the third functionality by the fourth functionality, wherein the reply includes unmarshalling the marshaled response, and returning the unmarshalled response to the first functionality by the third functionality.
Description
CROSS REFERENCE TO RELATED APPLICATIONS

The present invention is related to patent application Ser. No. 10/975,146, now U.S. Pat. No. 7,823,169 B1 entitled PERFORMING OPERATIONS BY A FIRST FUNCTIONALITY WITHIN A SECOND FUNCTIONALITY IN A SAME OR IN A DIFFERENT PROGRAMMING LANGUAGE, and to patent application Ser. No. 10/975,623, now U.S. Pat. No. 7,774,789 B1 entitled CREATING A PROXY OBJECT AND PROVIDING INFORMATION RELATED TO A PROXY OBJECT, which are incorporated by reference herein, assigned to the assignee of the present invention, and are filed on even date herewith.


BACKGROUND OF THE INVENTION

The present invention is related to performing operations in a programming language, and, more specifically to calling a second functionality (such as a server) by a first functionality (such as a client).


According to the present invention, an architect console is utilized through which at least one proxy and adapter are provided to a selected source. The architect console analyzes source code, methods within classes that will be exposed are selected, and mapping and various generation options for those methods are provided. The analyzing allows a database of classes, methods, and fields to be built. Based on a received command, all of the proxies, adapters and streamers that will be needed to perform invocations (for example, remote invocations) are generated in an appropriate source language. For example, if a server associated with JAVA code whose functionality is to be exposed to a C++ client, then JAVA adapters are generated for the server, and C++ source code proxies are generated for the client.


Within the proxy of the present invention, initialization code, at least one proxy method, and at least one lookup method exist. The initialization code registers a type of that proxy within the run time, and registers method streamers used to marshal and unmarshal arguments, and return values passed during invocations. The proxy methods have the same signature as the business method of the object that is being exposed. As such, the client “believes” that it is accessing the business object directly but it is really invoking the business object through the proxy. The lookup method is called by the client in order to acquire a proxy that is found in a naming service.


Within the adapter of the present invention, at least one bind method, and an invoke method, exist. The bind method can be called to register an adapter in the naming service, while the invoke method, which will be called by the run time, will dispatch the invocation to the appropriate business method.


A problem exists in the current art of effectively and efficiently acquiring an initial remote reference to a remote object. In order to do so, the present invention comprises a naming service that binds an object into a well known name, and a client that uses that well known name to acquire a proxy to the object in as few steps as possible. It is also desirous to efficiently acquire a reference to a proxy that is found in a naming service. The present invention further comprises effectively and efficiently calling a second functionality (such as a server) by a first functionality (such as a client) in order to return a response to the first functionality.


SUMMARY OF THE INVENTION

The present invention overcomes prior art problems and limitations by calling a second functionality by a first functionality in order to return a response to the first functionality.


In one embodiment, a method for calling a second functionality by a first functionality comprises calling a third functionality by the first functionality, wherein the calling includes passing arguments to the third functionality, calling a fourth functionality by the third functionality, wherein the calling includes passing the arguments to the fourth functionality, calling a fifth functionality via the fourth functionality, wherein the calling includes marshalling a request related to the arguments and passing the marshaled request to the fifth functionality, calling a sixth functionality via the fifth functionality, wherein the calling includes unmarshalling the marshaled request, calling the second functionality by the sixth functionality, wherein the calling includes passing the arguments related to the unmarshalled request to the second functionality, returning a response related to the arguments by the second functionality to the fifth functionality via the sixth functionality, calling the fourth functionality by the fifth functionality, wherein the calling includes marshalling the response and passing the marshaled response to the fourth functionality, returning a reply to the third functionality by the fourth functionality, wherein the reply includes unmarshalling the marshaled response, and returning the unmarshalled response to the first functionality by the third functionality.


In another embodiment, a method for calling a second functionality by a first functionality comprises calling a third functionality by the first functionality, calling a fourth functionality by the third functionality, receiving arguments by the fourth functionality, calling a fifth functionality via the fourth functionality, marshalling a request related to the arguments, passing the marshaled request to the fifth functionality, calling a sixth functionality via the fifth functionality, unmarshalling the marshaled request, calling the second functionality by the sixth functionality, and passing the arguments related to the unmarshalled request to the second functionality.


In a further embodiment, a computer readable medium comprises instructions for: marshalling a request related to received arguments, unmarshalling the marshaled request, passing arguments related to the unmarshalled request, returning a response related to the arguments, marshalling the response, unmarshalling the marshaled response, and returning the unmarshalled response.


In yet another embodiment, a system for returning an unmarshalled response comprises a server, and a client operably coupled to the server, wherein the client comprises means for: calling and passing arguments to a proxy object, calling and passing the arguments to at least one of: a reference holder, and a reference, and calling a request handler, wherein the server comprises means for: receiving a marshaled request related to the arguments, calling an adapter, unmarshalling the marshaled request, and passing the arguments related to the unmarshalled request.


In yet a further embodiment, a system comprises a server, and a client operably coupled to the server, wherein the client is adapted to: pass arguments to a proxy object, pass the arguments to at least one of: a reference holder, and a reference, and wherein the server is adapted to: receive a marshaled request related to the arguments, unmarshall the marshaled request, and pass the arguments related to the unmarshalled request.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 depicts a flow diagram of a client performing a remote invocation in accordance with a preferred embodiment of the present invention;



FIG. 2 depicts a flow diagram of a server responding to the client performing the remote invocation in accordance with a preferred embodiment of the present invention;



FIG. 3 depicts a flow diagram of a client calling a server in accordance with a preferred embodiment of the present invention; and



FIG. 4 depicts a flow diagram of a server responding to the client calling the server in accordance with a preferred embodiment of the present invention.





DETAILED DESCRIPTION OF THE INVENTION


FIG. 1 depicts a flow diagram 10 of a client 12 performing a remote invocation. A method 14a in a business object 16 is called on the client 12 and the business object 16 performs a remote invocation within that method 14a. A proxy method 14 is called on a proxy 18 passing various arguments. The proxy 18, which is generated by an architect console (not shown), calls a super class invoke method (not shown) which performs an invoke method 20 on a reference holder 22. The reference holder 22 is an object that contains information necessary to perform the remote invocation in terms of having the address of the object, being able to acquire a connection to it and sending the data to a server side (not shown) using that connection.


When a remote reference is acquired, either by performing a lookup (described further below) or as the result of the server returning a remote reference through another invocation, the reference information is encapsulated in data that is passed back to the client. The client then uses the information to create the address information, the reference holder and reference, and proxy, to be able to perform that invocation. The present invention includes a two-layer design for the reference information in that multiple protocols are supported. The reference holder 22 contains the information that is necessary for performing any kind of remote invocation. Protocol specific references 24, such as IRMP reference, SOAP reference, the JAVA run time, and others, are further supported by the present invention. These references 24 provide the mechanism to perform communication in the appropriate messaging protocol for that type of reference. For example, a SOAP reference takes an invocation consisting of the proxy 18 which is being invoked on, and the arguments. A connection 32 (such a TCP connection) to the server is acquired 30 (via a transport 28) based on the address of the proxy 18 that is being invoked on. The message is then sent 34 in the appropriate protocol via the connection 32 and a response 36 from the connection is received.


The appropriate protocol for a reference is decided upon when a lookup is performed or when a remote invocation returns a remote reference. During such instances, information is received, such as the address information, that is used to create a reference of the appropriate type. In the case of a lookup, part of the information that is passed includes the naming protocol to use. The naming protocol is associated with a messaging protocol.


If a server is returning a remote reference to the client as part of an invocation, and since the remote reference is going to be processed by a SOAP reference or an IRMP reference, for example, the server will already know this fact. In a naming service, when a lookup is performed, information is passed that is in a URL format. For example, an irmp://host:port/name URL would be passed to perform a lookup in the IRMP protocol. When a reference (IRMP or SOAP, for example) sends the invocation out across the network, it marshals the arguments in the appropriate protocol format (IRMP or SOAP), and sends any other necessary information to perform the invocation across the network to the server. Using the message streamer registered in the proxy initialization code, the argument types that are being passed can be ascertained and those streamers are able to marshal the argument of that type in the appropriate protocol. As such, streamers for native primitive object types (such as integer and string for both IRMP and SOAP) exist and if custom types exist that will be passed back and forth, then streamers for those types would be present as well. When a response is received, any objects that were returned by the server are unmarshaled using the appropriate streamer.


The initialization code for the proxy consists of registering a type within the run time and registering method streamers for every method that the proxy exposes. The type is the unique string that uniquely identifies that type. This allows the distributed system of the present invention to be cross-language and permits the mapping from a generic cross-language type to the appropriate language-specific type.


Referring now to FIG. 2, a flow diagram 40 of a server 42 responding to the client 12 performing the remote invocation is depicted. A request manager 44, which is associated with the connection 32, is adapted to receive incoming invocations via the connection. When the request manager 44 begins to receive an incoming invocation, it inquires as to the ability of each request handler 46 (which is protocol specific and is a counter-part to the client side protocol specific reference 24) to process 48 the incoming invocation. If a request handler 46 is able to process the invocation, the connection is handed off to the appropriate request handler 46. The request handler 46 receives the incoming invocation from the connection 32 and reads the request off of the stream. In other words, the request handler 46 is reading the data off the socket and turning it into actual invocation data that is going to be processed. The request handler 46 uses streamers as the client 12 with an exception that where the client is streaming language-specific objects to protocol-specific data, the streaming occurs from protocol-specific to language-specific. In addition, the streamers may have been in a different language to the client side streamers, for example Java instead of C++. The invocation includes information such as the arguments and other information that is necessary to uniquely resolve the object that will be invoked and perform the invocation.


Once this information is received, an adapter 58 for that object is obtained from an ORB server 54 that maintains a mapping between an object ID and the adapter for that object. Based on the foregoing, the adapter that is going to be invoked is determined. The request handler 46 performs an invocation 56 which is received by the adapter 58 which is comprised of code generated from the architect console. The code, based on the operation that is being performed, calls a particular method 60 on the actual business object 62. At this point, the actual business method is called with the arguments and performs a particular operation such as, for example, transferring money from one account to another account. A response 64 is returned to the client 12 via the request handler 46 and the connection 32. The client decodes the response 64 concluding the remote invocation.


In one embodiment of the present invention, a method for a first functionality (such as a client) in a programming language to perform operations within a second functionality (such as a server) in the programming language or in a different programming language comprises creating an adapter object for the second functionality, binding the adapter object within a naming service, looking-up a proxy object for the adapter object, and calling the second functionality through the proxy object and adapter by the first functionality. The binding includes associating the adapter object to a URL within the naming service.


The adapter object further includes means to call the second functionality, wherein the second functionality is a business object, and wherein the business object consists of at least one operation. The means to call the second functionality includes at least one of: mapping a required name of the operation to the operation, and calling the operation with optional information to be passed to the operation, wherein the information includes arguments to the operation, and wherein the operation is a business method.


The adapter object and the second functionality are instances of classes, wherein the classes are in the same programming language. Further, the proxy object and the first functionality are instances of classes, wherein the classes are in the same programming language.


In a further embodiment, a computer readable medium comprises instructions for creating an adapter object for a second functionality, binding the adapter object within a naming service, wherein the binding associates the adapter object to a URL, looking-up a proxy object for the adapter object based on the URL, providing the proxy object to a first functionality, and calling the second functionality through the proxy object by the first functionality. The computer readable medium further comprises performing operations by the first functionality in a programming language within a second functionality in the programming language or in a different programming language.


The discussion will now center on how a lookup is performed via the client 12 to resolve the appropriate type of messaging protocol that will be used. Although not depicted, the client 12 can perform the lookup to obtain the proxy within the business object itself or elsewhere and then provide the proxy to the business object. When the proxy's lookup method passes in the URL format (consisting of an optional scheme-specific portion and a required scheme-specific portion), a client side naming service extracts the scheme, looks up a client side naming service using that scheme and then passes the lookup to that client type naming service. Effectively, a naming service interface exists which includes the aforementioned lookup method (as well as other methods) and implementations of the naming service (such as the IRMP naming service and the SOAP naming service, for example) which provide the implementation of that lookup using the messaging protocol associated with that naming service. For example, if an IRMP naming service is being used to perform a lookup, the IRMP naming service performs a remote invocation using the IRMP protocol to obtain the remote reference to that object.


This remote invocation is a static invocation whereby a name space class exists on a server as well as on the client. The name space class contains static methods for naming service operations including, lookup, bind, unbind, and rebind, as well as a registry of naming services. As such, when a lookup is performed, the name space class resolves the appropriate naming service and then hands off the lookup invocation to that naming service. The remote invocation is unique as it provides a simple, single point of entry for all naming service operations. In contrast, systems including an object request broker require a plurality of steps to be taken before naming service type operations can occur. The present invention provides the static methods directly through the name space class. The use of static methods allows a lookup to be performed in as few steps as possible.


Once the server receives the lookup operation (utilizing the name space class), it extracts the scheme and then hands off the invocation to the IRMP naming service. The URL, which is local to this process and includes the scheme which is used by the name space to get the appropriate naming service, is received by a directory which returns the actual proxy back to the client via the previously described mechanism.


The naming service is a combination of a naming and directory service, which is capable of being federated across multiple processes. Using the IRMP naming service as an example, if a lookup is performed on the URL irmp://server/hotels/Dallas/Radisson, the portions of the URL include a scheme (irmp) as well as scheme specific portions including a host (server), a path (hotels/Dallas), and a name (Radisson). Once the host is reached, the rest of the URL is passed to the directory which breaks the rest of the URL down into individual components. Let us assume that within the server (the primary server) a directory of hotels exists and that another server, which is running in Dallas, includes a directory called Dallas. When the server in Dallas is initiated, it starts up its directory and binds that directory into the primary server. Therefore, looking at the actual objects on the server, a directory with the name hotels exists with a directory proxy positioned beneath it with the name of Dallas. When the top level hotels directory receives a lookup, it is broken up with the rest of the URL passed off to the directory proxy. Since the Dallas directory is a proxy, it will perform a remote invocation to the server in Dallas which actually includes the Radisson name beneath it. Thus, the proxy is returned from the server to the client via the primary server.


A federated naming service is thus provided where a client only needs to know a URL or a host of the primary server. Service for every city can then be bound into either of those references transparently to the client. Basically, the business object is bound to the bind method which creates an adapter wrapping that business object and binds the adapter into the naming service. Similarly, the server that starts up in Dallas includes an indicator (via, for example, software) that is aware of the primary server. However, the code that binds the Radisson Hotel beneath Dallas only needs to be aware of the directory which it binds itself into regardless of where that directory is actually located. When the server performs a bind to an adapter (such as a bind to server/hotels/Dallas/Radisson), it needs to know the full path but it does not need to know that Dallas is actually being hosted on a server in Dallas.


In one embodiment of the present invention, with respect to the lookup method, a method for creating a proxy object comprises calling a second functionality (such as a method in a proxy class), creating a proxy object by the second functionality, calling a third functionality (such as a method in a naming service registry class) by the second functionality, calling a fourth functionality (such as a method in a naming service implementation class) by the third functionality, creating a reference object by the fourth functionality, returning the reference object to the third functionality, associating the reference object to the proxy object by the third functionality, and returning the associated proxy object by the second functionality to a first functionality (such as an object of a class).


The method further includes passing a URL to the second functionality, passing the proxy object and the URL to the third functionality, wherein the URL includes at least one of an optional scheme portion and a required scheme-specific portion, mapping the scheme portion to a naming service implementation, and passing the URL to the fourth functionality by the third functionality, wherein the naming service implementation contains the fourth functionality.


In another embodiment of the present invention, with respect to the lookup method, a method for providing information related to a proxy object to a first functionality (such as a client) comprises receiving a lookup URL by a second functionality (such as a directory naming service or, for example, an IRMP Naming Service), calling a third functionality based on the lookup URL, and returning the information based on the called third functionality. The information, which includes an address of the object, wherein the address includes an URL and an object ID related to the proxy, is returned to the first functionality which utilizes the URL and the object ID to construct a proxy object.


The lookup URL is at least one of a local lookup URL and a remote lookup URL. The third functionality described above is a local directory if the lookup URL is local, wherein the lookup URL is local if there is a server socket running on the lookup URL that is local to the process. Conversely, the third functionality is a remote directory if the lookup URL is remote, wherein the lookup URL is remote if there is a server socket running on the lookup URL that is remote to the process.


Calling the third functionality consists of utilizing the lookup URL to obtain the information, or, more specifically, splitting the lookup URL to obtain the information at a path level for the third functionality, wherein the third functionality includes a name related to the path. A directory splits the URL at a path level. Each directory name in the path (hotels/Dallas) is associated with a particular directory and the remainder of the URL is provided to each directory until the directory is reached that has the actual entry in it. That directory then looks up the entry (Radisson). This occurs whether URL is local or remote.


Referring now to FIG. 3, which depicts a client side flow diagram 70, and FIG. 4, which depicts a server side flow diagram 80, one embodiment of the present invention, with respect to the calling of a second functionality (such as a server or server business object) by a first functionality (such as a client or a client business object) in order to return an unmarshalled response to the first functionality, is depicted. In this embodiment, a method comprises calling a third functionality (such as a proxy object) by the first functionality, wherein the calling includes passing arguments to the third functionality, calling a fourth functionality (such as a reference holder and an IRMP reference or SOAP reference) by the third functionality, wherein the calling includes passing the arguments to the fourth functionality, calling a fifth functionality (such as an IRMP Request Handler or a SOAP Request Handler) via the fourth functionality, wherein the calling includes marshalling a request related to the arguments and passing the marshaled request to the fifth functionality, calling a sixth functionality (such as an adapter) via the fifth functionality, wherein the calling includes unmarshalling the marshaled request, calling the second functionality by the sixth functionality, wherein the calling includes passing the arguments related to the unmarshalled request to the second functionality, returning a response related to the arguments and the second functionality by the second functionality to the fifth functionality via the sixth functionality, calling the fourth functionality by the fifth functionality, wherein the calling includes marshalling the response and passing the marshaled response to the fourth functionality, returning a reply to the third functionality by the fourth functionality, wherein the reply includes unmarshalling the marshaled response, and returning the unmarshalled response to the first functionality by the third functionality.


Within the method, the request includes at least one of: the arguments, and an identifier associated with the sixth functionality and a seventh functionality, wherein the marshaled request is passed according to a specific protocol, and wherein the marshaled response is passed according to the specific protocol.


The method further comprises using the identifier by the seventh functionality to lookup the sixth functionality, and acquiring a connection by the fourth functionality, wherein the marshaled request and the marshaled response are passed using the connection, wherein the connection is acquired based on information contained in the third functionality, wherein the information is a URL.


In another embodiment, a method for calling a second functionality by a first functionality comprises calling a third functionality by the first functionality, calling a fourth functionality by the third functionality, receiving arguments by the fourth functionality, calling a fifth functionality via the fourth functionality, marshalling a request related to the arguments, passing the marshaled request to the fifth functionality, calling a sixth functionality via the fifth functionality, unmarshalling the marshaled request, calling the second functionality by the sixth functionality, and passing the arguments related to the unmarshalled request to the second functionality.


The method further comprises returning a response related to the arguments by the second functionality to the fifth functionality via the sixth functionality, calling the fourth functionality by the fifth functionality, wherein the calling includes marshalling the response and passing the marshaled response to the fourth functionality, returning a reply to the third functionality by the fourth functionality, wherein the reply includes unmarshalling the marshaled response, and returning the unmarshalled response to the first functionality by the third functionality.


In yet another embodiment, a system for returning an unmarshalled response comprises a server, and a client operably coupled to the server, wherein the client comprises means for: calling and passing arguments to a proxy object, calling and passing the arguments to at least one of: a reference holder, and a reference, and calling a request handler, wherein the server comprises means for: receiving a marshaled request related to the arguments, calling an adapter, unmarshalling the marshaled request, and passing the arguments related to the unmarshalled request.


The system further comprises means for returning a response related to the arguments by the server to the request handler, wherein the response related to the arguments is returned to the request handler via the adapter, calling the at least one of: the reference holder, and the reference by the request handler, wherein the calling includes marshalling the response and passing the marshaled response to the fourth functionality, and means for returning a reply to the proxy object, wherein the reply includes unmarshalling the marshaled response, and returning the unmarshalled response to the client.


Although an exemplary embodiment of the system, method, and computer readable medium of the present invention has been illustrated in the accompanied drawings and described in the foregoing detailed description, it will be understood that the invention is not limited to the embodiments disclosed, but is capable of numerous rearrangements, modifications, and substitutions without departing from the spirit of the invention as set forth and defined by the following claims. For example, the capabilities of the client 12 and/or the server 42 can be performed by one or more modules in a distributed architecture and on or via any device able to transfer information between the client and the server. Further, the functionality performed by the elements within the client 12 and/or the server 42 may be performed by one or more of the elements such as the reference holder 22, the request handler 46, or the fourth functionality.

Claims
  • 1. A method comprising: receiving an incoming call, with a request manager, from an entity, wherein the incoming call includes a marshaled request related to arguments associated with a different call from a client business object to a proxy object and wherein the request manager is associated with a connection;querying one or more request handlers as to the respective abilities of the one or more request handlers to process the incoming call, wherein the one or more request handler comprise an Internal Routing Message Protocol (Irmp) request handler;passing the connection from the request manager associated with the connection to a request handler of the one or more request handlers, wherein the request handler is configured to read data off the connection;processing the call with the request handler;calling an adapter via the request handler, wherein calling the adapter includes unmarshalling the marshaled request;calling a server business object via the adapter effective to pass the arguments associated with the different call to the server business object, wherein the server business object includes at least one operation, and wherein the adapter is configured to call the server business object by mapping a name of the at least one operation to an associated operation;receiving, with the request handler, a response from the server business object via the adapter; andcalling, with the request handler, the entity effective to marshal the response and pass the marshaled response to the entity, effective to cause a reply including an unmarshalled marshaled response to be returned to the proxy object, and effective to cause a reply including the unmarshalled marshaled response to be returned to the client business object.
  • 2. The method of claim 1, wherein the incoming call includes a marshaled request that further includes at least one of the arguments or an identifier associated with the adapter and an Object Request Broker (ORB) server.
  • 3. The method of claim 2, further comprising passing the marshaled request and the unmarshalled marshaled response according to a specific protocol.
  • 4. The method of claim 1, wherein the incoming call includes a marshaled request that further includes the arguments and an identifier associated with the adapter and an Object Request Broker (ORB) server.
  • 5. The method of claim 4 further comprising: using, with the ORB server, the identifier to look up the adapter; andusing an acquired connection with the entity to pass the marshaled request and the unmarshalled marshaled response.
  • 6. The method of claim 5, wherein using the acquired connection includes using a connection that is based on information contained in the proxy object.
  • 7. The method of claim 6, wherein the information contained in the proxy object comprises a Universal Resource Locator (URL).
  • 8. The method of claim 1, further comprising binding the adapter within a naming service.
  • 9. The method of claim 8, wherein binding the adapter includes associating the adapter to a Universal Resource Locator (URL) within the naming service.
  • 10. The method of claim 1, wherein the adapter comprises an instance of a class.
  • 11. A method comprising: receiving a marshaled request from an entity, wherein the request is received with a request manager associated with a connection;querying one or more request handlers as to the respective abilities of the one or more request handlers to process the request, wherein the one or more request handler comprise an Internal Routing Message Protocol (Irmp) request handler;passing the connection from the request manager associated with the connection to a request handler of the one or more of the request handlers, wherein the request handler is configured to read data off the connection;unmarshalling the marshaled request with the request handler to provide an unmarshalled request;passing arguments related to the unmarshalled request to a server object via an adapter object, wherein the server object includes at least one operation, and wherein the adapter object is configured to call the server object by mapping a name of said at least one operation to an associated operation;receiving a response related to the arguments from the server object via the adapter object;marshalling the response to provide a marshaled response; andpassing the marshaled response to the entity effective to cause the marshaled response to be unmarshalled and passed from the entity to a proxy object and from the proxy object to a client application that requested the unmarshalled marshaled response.
  • 12. The method of claim 11, wherein unmarshalling the marshaled request includes unmarshalling a marshaled request that includes at least one of the arguments or an identifier associated with the adapter object and an Object Request Broker (ORB) server.
  • 13. The method of claim 12, further comprising passing the marshaled request and the unmarshalled marshaled response according to a specific protocol.
  • 14. The method of claim 11, wherein unmarshalling the marshaled request includes unmarshalling a marshaled request that includes the arguments and an identifier associated with the adapter object and an Object Request Broker (ORB) server and further comprising: using, with the ORB server, the identifier to look up the adapter object; andusing an acquired connection with the entity to pass the marshaled request and the unmarshalled marshaled response.
  • 15. The method of claim 11, further comprising binding the adapter object within a naming service, the binding associating the adapter object to a Universal Resource Locator (URL) within the naming service.
  • 16. A non-transitory computer-readable medium having stored thereon, computer-executable instructions that, in response to execution by a device, cause the device to: receive an incoming call, with a request manager, from an entity, wherein the incoming call includes a marshaled request related to arguments associated with a different call from a client business object to a proxy object and wherein the request manager is associated with a connection;query one or more request handlers as to the respective abilities of the one or more request handlers to process the incoming call, wherein the one or more request handler comprise an Internal Routing Message Protocol (Irmp) request handler;pass the connection from the request manager associated with the connection to a request handler of the one the or more request handlers, wherein the said one request handler is configured to read data off the connection;process the call with the request handler;call an adapter via the request handler, wherein calling the adapter includes unmarshalling the marshaled request;call a server business object via the adapter effective to pass the arguments associated with the different call to the server business object, wherein the server business object includes at least one operation, and wherein the adapter is configured to call the server business object by mapping a name of said at least one operation to an associated operation;receive with the request handler, a response from the server business object via the adapter; andcall with the request handler, the entity effective to marshal the response and pass the marshaled response to the entity, effective to cause a reply including an unmarshalled marshaled response to be returned to the proxy object, and effective to cause a reply including the unmarshalled marshaled response to be returned to the client business object.
  • 17. The non-transitory computer-readable medium of claim 16, wherein the marshaled request includes at least one of the arguments or an identifier associated with the adapter and an Object Request Broker (ORB) server, and the marshaled request and the unmarshalled marshaled response are passed according to a specific protocol.
  • 18. The non-transitory computer-readable medium of claim 16, wherein the marshaled request includes the arguments and an identifier associated with the adapter and an Object Request Broker (ORB) server and wherein the device is further caused to: use, with the ORB server, the identifier to look up the adapter; anduse an acquired connection with the entity to pass the marshaled request and the unmarshalled marshaled response.
US Referenced Citations (213)
Number Name Date Kind
4714995 Materna et al. Dec 1987 A
5465111 Fukushima et al. Nov 1995 A
5495533 Linehan et al. Feb 1996 A
5524253 Pham et al. Jun 1996 A
5604800 Johnson et al. Feb 1997 A
5675711 Kephart et al. Oct 1997 A
5721912 Stepczyk et al. Feb 1998 A
5778395 Whiting et al. Jul 1998 A
5812997 Morimoto et al. Sep 1998 A
5859911 Angelo et al. Jan 1999 A
5930798 Lawler et al. Jul 1999 A
5982891 Ginter et al. Nov 1999 A
6038500 Weiss Mar 2000 A
6055562 Devarakonda et al. Apr 2000 A
6065040 Mima et al. May 2000 A
6088689 Kohn et al. Jul 2000 A
6113650 Sakai Sep 2000 A
6134580 Tahara et al. Oct 2000 A
6134660 Boneh et al. Oct 2000 A
6154777 Ebrahim Nov 2000 A
6172986 Watanuki et al. Jan 2001 B1
6199195 Goodwin et al. Mar 2001 B1
6202060 Tran Mar 2001 B1
6209124 Vermeire et al. Mar 2001 B1
6230309 Turner et al. May 2001 B1
6233601 Walsh May 2001 B1
6256773 Bowman-Amuah Jul 2001 B1
6272478 Obata et al. Aug 2001 B1
6282563 Yamamoto et al. Aug 2001 B1
6282697 Fables et al. Aug 2001 B1
6304556 Haas Oct 2001 B1
6330677 Madoukh Dec 2001 B1
6343265 Glebov et al. Jan 2002 B1
6349343 Foody et al. Feb 2002 B1
6389462 Cohen et al. May 2002 B1
6438744 Toutonghi et al. Aug 2002 B2
6442537 Karch Aug 2002 B1
6452910 Vij et al. Sep 2002 B1
6477372 Otting Nov 2002 B1
6496871 Jagannathan et al. Dec 2002 B1
6600430 Minagawa et al. Jul 2003 B2
6600975 Moriguchi et al. Jul 2003 B2
6611516 Pirkola et al. Aug 2003 B1
6629032 Akiyama Sep 2003 B2
6629128 Glass Sep 2003 B1
6662642 Breed et al. Dec 2003 B2
6671680 Iwamoto et al. Dec 2003 B1
6687761 Collins et al. Feb 2004 B1
6701381 Hearne et al. Mar 2004 B2
6714844 Dauner et al. Mar 2004 B1
6738975 Yee et al. May 2004 B1
6744352 Lesesky et al. Jun 2004 B2
6744358 Bollinger Jun 2004 B1
6744820 Khairallah et al. Jun 2004 B1
6768417 Kuragaki et al. Jul 2004 B2
6816452 Maehata Nov 2004 B1
6831375 Currie et al. Dec 2004 B1
6851108 Syme Feb 2005 B1
6862443 Witte Mar 2005 B2
6876845 Tabata et al. Apr 2005 B1
6879570 Choi Apr 2005 B1
6895391 Kausik May 2005 B1
6901588 Krapf et al. May 2005 B1
6904593 Fong et al. Jun 2005 B1
6931455 Glass Aug 2005 B1
6931623 Vermeire et al. Aug 2005 B2
6947965 Glass Sep 2005 B2
6951021 Bodwell et al. Sep 2005 B1
6957439 Lewallen Oct 2005 B1
6963582 Xu Nov 2005 B1
6981150 Little et al. Dec 2005 B2
6985929 Wilson et al. Jan 2006 B1
6993774 Glass Jan 2006 B1
7010689 Matyas, Jr. et al. Mar 2006 B1
7043522 Olson et al. May 2006 B2
7047518 Little et al. May 2006 B2
7051111 Scullin May 2006 B1
7055153 Beck et al. May 2006 B2
7058645 Seto et al. Jun 2006 B2
7062708 Mani et al. Jun 2006 B2
7069551 Fong et al. Jun 2006 B2
7127259 Ueda et al. Oct 2006 B2
7127724 Lewallen Oct 2006 B2
7146614 Nikols et al. Dec 2006 B1
7146618 Mein et al. Dec 2006 B1
7172113 Olenick et al. Feb 2007 B2
7174533 Boucher Feb 2007 B2
7197742 Arita et al. Mar 2007 B2
7210132 Rivard et al. Apr 2007 B2
7213227 Kompalli et al. May 2007 B2
7225425 Kompalli et al. May 2007 B2
7228141 Sethi Jun 2007 B2
7231403 Howitt et al. Jun 2007 B1
7237225 Kompalli et al. Jun 2007 B2
7293261 Anderson et al. Nov 2007 B1
7376959 Warshavsky et al. May 2008 B2
7475107 Maconi et al. Jan 2009 B2
7477897 Bye Jan 2009 B2
7496637 Han et al. Feb 2009 B2
7499990 Tai et al. Mar 2009 B1
7502615 Wilhoite et al. Mar 2009 B2
7506309 Schaefer Mar 2009 B2
7519455 Weiss et al. Apr 2009 B2
7566002 Love et al. Jul 2009 B2
7643447 Watanuki et al. Jan 2010 B2
7660777 Hauser Feb 2010 B1
7660780 Patoskie Feb 2010 B1
7664721 Hauser Feb 2010 B1
7698243 Hauser Apr 2010 B1
7702602 Hauser Apr 2010 B1
7702603 Hauser Apr 2010 B1
7702604 Hauser Apr 2010 B1
7774789 Wheeler Aug 2010 B1
7810140 Lipari et al. Oct 2010 B1
7823169 Wheeler Oct 2010 B1
7840513 Hauser Nov 2010 B2
7844759 Cowin Nov 2010 B1
20010029526 Yokoyama et al. Oct 2001 A1
20010051515 Rygaard Dec 2001 A1
20010056425 Richard Dec 2001 A1
20020016912 Johnson Feb 2002 A1
20020032783 Tuatini Mar 2002 A1
20020035429 Banas Mar 2002 A1
20020091680 Hatzis et al. Jul 2002 A1
20020115445 Myllymaki Aug 2002 A1
20020116454 Dyla et al. Aug 2002 A1
20020159479 Watanuki et al. Oct 2002 A1
20020174222 Cox Nov 2002 A1
20020196771 Vij et al. Dec 2002 A1
20030009539 Hattori Jan 2003 A1
20030018950 Sparks et al. Jan 2003 A1
20030023573 Chan et al. Jan 2003 A1
20030033437 Fischer et al. Feb 2003 A1
20030046377 Daum et al. Mar 2003 A1
20030046432 Coleman et al. Mar 2003 A1
20030051172 Lordemann et al. Mar 2003 A1
20030055898 Yeager et al. Mar 2003 A1
20030070071 Riedel et al. Apr 2003 A1
20030101441 Harrison et al. May 2003 A1
20030177170 Glass Sep 2003 A1
20030191797 Gurevich et al. Oct 2003 A1
20030191969 Katsikas Oct 2003 A1
20030225789 Bussler et al. Dec 2003 A1
20030225935 Rivard et al. Dec 2003 A1
20040003243 Fehr et al. Jan 2004 A1
20040015539 Alegria et al. Jan 2004 A1
20040037315 Delautre et al. Feb 2004 A1
20040044985 Kompalli et al. Mar 2004 A1
20040044986 Kompalli et al. Mar 2004 A1
20040044987 Kompalli et al. Mar 2004 A1
20040064503 Karakashian et al. Apr 2004 A1
20040078423 Satyavolu et al. Apr 2004 A1
20040078687 Partamian et al. Apr 2004 A1
20040082350 Chen et al. Apr 2004 A1
20040088369 Yeager et al. May 2004 A1
20040111730 Apte Jun 2004 A1
20040133656 Butterworth et al. Jul 2004 A1
20040148073 Hawig et al. Jul 2004 A1
20040153653 Abhyankar et al. Aug 2004 A1
20040172614 Gallagher Sep 2004 A1
20040194072 Venter Sep 2004 A1
20040203731 Chen et al. Oct 2004 A1
20040220952 Cheenath Nov 2004 A1
20040221292 Chiang et al. Nov 2004 A1
20050004727 Remboski et al. Jan 2005 A1
20050030202 Tsuboi Feb 2005 A1
20050090279 Witkowski et al. Apr 2005 A9
20050114832 Manu May 2005 A1
20050141706 Regli et al. Jun 2005 A1
20050144218 Heintz Jun 2005 A1
20050163549 Shima et al. Jul 2005 A1
20050172123 Carpentier et al. Aug 2005 A1
20050246302 Lorenz et al. Nov 2005 A1
20050256614 Habermas Nov 2005 A1
20050256876 Eidson Nov 2005 A1
20050262155 Kress et al. Nov 2005 A1
20050273668 Manning Dec 2005 A1
20050281363 Qi et al. Dec 2005 A1
20060005177 Atkin et al. Jan 2006 A1
20060031850 Falter et al. Feb 2006 A1
20060040640 Thompson et al. Feb 2006 A1
20060041337 Augsburger et al. Feb 2006 A1
20060048145 Celli et al. Mar 2006 A1
20060080646 Aman Apr 2006 A1
20060090103 Armstrong et al. Apr 2006 A1
20060111089 Winter et al. May 2006 A1
20060112183 Corson et al. May 2006 A1
20060121916 Aborn Jun 2006 A1
20060123396 Fox et al. Jun 2006 A1
20060143600 Cottrell et al. Jun 2006 A1
20060149746 Bansod et al. Jul 2006 A1
20060167981 Bansod et al. Jul 2006 A1
20060173857 Jackson Aug 2006 A1
20060190931 Scott et al. Aug 2006 A1
20060200494 Sparks Sep 2006 A1
20060206864 Shenfield et al. Sep 2006 A1
20060220900 Ceskutti et al. Oct 2006 A1
20060221901 Yaqub et al. Oct 2006 A1
20060245406 Shim Nov 2006 A1
20060256006 Rosenberg Nov 2006 A1
20060256008 Rosenberg Nov 2006 A1
20060272002 Wightman et al. Nov 2006 A1
20070004432 Hwang et al. Jan 2007 A1
20070015495 Winter et al. Jan 2007 A1
20070026871 Wager Feb 2007 A1
20070103292 Burkley et al. May 2007 A1
20070112773 Joyce May 2007 A1
20070223432 Badarinath Sep 2007 A1
20070243880 Gits et al. Oct 2007 A1
20080077667 Hwang et al. Mar 2008 A1
20100161543 Hauser Jun 2010 A1
20100223210 Patoskie Sep 2010 A1
20100235459 Wheeler Sep 2010 A1