Multi Component Executables

Now that we have "componentized" the client and server functionality, we are free to deploy those components to any executables we want without having to change the components at all. In fact, multiple components can be included in a single executable. To demonstrate, we can put the two components greetClient and greetServer into the same executable together. This is a simple change to helloWorld.adef, which then looks like this:

executables:

    helloWorld ( greetServer greetClient )

processes:

    run: (helloWorld)

Now we can run mkapp to build the application.

$ mkapp helloWorld.adef -t wp7

Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines