Tutorial: Building an Rogue Wave Server Application > Designing the Server Object Model > Executing the Object Server > Executing the Object Server on Windows
 
Executing the Object Server on Windows
If you are using the MvTCP communication layer, it is necessary to start the Rogue Wave® Server logical mapper, which can be found in the directory %ILSHOME%\bin\${SYSTEM}.
Starting the Logical Mapper
Now start the logical mapper as follows:
1. Install the logical mapper as a service under Windows® (if you have not already done so).
2. To do this, open an MS-DOS prompt and go to the bin directory:
cd %ILSHOME%\bin\${SYSTEM}
3. Register the logical mapper as a service as follows:
tcpdsvc -installauto
Note that this only needs to be done once. From now on, every time your machine is started, the logical mapper will be started automatically.
To run the logical mapper now, you must either go to the Services panel in the Control panel and start the service, or reboot the machine.
Starting the Network Object Server
Now start the network application by typing the following command (or by clicking on the .bat file provided in the Rogue Wave Server release for each network demo):
network -ilsn my_network
For details about the -ilsn option, see Executing the Server Main Loop.
A message appears to indicate that the Network server is ready.
Once the object server is running, you can launch the Rogue Wave Server Studio environment to dynamically define views. Chapter 8 explains step-by-step how to define views at runtime.
You might also want to load predefined views while starting the object server. In this case, you must start the Network object server with the following command:
network -ilsn my_network -ilsr network.ls
For details about the -ilsr option, see Executing the Server Main Loop.
The file network.ls is a resource file that contains .ilv files.
Starting the Network server that way, you can open existing views from swcomp, a predefined client application supplied with Rogue Wave Server. See Chapter 5 for details.
Summary
In this chapter, you learned how to design a server object model, make your object model accessible at runtime, and compile and execute your object server.
You are now ready to define dynamic views using the graphical tool resulting from the special Server/Data Access integration known as Rogue Wave Server Studio. Your dynamic views will act as an interface between your server object model and the representations handled by various application components.

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.