======================================== LiveView Publisher Sample ======================================== This is a TIBCO LiveView project, intended to be loaded in StreamBase 10.3.0 or later. The sample demonstrates a LiveView Publisher configuration that publishes data to two tables. This sample does not implement table recovery; there are several other samples that do this - search for "recovery" in the sample list. This project configures a LiveView Server instance with the following: An ItemsSales table, that will reflect a real time view of sales of items in a store. These items have a unique transactionID, a category, last-sold price and quantity remaining. This table is configured in the ItemsSales.lvconf file. A ItemsReturned table, that will reflect items that were purchased, but then later returned. A Publisher EventFlow application (Publisher.sbapp) is responsible for sending data to both the ItemsSales and ItemsReturned table. The ReturnDecision filter uses random() to select 10% of the sales to be returned. This application uses a Feedsim adapter to generate sales data. To run this sample in Studio, you can: - In the LiveView Project Viewer, click the green Run button in the upper right. - Right-click any of the lvconf table configuration files in the Project Explorer view and select Run As > Run Configurations > Run (in the invoked Run Configurations dialog). - Right-click the project folder itself, and select Run As > LiveView Fragment 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.