Consumer IDL First - Architecture
Jbi4Corba, when run in consumer from IDL mode, is based on this simple pseudo equation: idj2java + java2wsdl = idl2wsdl.
From the architectural point of view, we analyze two different phases: the deploy and the runtime.
At deploy time the following sequence of events occurs:
- The IDL file is parsed and used to generate the java classes. (To verify which IDL's features are supported please visit the page of the supported IDL data types).
- Generated java classes are compiled.
- One Jbi4Corba Endpoint per IDL interface is created.
- When the endpoint is activated, a new instance of the servant is created and registered on the corba service name.
The following (unformal) sequence diagram shows this process:
- A corba client call a method on the corba servant.
- The corba servant call Jbi4CorbaEndpoint to handle the request.
- The Endpoint sends the MessageExchange on the bus to obtain the response.
The following figure shows this process in an unformal sequence diagram: