摘要 |
An Internet component object method is disclosed. The Internet component object model enables an adapter to run in both the client and server computers and has its logic follow one of two distinct paths of execution depending on whether the adapter is running in a client-server or web environment. If the client workstation is operating in a client-server environment, then the adapter makes a direct call to a service application programming interface (API). If the client workstation is operating in a web environment, then the adapter sends a hypertext transfer protocol (HTTP) request to a web server for remotely accessing a service API. |