Tissue compiled TAOs into the following directory:
· Bin - Holds All The Executables Files for this Distribution
· DOCS - HOLDS All The Documentation That Comes with the distribution.
· Examples - Holds The Example Code.
· IDL - Holds All the IDL Files That Make Up The Distribution.
· INCLUDE - HOLDS All The include Files for Client / Server Development.
· Lib - Holds All The Libraries for tao
· SRC - Holds a gzipped file with the entire source code for ace and tao.
Configure TAO:
Set the following environment variables:
ACE_ROOT SET THIS VARIABLE TO POINT TO The Tao Distribution's Installation Directory
Tao_Root - SET this variable to point to the tao distribution's installation Directory, INSTALLATION DIRECTORY
Tao_idl - set this variable to point to the executable of the idl compiler,
Path - Append The Tao Distribution's Bin Directory to Your Path Environment Variable
TAO_IDL:
Tao_idl.exe Simple.IDL
Post-generation:
• Client Stubs - * C.I, * C.h, and * c.cpp
• Server Skeletons - * S.I, * S.h, and * s.cpp
• Server Skeleton Templates - * S_T.I, * S_T.H, and * S_T.cpp
A total of 9 files, which are generated * .i and * s_t. * Mainly in improving code operation efficiency
The following question is how to write the problem of Client / Server Servant Class, if you can have an automatic code generation tool, start studying its possibility, plan to try with TCL or Perl.