TIBCO StreamBase 10.2 Building and Running Applications in Studio, Studio Projects and Project Structure. November 2017

Similar documents
MAVEN MOCK TEST MAVEN MOCK TEST I

Maven. INF5750/ Lecture 2 (Part II)

What is Maven? Apache Maven is a software project management and comprehension tool (build, test, packaging, reporting, site, deploy).

Introduction to Eclipse

MAVEN MOCK TEST MAVEN MOCK TEST IV

Composer Help. Import and Export

Test/Debug Guide. Reference Pages. Test/Debug Guide. Site Map Index

Content. Development Tools 2(57)

MAVEN INTERVIEW QUESTIONS

Simplified Build Management with Maven

Drools Tools Reference Guide. Version: CR1

form layout - we will demonstrate how to add your own custom form extensions in to form layout

Maven POM project modelversion groupid artifactid packaging version name

Extracting and Storing PDF Form Data Into a Repository

Maven 2 & Continuum. by Trygve Laugstøl

Topics covered. Introduction to Maven Maven for Dependency Management Maven Lifecycles and Plugins Hands on session. Maven 2

AUTOMATION TESTING FRAMEWORK FOR LUMINOUS LMS

Getting started with Geomajas. Geomajas Developers and Geosparc

Maven Plugin Guide OpenL Tablets BRMS Release 5.16

In this lab, you will build and execute a simple message flow. A message flow is like a program but is developed using a visual paradigm.

Sample Spark Web-App. Overview. Prerequisites

Sunday, May 1,

Database Explorer Quickstart

Cheat Sheet: Wildfly Swarm

SCA Java Runtime Overview

Adobe Experience Manager

I Got My Mojo Workin'

Software Installation Guide

MEDIA COMPUTATION DRJAVA. Lecture 11.3 November 7, 2008

Building Java with Plex Services for Eclipse

Maven Introduction to Concepts: POM, Dependencies, Plugins, Phases

Importing and Exporting

Software Engineering - Development Infrastructure 2. Kristjan Talvar Nortal

Moving From Studio to Atelier. Wouter Dupré Sales Engineer

Call: Hyperion Planning Course Content:35-40hours Course Outline Planning Overview

Problem Set 0. General Instructions

Oracle Code Day Hands On Labs (HOL) (Install, Repository, Local Deploy, DevCS, OACCS)

Customized Enterprise Installation of IBM Rational ClearCase Using the IBM Rational ClearCase Remote Client plug-in and the Eclipse SDK

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015

Teiid Designer User Guide 7.5.0

Guided Exercise 1.1: Setting up the sample OpenEdge Data Object Services

Test Automation Integration with Test Management QAComplete

IBM Application Development with IBM WebSphere Studio, V5.0. Download Full Version :

Red Hat JBoss Enterprise Application Platform 6.4

Developing ONOS Apps

m2e 1.2 Release Review

IBM WebSphere Java Batch Lab

RASP Library for Java Version 2.0.0

SOA-14: Continuous Integration in SOA Projects Andreas Gies

Test Automation Integration with Test Management QAComplete

IKAN ALM Architecture. Closing the Gap Enterprise-wide Application Lifecycle Management

jbpm Tools Reference Guide

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.

AppDev StudioTM 3.2 SAS. Migration Guide

Implementing and Maintaining Microsoft SQL Server 2008 Integration Services

C++ Binary Dependency Management with Gradle. Hugh Greene

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

FeatureIDE in a Nutshell

Hello Maven. TestNG, Eclipse, IntelliJ IDEA. Óbuda University, Java Enterprise Edition John von Neumann Faculty of Informatics Lab 2.

Perceptive Connect Runtime

JBoss WS User Guide. Version: GA

POOSL IDE Installation Manual

Continuous Integration (CI) with Jenkins

Struts: A Quick Installation Guide

COBOL-IT Developer Studio 2.0

Parameterizing an iway Data Quality Server SQL Statement From an Input File or the Command Line

AutoVue Integration SDK & Sample Integration for Filesys DMS

Define a Java SE class for running/testing your Spring Integration components.

MuleSoft.U Mule 4 for Mule 3 Users Setup Instructions

SpringSource Tool Suite M2

Oracle Fusion Middleware

Oracle Code Day Hands On Labs HOL

SE - Deployment to Installed Polarion. SE - Execution from Workspace. SE - Configuration.

Lab 03 Finish and Deploy an Application. Lab 3-1: Add DELETE to the Spring Boot REST Application

Application prerequisites

VCR4ODI Installation Guide

DOCS

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release

SpringSource Tool Suite 2.7.1

Systemwalker Runbook Automation. Studio User's Guide. Windows/Linux

JDO Tools Guide (v5.1)

Talend Open Studio for Data Quality. User Guide 5.5.2

SELENIUM. SELENIUM COMPONENTS Selenium IDE Selenium RC Selenium Web Driver Selenium Grid

i2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code

Getting Started with Cisco UCS Director Open Automation

User Guide Zend Studio for Eclipse V6.1

Work with the Staff Directory App

TIBCO StreamBase 10 Distributed Computing and High Availability. November 2017

vrealize Code Stream Plug-In SDK Development Guide

Achieve Patch Currency for Microsoft SQL Server Clustered Environments Using HP DMA

PART 1. Eclipse IDE Tutorial. 1. What is Eclipse? Eclipse Java IDE

Archivists Toolkit Internal Database

Introduction to IBM Data Studio, Part 1: Get started with IBM Data Studio, Version and Eclipse

Introduction to IBM Data Studio, Part 1: Get started with IBM Data Studio, Version and Eclipse

MIGRATION GUIDE DIGITAL EXPERIENCE MANAGER 7.2

Generating A Hibernate Mapping File And Java Classes From The Sql Schema

Intelligence on Demand. Elixir Report Migration Guide

Advanced Automated Administration with Windows PowerShell

Distributing JavaFX Applications with Java WebStart and Artifactory

Teiid Designer User Guide 7.8.0

Transcription:

TIBCO StreamBase 10.2 Building and Running Applications in Studio, Studio Projects and Project Structure November 2017

TIBCO StreamBase 10 Experience 1. Build a StreamBase 10 Project 2. Run/Debug an StreamBase 10 Project 3. Comparisons to StreamBase 7 4. Project Structure: What is Where & Why (Maven-driven) 5. Execute & Test within Studio (Development) 6. Importing Projects and Samples

StreamBase 10 What is a StreamBase Application?

BACKGROUND: What was a StreamBase 7 Application? A single.sbapp file itself or.ssql file smallest unit possible A module unit of composition on application side A container s worth: a top-level application that runs in a single container, including all the sub-modules called A business application: whatever definition given by user, the logical application that provides meaningful value We will see, in StreamBase 10, an application is yet again a different concept

StreamBase 10 Getting Started and the Studio Experience

Start Studio Splash Screen Appears while loading

Workspace Dialog

StreamBase 10 Projects Create an EventFlow Fragment Project with StreamBase Studio

New StreamBase Project dialog File->New->StreamBase Project Project name: MUST NOT have spaces StreamBase EventFlow Fragment

New StreamBase Project > Configure Maven Artifact dialog

New StreamBase Project (Bad Project Name Error)

New StreamBase Project (cont d)

Subversive Team Provider Install Connectors Dialog

New StreamBase Project (not ready to hit Finish yet)

New StreamBase Project: Archetype Properties In the Archetype Properties dialog: testnodes: Change from A,B,C to A (faster) builddocker: Change from false to true Press the Finish button

New StreamBase Project

New StreamBase Empty Project

StreamBase 10 First App Build FirstApp

FirstApp

LAB Build FirstApp (do not run yet, please)

StreamBase 10 Application Fragment Execution From StreamBase Studio

Run As Right click Project EventFlow Fragment Run From Studio NOT deployed as an application

Perspective Switch in Studio

Launching FirstApp

ASIDE: What is Happening in the StreamBase 10 Runtime Must install a node with your EventFlow fragment in order to run it Studio handles installation and starting of fragment into a node Stop: Studio stops the node, but does NOT remove it (available for reuse) Studio shutdown removes the node (end of lifecycle of a node) Will cover how to deploy outside of Studio later (epadmin command line tool)

Performance Dialog

Run As Clusters, Nodes and Fragments

Run As StreamBase Client Listen Port Number

Terminate the Fragment Launch OR BUT NOT THESE (usually):

Debug As

StreamBase 10 Project Structure

Project Structure Comparison to StreamBase 7 Project Explorer instead of Package Explorer No Outline View on left (moved to right) resources folder has.sbfs Maven project - top level pom.xml fragment.conf & other HOCON files (replace.sbconf)

StreamBase 10 Just Enough Maven

Project Structure (What Goes Where and Why (Maven)) Studio projects use the Maven Standard Directory Layout All projects are built, packaged, and run under Maven control Maven provides well-known, standard way to specify project dependencies Top level pom.xml defines fixed lifecycle for stages of building EventFlow project An EventFlow Fragment project, installed, creates and artifact that is an EventFlow Fragment Archive zip EventFlow Fragment archives are generated in project target folder (install copies to local Maven repository) Default local maven repository is.m2 folder in home directory on local machine; default may be overridden

Project Structure (What Goes Where and Why (Maven)).sbapps (and sbints) go in scr/main/eventflow/packagename All files in src/main/eventflow are automatically on classpath HOCON config files go in src/main/configurations (more on these files later) Java files for extensions go into src/main/java > package-name Files in src/main/resources are automatically on Maven resource search path Feedsims, CSV files, image files, SQL scripts, ** adapter config XML files ** StreamBase JUnit test files run with Maven Test cmd go in src/test/java/package-name src/test/resources required by StreamBase JUnit test files

Project Structure (Adapters) Some adapters require access to JAR files (example JDBC) Add Maven Dependency in pom.xml JAR available in public repository: make repository part of dependency JAR not publicly available: specify system dependency Short term, testing ONLY option: place JAR in src/main/resources folder

StreamBase 10: Importing Projects and Samples Notes

Sample Project Importing Typecheck Errors (while loading) Building workspaces (progress bar)