Server Implementation Models
- We showed the inheritance model, where the server
implementation extends
HelloPOA
.
- In the delegation or tie model the IDL interface is
implemented using two classes.
- An IDL-generated Tie class
(
HelloPOATie.java
) that inherits from the
compiler-generated skeleton, but delegates all calls to an
implementation class.
- A class that implements the IDL-generated operations
interface (
HelloOperations
, by extending
HelloPOA
), which defines the IDL function.
- The tie server allows one to write an interface
implementation that extends some other class.
José M. Vidal
.
13 of 21