摘要:
Provided is an architecture for enabling business components to access middleware components in a runtime environment. A business container hosts business components and services to enable communication between the business components. A plurality of infrastructure components expose interfaces and methods to the business components, wherein the exposed interfaces and methods have names descriptive of a business domain for which the business applications are written. The infrastructure components implementation of the interfaces and methods exposed to the business components include calls to the middleware application programming interfaces (APIs) to invoke middleware APIs to cause middleware operations.
摘要:
Provided are a method, system, and article of manufacture, wherein a client component including at least one client interface is provided. Also provided is a target component including at least one service interface, wherein the at least one client interface is capable of matching the at least one service interface. A service interface implementation corresponding to the at least one service interface is provided, wherein the service interface implementation is a dynamic service interface implementation. The dynamic service interface implementation is executed to allow access to the client component to a service provided by the target component.
摘要:
Provided are a method, system, and program for generating asynchronous interfaces and methods from synchronous interfaces and methods receiving a synchronous interface to a target component having a synchronous method used by a client component to synchronously invoke the target component. An asynchronous interface is generated for the synchronous interface of the target component. An asynchronous method is generated for the generated asynchronous interface having arguments to invoke the target component, wherein the client calls the generated asynchronous method to cause an asynchronous execution of the synchronous method.
摘要:
A system (200; 300) and method for messaging subscription management by subscribing a subscriber (210; 310) to a publisher (215; 315), providing a broker (220; 320) brokering message flow between the publisher and the subscriber whereby the publisher publishes information to the broker which then forwards the information to the subscriber, and filtering messages whereby any messages not originating from the publisher are filtered out. The filtering may comprise modifying (227) at the publisher a filter supplied by the subscriber and sending the modified filter to the broker, or may comprise modifying (312) at the subscriber a filter and sending the modified filter to the broker. This gives the behaviour of a direct subscription model, while making use of the efficiencies provided by the brokered model. It allows publishers to offload responsibility for subscription management and message distribution to a broker service, and it can reduce the number of logical connections from n*m to become n+m instead. Subscribers and message sinks are completely unaware that a broker is being used.