3 This test demonstrates the interoperation of JacORB and TAO with respect to
4 the use of indirection in the type codes marshaled with Anys. These are
5 represented by structs, unions, and value types. The test is composed of a
6 client and server for both JacORB and TAO, enabling a client of either to
7 send to a server of either.
9 For now, TAO can unmarshal an Any using indirect types, but it cannot generate
10 them. The TAO-marshaled Anys are quite a bit larger than those generated by
15 Use MPC tools to generate a workspace from atc.mwc, then your native C++
16 compiler. The result will be a client and server executables in the "tao"
19 Use Ant or equivalent tool to build the Java classes, which will end up in
20 a new "build" directory. If you use a Java IDE such as Eclipse, the build
21 target path may be different.
25 These are the example test command lines:
28 tao/client [-k <ior>] [-ORB...]
29 where <ior> defaults to "file://test.ior"
30 tao/server [-o <iorfile>] [-ORB...]
31 where <iorfile> defaults to "test.ior"
34 jaco -classpath build/classes [-Djacorb.interop.indirection_encoding_disable=true] demo.Client [<iorfile>]
35 jaco -classpath build/classes [-Djacorb.interop.indirection_encoding_disable=true] demo.Server [<iorfile>]
36 where <iorfile> defaults to "test.ior"
37 the -Djacorb option disables the use of indirect type ids for that run.
39 The expected outcome is that with indirection enabled or not, the tests run to completion.