Skeleton (programming)

from Wikipedia, the free encyclopedia

Skeleton ( Engl.  , Skeleton, skeleton, skeleton ') is in the area of programming for an automatically generated structure (often source used), which can then expand a programmer or user. This technique is particularly popular in the development of distributed systems , but also in other areas such as the development of graphical user interfaces . A skeleton is also known as a stub and forms the counterpoint to the stub on the client side (also called a proxy).

Examples

Program code generated by an IDL compiler is referred to as a skeleton . He takes over in the middleware architecture, the marshaling of an invocation of the server side.

Skeletons are z. B. used at CORBA . Skeletons are generated by the IDL and run on the server.

Web services

When using a web service , the required parameters are transferred to a stub program. This packages the data and sends it to the desired module on the server via the network or internet connection.

However, before the data can be transferred to the server , it must be unpacked again by a skeleton program. Now the required parameters can be transferred to the module.

Once all data has been processed, it is returned to the client in the opposite direction . There the results can be processed again at will.