Java Data Sources > API of the Server/Java Mapping > Base Classes and Interfaces
 
Base Classes and Interfaces
ilog.server.jsds
This package includes base classes and interfaces for the JavaTM Data Sources library, namely:
*IlsDSRepresentation
*IlsDataSource
*IlsDataSourceContainer
ilog.server.jsds.IlsDSRepresentation
When the view is created, a notification event from the server creates a new instance of the class ilog.server.jsds.IlsDSRepresentation. This representation object interfaces the view with a Server/Java data source placed in a Java data source container implemented or contained in a graphical panel (see ilog.server.jsds.swing.IlsDSJFrame). This Java data source uses the implementation model you defined in your dynamic view specification file. (See What Is a Mapping in the Server/Java Integration?.)
ilog.server.jsds.IlsDataSource
This is the basic class to interface with representation objects. This class notifies the object server of all the creation, deletion, and update events occurring on representation objects and, conversely, is notified by the object server of any such events occurring on the server objects. Subtypes of IlsDataSource are used to interface subtypes of representation object classes. (See IlsTableDataSource, IlsTreeDataSource, and IlsGraphDataSource.)
ilog.server.jsds.IlsDataSourceContainer (Interface)
This interface is implemented by a graphical container object such as ilog.server.swing.IlsDSJFrame to embed both data sources and graphical objects such as Java Swing JTable objects. A data-source container is associated with an open view and is used to find and connect the corresponding data sources. There is only one instance of IlsDataSourceContainer for a given instance of IlsDSRepresentation, but an IlsDataSourceContainer instance may contain more than one data source (depending of the view).

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.