============================================= Connect LiveView to Remote StreamBase Server ============================================= This LiveView sample is configured to connect to a remote StreamBase server and expose any Query Tables found there. The configuration file RemoteSBDTables.lvconf points to any StreamBase server running on localhost and running on the default port. Any query tables in this remote StreamBase will be available to LiveView. To run this sample in Studio: 1) Run Sample.sbapp, which is located in src/main/eventflow under the package folder: Right-click Sample.sbapp and select Run As > EventFlow Fragment. 2) Right-click RemoteSBDTables.lvconf in the Project Explorer view and select Run As > Run Configurations > Run (in the invoked Run Configurations dialog). 3) Once you see the line "All tables have been loaded." in the Console view, start LiveView Desktop and connect to the LiveView server on the default LiveView port. If you are running LiveView server on the same machine as the Desktop, use "localhost" for the Server field in LiveView Desktop's start dialog. The Query tables default.Book and default.Exposure that are part of the Sample.sbapp are now available from the LiveView server. To run this sample from the command line outside of Studio, you must: - Package this sample's LiveView fragment project into a fragment archive. - Create a separate StreamBase Application project, and set the pom.xml for that project to depend on the fragment archive created in the previous step. - Create a separate StreamBase Application archive file. - Install that archive into a StreamBase Runtime node. - Start the node. These steps are described in more detail in the "Deploy with epadmin" page of the Concepts Overview in the StreamBase documentation. This sample includes: engine.conf - a LiveView configuration file to set up JVM arguments for this sample.