Tutorial: Building an Rogue Wave Server Application > Implementing a Java Component > Building a Client with JavaBeans > Customizing the Default Data Source Container
 
Customizing the Default Data Source Container
5. Set the following properties of the IlsDSJTable instance:
*ServerName: Set it to network7, for example. This is the name of the Rogue Wave® Server object model (launched with -ilsn option).
*HostName: If the server is running on the same machine, keep the default value localhost; otherwise, set it to the name or IP address of the server.
*viewId: Set this property to DomainView, that is, to the name of the view as defined in the .ils file.
*ObjectId: This property represents the name of the server object to which the view has subscribed as its origin. Set it to the name of the server object the view is going to represent, for example, Domain_1 to see a view on the domain named Domain_1 on your object server.
*Label: Set this property to table, or to the value you haven chosen in your .ils file for the name of the origin.
The Eclipse window should now look like this:
Figure 9.5    Setting the Properties of the IlsDSJTable Instance
You have finished designing your graphical user interface. Now, you want to initialize the Java data source library, connect it to the object server, and open the view.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.