TradeInterceptor SDK Quick Start Guide

Size: px
Start display at page:

Download "TradeInterceptor SDK Quick Start Guide"

Transcription

1 TradeInterceptor SDK Quick Start Guide Installation Custom indicators and trading strategies can be created using the Java programming language, version 6.0. A free copy of Java development kit (JDK) can be downloaded from the Java site. In this guide we using the Eclipse Java development environment, which can be downloaded for free from the Eclipse site eclipse.org. Although it is not described here, custom indicators and strategies can be developed using any other Java development environment. The examples in this guide were developed using Eclipse 3.5. TradeInterceptor SDK Contents The TradeInterceptor SDK contains jar files with the compiled interfaces, the corresponding source files, and the javadoc documentation. The javadocs, along with this guide, are also available unjarred. The files in the distribution are as follows: chartingsdk_x.x.x.jar The compiled interfaces to be linked against your indicator. This file is required for building any indicators. It is not necessary to deploy this file in the TradeInterceptor environment. chartingsdk_x.x.x-doc.jar The API docs for the SDK interfaces. This file is not required for building, but development environments may use it to provide handy autocomplete or online help during development. For desktop browsing, deflated view of the same files is provided in the doc directory. It is not necessary to deploy this file in the TradeInterceptor environment. doc The TradeInterceptor API documentation, this guide, and an example Eclipse project. To get started, import the example project in Eclipse, and build it using the provided build script. A test-indicator.tip file is created in the project's build folder (the project view may need to be refreshed in order to make this file visible). This file should be opened by the TradeInterceptor platform in order to install theindicators and strategies in it. Creating the First Custom Indicator Lets look at a very simple custom indicator. This indicator draws a single close line over a chart. package com.riflexo.charting.test; 1

2 import com.riflexo.charting.api.abstracteasycalculator; import com.riflexo.charting.api.barproperties; import com.riflexo.charting.api.line; import com.riflexo.charting.api.plugin.annotation.indicator; import Indicator") public class HelloWorldIndicator extends AbstractEasyCalculator { private Line<BarProperties> public void calculate() { public void declare() { output = declareoutput("close"); output.setdefaultcolor(color.black); setname("hello World Indicator"); The custom indicator contains two main pieces: the declaration and the calculation. Declaration Custom indicators declare the resources they are using, the parameters they are receiving, and the output they are providing the their declare method. Our simple indicator is providing only a single line output, declared as the variable output. We decide to paint this line in black using the setdefaultcolor method. Consult the javadocs for more information for the capabilities of the Line outputs. The declared line output is placed on the main chart by default. By using the setstandalone(false) method, indicator developer can instruct its line to reside in another pane, below the main chart. When this method is invoked, indicator should forfeit its internal values, and redeclare its resources. Invocation of this method signals, that this indicator will be recalculated in somehow changed context, and its current internal state may be no longer relevant. Indicator developer should not invoke this method by himself. The declare method is called each time the indicator is placed on the chart, or when its parameters are changed. This method may also be called as a response to internal charting events. Calculation All the calculations of the indicator are performed in the calculate method. In our example, this method merely gets the close value for the current bar, and sets it as current value for the output, which was already declared in the declare method. 2

3 The getmainseries() method retrieves the main time series for the chart, which is, the time series first loaded. The individual bars of this time series are accessible as Items reflecting the open, low, high and close, volume, the timestamp and some more proeprties for an individual bar. In a general convention, the current bar is accessed by the getdataitem() method, without parameters. The previous bar can be accessed using the getdataitem(int) method with parameter 1; the second previous bar is accessed using getdataitem(2), etc. The same applies for other types of time series. As with the declare method, user should invoke the calculate method directly. The calculate method is invoked automatically each time a new bar of one of the referenced time series should be processed. The Indicator Lifecycle When user places this indicator on the chart, first its declare method is invoked by TradeInterceptor. The indicator declares its output and the declare phase is finished. Then all the available bars from the main chart are automatically traversed, and the indicator's calculate method is invoked on each bar. The indicator thransfers the current close price from the data series to its output, and the calculation for this bar is finished. Finally, when all bars in the history are traversed, the indicator starts receiving realtime history updates. The indicator promptly transfers the current close to its output, and we can see the line on the chart following the last bar's close value. Note that both calculate and declare methods are invoked automatically by the runtime. Also, the calcualte method of the indicator should not iterate itself over the bar history - instead, it can concentrate on calculating the current last value. The Calculation Context The custom indicator can communicate with its runtime using its Calculation Context. Once the indicator is instantiated, a trading context is associated with it using the setcontext method. If the indicator extends the AbstractEasyCalculator (which is strongly recommended), the storing and accessing this context is automatically performed. The AbstractEasyCalculator, on its side, implements the CalculationContext interface, and delegates to the already configured calculation context. Creating the First Trading Strategy A trading strategy analyzes market data, optionally using some indicators, to execute market decision. In TradeInterceptor, market strategies fit in the same framework as the custom indicator. Indeed, the only defining feature of a strategy is that its implementing class is annotated with annotation. All the discussion about indicator lifecycle, calculation context, and the declare and calculate and methods in the indicator section applies also to the trading strategy development. Position Management Strategies should create and manipulate positions in their calculate method. All position management of a trading strategy should be performed using the position manager in the calcualtion context. 3

4 Strategy should assign a client agent to the created positions, so that later these positions can be looked up later easily. By default, a custom strategy is executed in auto commit mode. In this mode created and modified positions are automatically committed to the server when the execution of the calculate method exit successfully. If the calculate method exits with exception, these modifications are not committed to the server. The auto commit mode can be turned off using the autocommit property of the Strategy annotation. If the autocommit mode is turned off, it is strategy developer's responsibility to commit or rollback changes. In the autocommit mode, Position instances created during a run of the calculate method become invalid on the next run of the calculate method. If particular position needs to be preserved for later examination (for example, to be canceled if certain conditions are held), it can be obtained from the position manager using its getpositionbyid method. If this position is no longer available, an exception is thrown. This signals that the very existence of this position should be forgot, so the strategy may need to adjust its internal state accordingly. 4

5 A Simple Strategy Here is the code for a simple strategy. package com.riflexo.charting.test; import java.awt.color; import com.riflexo.charting.api.abstracteasycalculator; import com.riflexo.charting.api.line; import com.riflexo.charting.api.numbervaluedescriptor; import com.riflexo.charting.api.param; import com.riflexo.charting.api.stockindicator; import com.riflexo.charting.api.plugin.annotation.strategy; import com.riflexo.trading.api.position; import com.riflexo.trading.api.positionmanager; import com.riflexo.trading.api.positionside; import com.riflexo.trading.api.positionstate; import = "Test strategy", autocommit=true) public class HelloWorldStrategy extends AbstractEasyCalculator { private Line<Object> output; private StockIndicator<Object> movingaverage; private Object positionid; private Param<Integer> qtyparam; private Param<Integer> movingaverageperiod; private enum CrossOverType { CROSS_OVER, CROSS_UNDER, NONE public void calculate(){ try{ docalculate(); catch(tradingexception _ex){ // no position - getpostionbyid has thrown exception positionid=null; throw _ex; protected void docalculate() { if(getmainseries().getindex() < movingaverageperiod.get() + 2) { return; // not enough data. PositionManager positionmanager = getpositionmanager(); output.set(movingaverage.get()); 5

6 CrossOverType crossovertype = CrossOverType.NONE; if(movingaverage.get(1) < getmainseries().getdataitem(1).getclose() && movingaverage.get(2) > getmainseries().getdataitem(2).getclose()) { crossovertype = CrossOverType.CROSS_OVER; output.setcolor(color.red); else if(movingaverage.get(1) > getmainseries().getdataitem(1).getclose() && movingaverage.get(2) < getmainseries().getdataitem(2).getclose()) { crossovertype = CrossOverType.CROSS_UNDER; output.setcolor(color.blue); else { output.setcolor(color.black); if(crossovertype == CrossOverType.NONE) { return; Position position = positionid==null?null:positionmanager.getpositionbyid(positionid); if(position!= null) { if(position.getstate().compareto(positionstate.closed) >= 0) { positionid = null; // position was closed elsewhere else if( // we have opened position (crossovertype == CrossOverType.CROSS_OVER && position.getside() == PositionSide.SELL) (crossovertype == CrossOverType.CROSS_UNDER && position.getside() == PositionSide.BUY) ) { position.cancel(); positionid = null; else { if(crossovertype == CrossOverType.CROSS_OVER) { position = getpositionmanager().newposition(getmainseries()); position.setprice(double.nan); position.setside(positionside.buy); else if(crossovertype == CrossOverType.CROSS_UNDER) { position = getpositionmanager().newposition(getmainseries()); position.setprice(double.nan); position.setside(positionside.sell); if(position!= null) { position.setreason(crossovertype+"->"); String id = String.valueOf(position.getId()); String pref = "HW-"; 6

7 id = pref+id; position.setid(id); position.setclientagent("helloworldstrategy"); position.setquantity(qtyparam.get()); positionid = public void declare() { qtyparam = declareinput(new NumberValueDescriptor<Integer>("Position size", "qty", 1000, 1000, 1000, )); movingaverageperiod = declareinput(new NumberValueDescriptor<Integer> ("Period", "period", 20, 1, 1, 10000)); movingaverage = declarestockindicator("ma", "ExponentialMovingAverage", movingaverageperiod.get()); output = declareoutput("close"); 7

8 Declaration The strategy declares two parameters - the quantity of each trade, and the length of the moving average. Parameters for strategies and indicators are declared using the declareinput method of the calculation context. These method allows use to define a human-readable name of the parameter, an internal, developer name, and, where applicable - minimum, maximum and default value of the parameter. The declareinput methods returns a Param instance which can be used during the calcualtions. In this example we also declare a stock indicator - the ExponentialMovingAverage. Calculation To illustrate the concept of the missing position, this strategy does store the object id of its currently open position or null, if no position is opened. Since this position may disappear without the knowledge of the strategy, we catch the trading exception thrown by the getpositionbyid method and reset the field to null when such exception is thrown. Important: strategy developers are strongly encouraged to use listposition method of the context position manager and look up for the positions opened by this strategy when they need to access their positions. In the docalculate code, we skim the logic of the strategy itself and focus on how positions are placed. The snippet position = getpositionmanager().newposition(getmainseries()); position.setprice(double.nan); position.setside(positionside.buy); shows how a long market position should be created. The context position manager is used to create a new position using the main series of the current chart. For illustration of the concept, the price is set to Double.NaNm which is anyway the default value. This means, that this is a market order; if the price is set to a non-nan value, this position would be a pending order. The side of the position can be buy or sell. The position may also be set with stop loss and take profit, an expiration, etc. Few lines below, if new position is created, it is decorated with some other options: position.setreason(crossovertype+"->"); String id = String.valueOf(position.getId()); String pref = "HW-"; id = pref+id; position.setid(id); position.setclientagent("helloworldstrategy"); position.setquantity(qtyparam.get()); The reason property describes why this particular action on the position is executed. Positions has a history of modifications, starting with its creation, and for each modification the modificator supplied reason can be accessed. 8

9 Note that the position id is also modified. Position ids on new positions can be changed, and in this example we choose to brand the position id with the HW prefix. Also, we set the client agent property, so that positions created by this strategy can be easily spotted later. And, finally, the quantity of the position is set. The quantity itself comes from the qtyparam parameter, which was declared in the declaration phase. 9

BEAAquaLogic. Service Bus. Interoperability With EJB Transport

BEAAquaLogic. Service Bus. Interoperability With EJB Transport BEAAquaLogic Service Bus Interoperability With EJB Transport Version 3.0 Revised: February 2008 Contents EJB Transport Introduction...........................................................1-1 Invoking

More information

Savant Genome Browser: Developer Manual. May 7, 2010

Savant Genome Browser: Developer Manual. May 7, 2010 Savant Genome Browser: Developer Manual May 7, 2010 Author: Marc Fiume Contact: savant@cs.toronto.edu Website: http://compbio.cs.toronto.edu/savant/ This document applies to Savant version 1.02 1 Contents

More information

Implementing a Persistent Identifier Module in MDM Multidomain Edition

Implementing a Persistent Identifier Module in MDM Multidomain Edition Implementing a Persistent Identifier Module in MDM Multidomain Edition 1993-2016 Informatica LLC. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying,

More information

MyEclipse EJB Development Quickstart

MyEclipse EJB Development Quickstart MyEclipse EJB Development Quickstart Last Revision: Outline 1. Preface 2. Introduction 3. Requirements 4. MyEclipse EJB Project and Tools Overview 5. Creating an EJB Project 6. Creating a Session EJB -

More information

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

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015 ActiveSpaces Transactions Quick Start Guide Software Release 2.5.0 Published May 25, 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

BEA WebLogic Server R Using FastSwap TM to Minimize Redeployment

BEA WebLogic Server R Using FastSwap TM to Minimize Redeployment BEA WebLogic Server R Using FastSwap TM to Minimize Redeployment Version: 10.3 Tech Document Date: October 2007 Table of Contents Overview of Class Redefinition... 3 Hasn t this been attempted before?...

More information

6.170 Laboratory in Software Engineering Java Style Guide. Overview. Descriptive names. Consistent indentation and spacing. Page 1 of 5.

6.170 Laboratory in Software Engineering Java Style Guide. Overview. Descriptive names. Consistent indentation and spacing. Page 1 of 5. Page 1 of 5 6.170 Laboratory in Software Engineering Java Style Guide Contents: Overview Descriptive names Consistent indentation and spacing Informative comments Commenting code TODO comments 6.170 Javadocs

More information

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below. CS520 Setting Up the Programming Environment for Windows Suresh Kalathur 1. Java8 SDK Java8 SDK (Windows Users) For Windows users, download the Java8 SDK as shown below. The Java Development Kit (JDK)

More information

Data Ingestion Service. SDK Development Guide. Issue 03 Date HUAWEI TECHNOLOGIES CO., LTD.

Data Ingestion Service. SDK Development Guide. Issue 03 Date HUAWEI TECHNOLOGIES CO., LTD. Issue 03 Date 2018-06-12 HUAWEI TECHNOLOGIES CO., LTD. 2018. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of

More information

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION Course Title: Java Technologies Grades: 10-12 Prepared by: Rob Case Course Unit: What is Java? Learn about the history of Java. Learn about compilation & Syntax. Discuss the principles of Java. Discuss

More information

Oracle Service Bus. Interoperability with EJB Transport 10g Release 3 (10.3) October 2008

Oracle Service Bus. Interoperability with EJB Transport 10g Release 3 (10.3) October 2008 Oracle Service Bus Interoperability with EJB Transport 10g Release 3 (10.3) October 2008 Oracle Service Bus Interoperability with EJB Transport, 10g Release 3 (10.3) Copyright 2007, 2008, Oracle and/or

More information

104. Intermediate Java Programming

104. Intermediate Java Programming 104. Intermediate Java Programming Version 6.0 This course teaches programming in the Java language -- i.e. the Java Standard Edition platform. It is intended for students with previous Java experience

More information

3 Getting Started with Objects

3 Getting Started with Objects 3 Getting Started with Objects If you are an experienced IDE user, you may be able to do this tutorial without having done the previous tutorial, Getting Started. However, at some point you should read

More information

Voyager Database Developer s Guide Version 1.0 for Voyager 8.0

Voyager Database Developer s Guide Version 1.0 for Voyager 8.0 Voyager Database Developer s Guide Version 1.0 for Voyager 8.0 Table of Contents Introduction... 4 Overview... 4 Preface... 4 Database Requirements... 4 Contacting Technical Support... 4 Voyager JDBC API

More information

CS 315 Software Design Homework 3 Preconditions, Postconditions, Invariants Due: Sept. 29, 11:30 PM

CS 315 Software Design Homework 3 Preconditions, Postconditions, Invariants Due: Sept. 29, 11:30 PM CS 315 Software Design Homework 3 Preconditions, Postconditions, Invariants Due: Sept. 29, 11:30 PM Objectives Defining a wellformed method to check class invariants Using assert statements to check preconditions,

More information

In this lab we will practice creating, throwing and handling exceptions.

In this lab we will practice creating, throwing and handling exceptions. Lab 5 Exceptions Exceptions indicate that a program has encountered an unforeseen problem. While some problems place programmers at fault (for example, using an index that is outside the boundaries of

More information

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline ::

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline :: Module Title Duration : Intro to JAVA SE7 and Programming using JAVA SE7 : 9 days Course Description The Java SE 7 Fundamentals course was designed to enable students with little or no programming experience

More information

Exception Handling. Sometimes when the computer tries to execute a statement something goes wrong:

Exception Handling. Sometimes when the computer tries to execute a statement something goes wrong: Exception Handling Run-time errors The exception concept Throwing exceptions Handling exceptions Declaring exceptions Creating your own exception Ariel Shamir 1 Run-time Errors Sometimes when the computer

More information

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS PAUL L. BAILEY Abstract. This documents amalgamates various descriptions found on the internet, mostly from Oracle or Wikipedia. Very little of this

More information

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Using Eclipse for Java. Using Eclipse for Java 1 / 1 Using Eclipse for Java Using Eclipse for Java 1 / 1 Using Eclipse IDE for Java Development Download the latest version of Eclipse (Eclipse for Java Developers or the Standard version) from the website:

More information

Exception Handling. Run-time Errors. Methods Failure. Sometimes when the computer tries to execute a statement something goes wrong:

Exception Handling. Run-time Errors. Methods Failure. Sometimes when the computer tries to execute a statement something goes wrong: Exception Handling Run-time errors The exception concept Throwing exceptions Handling exceptions Declaring exceptions Creating your own exception 22 November 2007 Ariel Shamir 1 Run-time Errors Sometimes

More information

ApacheCon NA How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum

ApacheCon NA How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum ApacheCon NA 2015 How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum 1Tech, Ltd. 29 Harley Street, London, W1G 9QR, UK www.1tech.eu 1 Overview Common Getting Started Problems Common

More information

Notes of the course - Advanced Programming. Barbara Russo

Notes of the course - Advanced Programming. Barbara Russo Notes of the course - Advanced Programming Barbara Russo a.y. 2014-2015 Contents 1 Lecture 2 Lecture 2 - Compilation, Interpreting, and debugging........ 2 1.1 Compiling and interpreting...................

More information

JSGCL TRADING TERMINAL. User Manual Getting Started

JSGCL TRADING TERMINAL. User Manual Getting Started JSGCL TRADING TERMINAL User Manual Getting Started Table of Contents 1 ABOUT THIS DOCUMENT... 5 1.1 Document Composition... 5 2 INTRODUCTION... 6 3 GETTING STARTED... 7 3.1 Login... 7 3.1.1 Login Window...

More information

2 Apache Wink Building Blocks

2 Apache Wink Building Blocks 2 Apache Wink Building Blocks Apache Wink Building Block Basics In order to take full advantage of Apache Wink, a basic understanding of the building blocks that comprise it and their functional integration

More information

Class Dependency Analyzer CDA Developer Guide

Class Dependency Analyzer CDA Developer Guide CDA Developer Guide Version 1.4 Copyright 2007-2017 MDCS Manfred Duchrow Consulting & Software Author: Manfred Duchrow Table of Contents: 1 Introduction 3 2 Extension Mechanism 3 1.1. Prerequisites 3 1.2.

More information

Wowza IDE 2. User's Guide

Wowza IDE 2. User's Guide Wowza IDE 2 User's Guide Wowza IDE 2: User's Guide Copyright 2006 2013 Wowza Media Systems, LLC. http://www.wowza.com/ Third-Party Information This document contains links to third-party websites that

More information

User's Guide c-treeace SQL Explorer

User's Guide c-treeace SQL Explorer User's Guide c-treeace SQL Explorer Contents 1. c-treeace SQL Explorer... 4 1.1 Database Operations... 5 Add Existing Database... 6 Change Database... 7 Create User... 7 New Database... 8 Refresh... 8

More information

OLLSCOIL NA héireann THE NATIONAL UNIVERSITY OF IRELAND COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2012

OLLSCOIL NA héireann THE NATIONAL UNIVERSITY OF IRELAND COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2012 OLLSCOIL NA héireann THE NATIONAL UNIVERSITY OF IRELAND COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK Summer Examination 2012 Computer Science CS5015 Object-oriented Software Development Prof.

More information

02/03/15. Compile, execute, debugging THE ECLIPSE PLATFORM. Blanks'distribu.on' Ques+ons'with'no'answer' 10" 9" 8" No."of"students"vs."no.

02/03/15. Compile, execute, debugging THE ECLIPSE PLATFORM. Blanks'distribu.on' Ques+ons'with'no'answer' 10 9 8 No.ofstudentsvs.no. Compile, execute, debugging THE ECLIPSE PLATFORM 30" Ques+ons'with'no'answer' What"is"the"goal"of"compila5on?" 25" What"is"the"java"command"for" compiling"a"piece"of"code?" What"is"the"output"of"compila5on?"

More information

Java Interfaces. 6 April 2016 OSU CSE 1

Java Interfaces. 6 April 2016 OSU CSE 1 Java Interfaces 6 April 2016 OSU CSE 1 Conceptual Framework A firm conceptual foundation for understanding and designing modern software recognizes: Modern software consists of potentially large numbers

More information

COE318 Lecture Notes Week 10 (Nov 7, 2011)

COE318 Lecture Notes Week 10 (Nov 7, 2011) COE318 Software Systems Lecture Notes: Week 10 1 of 5 COE318 Lecture Notes Week 10 (Nov 7, 2011) Topics More about exceptions References Head First Java: Chapter 11 (Risky Behavior) The Java Tutorial:

More information

Java Programming Training for Experienced Programmers (5 Days)

Java Programming Training for Experienced Programmers (5 Days) www.peaklearningllc.com Java Programming Training for Experienced Programmers (5 Days) This Java training course is intended for students with experience in a procedural or objectoriented language. It

More information

Overview of Web Services API

Overview of Web Services API CHAPTER 1 The Cisco IP Interoperability and Collaboration System (IPICS) 4.0(x) application programming interface (API) provides a web services-based API that enables the management and control of various

More information

Defining Classes and Methods. Objectives. Objectives 6/27/2014. Chapter 5

Defining Classes and Methods. Objectives. Objectives 6/27/2014. Chapter 5 Defining Classes and Methods Chapter 5 Objectives Describe concepts of class, class object Create class objects Define a Java class, its methods Describe use of parameters in a method Use modifiers public,

More information

Equitrac Embedded for Kyocera Mita. Setup Guide Equitrac Corporation Equitrac Corporation

Equitrac Embedded for Kyocera Mita. Setup Guide Equitrac Corporation Equitrac Corporation Equitrac Embedded for Kyocera Mita 1.3 Setup Guide 2012 Equitrac Corporation 2012 Equitrac Corporation Equitrac Embedded for Kyocera Mita Setup Guide Document Revision History Revision Date Revision List

More information

Java language. Part 1. Java fundamentals. Yevhen Berkunskyi, NUoS

Java language. Part 1. Java fundamentals. Yevhen Berkunskyi, NUoS Java language Part 1. Java fundamentals Yevhen Berkunskyi, NUoS eugeny.berkunsky@gmail.com http://www.berkut.mk.ua What Java is? Programming language Platform: Hardware Software OS: Windows, Linux, Solaris,

More information

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

Weiss Chapter 1 terminology (parenthesized numbers are page numbers) Weiss Chapter 1 terminology (parenthesized numbers are page numbers) assignment operators In Java, used to alter the value of a variable. These operators include =, +=, -=, *=, and /=. (9) autoincrement

More information

6.170 Laboratory in Software Engineering Eclipse Reference for 6.170

6.170 Laboratory in Software Engineering Eclipse Reference for 6.170 6.170 Laboratory in Software Engineering Eclipse Reference for 6.170 Contents: CVS in Eclipse o Setting up CVS in Your Environment o Checkout the Problem Set from CVS o How Do I Add a File to CVS? o Committing

More information

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours Java for Programmers Course (equivalent to SL 275) 36 Contact Hours Course Overview This course teaches programmers the skills necessary to create Java programming system applications and satisfies the

More information

Chapter 4 Java Language Fundamentals

Chapter 4 Java Language Fundamentals Chapter 4 Java Language Fundamentals Develop code that declares classes, interfaces, and enums, and includes the appropriate use of package and import statements Explain the effect of modifiers Given an

More information

Objectives. Defining Classes and Methods. Objectives. Class and Method Definitions: Outline 7/13/09

Objectives. Defining Classes and Methods. Objectives. Class and Method Definitions: Outline 7/13/09 Objectives Walter Savitch Frank M. Carrano Defining Classes and Methods Chapter 5 Describe concepts of class, class object Create class objects Define a Java class, its methods Describe use of parameters

More information

Table of Contents. Tutorial API Deployment Prerequisites... 1

Table of Contents. Tutorial API Deployment Prerequisites... 1 Copyright Notice All information contained in this document is the property of ETL Solutions Limited. The information contained in this document is subject to change without notice and does not constitute

More information

Implement a Multi-Frontend Chat Application based on Eclipse Scout

Implement a Multi-Frontend Chat Application based on Eclipse Scout BAHBAH TUTORIAL Implement a Multi-Frontend Chat Application based on Eclipse Scout http://www.eclipse.org/scout/ 24.10.2012 Authors: Matthias Zimmermann, Matthias Villiger, Judith Gull TABLE OF CONTENTS

More information

TestingofScout Application. Ludwigsburg,

TestingofScout Application. Ludwigsburg, TestingofScout Application Ludwigsburg, 27.10.2014 The Tools approach The Testing Theory approach Unit testing White box testing Black box testing Integration testing Functional testing System testing

More information

16-Dec-10. Consider the following method:

16-Dec-10. Consider the following method: Boaz Kantor Introduction to Computer Science IDC Herzliya Exception is a class. Java comes with many, we can write our own. The Exception objects, along with some Java-specific structures, allow us to

More information

Setting Up the Development Environment

Setting Up the Development Environment CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment

More information

Classes, interfaces, & documentation. Review of basic building blocks

Classes, interfaces, & documentation. Review of basic building blocks Classes, interfaces, & documentation Review of basic building blocks Objects Data structures literally, storage containers for data constitute object knowledge or state Operations an object can perform

More information

KGI HK Mobile Trader (AAstocks) - iphone User Manual

KGI HK Mobile Trader (AAstocks) - iphone User Manual KGI HK Mobile Trader (AAstocks) - iphone User Manual Version 1.1 Aug 2012 Contents 1 Login Process...3 2 Trading Platform...6 Home...6 2.1 Quote...7 2.1.1 HK Quote...7 2.1.2 HK Latest Search...8 2.1.3

More information

Index COPYRIGHTED MATERIAL

Index COPYRIGHTED MATERIAL Index COPYRIGHTED MATERIAL Note to the Reader: Throughout this index boldfaced page numbers indicate primary discussions of a topic. Italicized page numbers indicate illustrations. A abstract classes

More information

Getting Started with Eclipse/Java

Getting Started with Eclipse/Java Getting Started with Eclipse/Java Overview The Java programming language is based on the Java Virtual Machine. This is a piece of software that Java source code is run through to produce executables. The

More information

OOP Lab Factory Method, Singleton, and Properties Page 1

OOP Lab Factory Method, Singleton, and Properties Page 1 OOP Lab Factory Method, Singleton, and Properties Page 1 Purpose What to Submit 1. Practice implementing a factory method and singleton class. 2. Enable the Purse application to handle different kinds

More information

Advanced Java Programming

Advanced Java Programming Advanced Java Programming Length: 4 days Description: This course presents several advanced topics of the Java programming language, including Servlets, Object Serialization and Enterprise JavaBeans. In

More information

Defining Classes and Methods

Defining Classes and Methods Walter Savitch Frank M. Carrano Defining Classes and Methods Chapter 5 ISBN 0136091113 2009 Pearson Education, Inc., Upper Saddle River, NJ. All Rights Reserved Objectives Describe concepts of class, class

More information

Java How to Program, 10/e. Copyright by Pearson Education, Inc. All Rights Reserved.

Java How to Program, 10/e. Copyright by Pearson Education, Inc. All Rights Reserved. Java How to Program, 10/e Copyright 1992-2015 by Pearson Education, Inc. All Rights Reserved. Data structures Collections of related data items. Discussed in depth in Chapters 16 21. Array objects Data

More information

CS 251 Intermediate Programming Java Basics

CS 251 Intermediate Programming Java Basics CS 251 Intermediate Programming Java Basics Brooke Chenoweth University of New Mexico Spring 2018 Prerequisites These are the topics that I assume that you have already seen: Variables Boolean expressions

More information

JVA-103. Java Programming

JVA-103. Java Programming JVA-103. Java Programming Version 8.0 This course teaches programming in the Java language -- i.e. the Java Standard Edition platform. It is intended for programmers with experience in languages other

More information

Pace University. Fundamental Concepts of CS121 1

Pace University. Fundamental Concepts of CS121 1 Pace University Fundamental Concepts of CS121 1 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University October 12, 2005 This document complements my tutorial Introduction

More information

Objectives. Problem Solving. Introduction. An overview of object-oriented concepts. Programming and programming languages An introduction to Java

Objectives. Problem Solving. Introduction. An overview of object-oriented concepts. Programming and programming languages An introduction to Java Introduction Objectives An overview of object-oriented concepts. Programming and programming languages An introduction to Java 1-2 Problem Solving The purpose of writing a program is to solve a problem

More information

Service Desk Web API Technical Guide

Service Desk Web API Technical Guide Service Desk Web API Technical Guide Introduction The Service Desk Web API is the Java programming interface to the Service Desk application. It allows you to write custom Java code to use Service Desk

More information

This assignment requires that you complete the following tasks (in no particular order).

This assignment requires that you complete the following tasks (in no particular order). Construction Objectives The objectives of this assignment are: (1) Implement your FCS design with high-quality code and thorough unit tests (2) Gain experience doing a task breakdown (3) Gain experience

More information

Extending a CICS web application using JCICS

Extending a CICS web application using JCICS Extending a CICS web application using JCICS Extending a CICS web application using JCICS Course introduction What you ll see in this course Fundamentals of interacting with CICS Invoke other CICS programs

More information

Java Review Outline. basics exceptions variables arrays modulo operator if statements, booleans, comparisons loops: while and for

Java Review Outline. basics exceptions variables arrays modulo operator if statements, booleans, comparisons loops: while and for Java Review Outline basics exceptions variables arrays modulo operator if statements, booleans, comparisons loops: while and for Java basics write a simple program, e.g. hello world http://www2.hawaii.edu/~esb/2017fall.ics211/helloworl

More information

Getting started with Java

Getting started with Java Getting started with Java by Vlad Costel Ungureanu for Learn Stuff Programming Languages A programming language is a formal constructed language designed to communicate instructions to a machine, particularly

More information

CS506 Web Design & Development Final Term Solved MCQs with Reference

CS506 Web Design & Development Final Term Solved MCQs with Reference with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar

More information

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started Application Development in JAVA Duration Lecture: Specialization x Hours Core Java (J2SE) & Advance Java (J2EE) Detailed Module Part I: Core Java (J2SE) Getting Started What is Java all about? Features

More information

EDAConnect-Dashboard User s Guide Version 3.4.0

EDAConnect-Dashboard User s Guide Version 3.4.0 EDAConnect-Dashboard User s Guide Version 3.4.0 Oracle Part Number: E61758-02 Perception Software Company Confidential Copyright 2015 Perception Software All Rights Reserved This document contains information

More information

xcp: Custom Java Function To Access DFC IDfSession

xcp: Custom Java Function To Access DFC IDfSession White Paper xcp: Custom Java Function To Access DFC IDfSession Writing a custom java function that can access DFC IDfSession Abstract This white paper explains writing a custom Java Function that can access

More information

1. Go to the URL Click on JDK download option

1. Go to the URL   Click on JDK download option Download and installation of java 1. Go to the URL http://www.oracle.com/technetwork/java/javase/downloads/index.html Click on JDK download option 2. Select the java as per your system type (32 bit/ 64

More information

Symbol Tables Symbol Table: In computer science, a symbol table is a data structure used by a language translator such as a compiler or interpreter, where each identifier in a program's source code is

More information

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach.

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach. CMSC 131: Chapter 28 Final Review: What you learned this semester The Big Picture Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach. Java

More information

Chapter 6 Introduction to Defining Classes

Chapter 6 Introduction to Defining Classes Introduction to Defining Classes Fundamentals of Java: AP Computer Science Essentials, 4th Edition 1 Objectives Design and implement a simple class from user requirements. Organize a program in terms of

More information

Chapter 5: Enhancing Classes

Chapter 5: Enhancing Classes Chapter 5: Enhancing Classes Presentation slides for Java Software Solutions for AP* Computer Science 3rd Edition by John Lewis, William Loftus, and Cara Cocking Java Software Solutions is published by

More information

TTFX Manager Portal for MetaTrader 4 Manager's manual V 1.0.0

TTFX Manager Portal for MetaTrader 4 Manager's manual V 1.0.0 TTFX Manager Portal for MetaTrader 4 Manager's manual V 1.0.0 Table of contents: 1 Login to the system... 3 1.1 Password recovery... 3 1.2 User management... 4 1.2.1 Password change... 4 1.2.2 Logout...

More information

CHAPTER 1INTRODUCTION... 3 CHAPTER 2INSTALLING ECLIPSE...

CHAPTER 1INTRODUCTION... 3 CHAPTER 2INSTALLING ECLIPSE... Table of Contents CHAPTER 1INTRODUCTION... 3 CHAPTER 2INSTALLING ECLIPSE... 4 2.1ABOUT JAVA... 4 2.2DIFFERENT EDITIONS OF JAVA... 5 CHAPTER 3DOWNLOADING AND INSTALLING JAVA... 6 CHAPTER 4INSTALLING THE

More information

KOFAX TO LASERFICHE RELEASE SCRIPTS

KOFAX TO LASERFICHE RELEASE SCRIPTS KOFAX TO LASERFICHE RELEASE SCRIPTS TECHNICAL & USER DOCUMENTATION Updated: August 2006 Copyright 2004 2006 BLUELAKE SOFTWARE All Rights Reserved Overview: Bluelake Software sells and supports two flavors

More information

Homework 9: Stock Search Android App with Facebook Post A Mobile Phone Exercise

Homework 9: Stock Search Android App with Facebook Post A Mobile Phone Exercise Homework 9: Stock Search Android App with Facebook Post A Mobile Phone Exercise 1. Objectives Ø Become familiar with Android Studio, Android App development and Facebook SDK for Android. Ø Build a good-looking

More information

References. Chapter 5: Enhancing Classes. Enhancing Classes. The null Reference. Java Software Solutions for AP* Computer Science A 2nd Edition

References. Chapter 5: Enhancing Classes. Enhancing Classes. The null Reference. Java Software Solutions for AP* Computer Science A 2nd Edition Chapter 5: Enhancing Classes Presentation slides for Java Software Solutions for AP* Computer Science A 2nd Edition by John Lewis, William Loftus, and Cara Cocking Java Software Solutions is published

More information

Construction: High quality code for programming in the large

Construction: High quality code for programming in the large Construction: High quality code for programming in the large Paul Jackson School of Informatics University of Edinburgh What is high quality code? High quality code does what it is supposed to do......

More information

Supported Operating Environment. Java Support

Supported Operating Environment. Java Support Supported Operating Environment Java Support 9/10/2018 Java Support Find information about supported versions of Java across all products. eservices eservices Knowledge Manager (Legacy) Knowledge Manager

More information

13 th Windsor Regional Secondary School Computer Programming Competition

13 th Windsor Regional Secondary School Computer Programming Competition SCHOOL OF COMPUTER SCIENCE 13 th Windsor Regional Secondary School Computer Programming Competition Hosted by The School of Computer Science, University of Windsor WORKSHOP I [ Overview of the Java/Eclipse

More information

Programming Agents with JADE for Multi-Agent Systems

Programming Agents with JADE for Multi-Agent Systems Programming Agents with JADE for Multi-Agent Systems Ass.Lecturer Noor Thamer Based on Jade, Java and Eclipse documentation Ass.Lecturer Noor Thamer 1 Content Briefly about components JADE overview Setting

More information

Contents I Introduction 1 Introduction to PL/SQL iii

Contents I Introduction 1 Introduction to PL/SQL iii Contents I Introduction Lesson Objectives I-2 Course Objectives I-3 Human Resources (HR) Schema for This Course I-4 Course Agenda I-5 Class Account Information I-6 Appendixes Used in This Course I-7 PL/SQL

More information

Objectives for this class meeting. 1. Conduct review of core concepts concerning contracts and pre/post conditions

Objectives for this class meeting. 1. Conduct review of core concepts concerning contracts and pre/post conditions CSE1720 Click to edit Master Week text 01, styles Lecture 02 Second level Third level Fourth level Fifth level Winter 2015! Thursday, Jan 8, 2015 1 Objectives for this class meeting 1. Conduct review of

More information

11 Using JUnit with jgrasp

11 Using JUnit with jgrasp 11 Using JUnit with jgrasp jgrasp includes an easy to use plug-in for the JUnit testing framework. JUnit provides automated support for unit testing of Java source code, and its utility has made it a de

More information

Web-enable a 5250 application with the IBM WebFacing Tool

Web-enable a 5250 application with the IBM WebFacing Tool Web-enable a 5250 application with the IBM WebFacing Tool ii Web-enable a 5250 application with the IBM WebFacing Tool Contents Web-enable a 5250 application using the IBM WebFacing Tool......... 1 Introduction..............1

More information

Use Case 2: Extending object/application to support a new object attribute and a validation for that attribute using either Scripting or Java.

Use Case 2: Extending object/application to support a new object attribute and a validation for that attribute using either Scripting or Java. Overview This use case in this document show how the tooling provided with the products based on Tivoli s process automation engine can help you add value through product extensions and/or integration

More information

Homework #10 due Monday, April 16, 10:00 PM

Homework #10 due Monday, April 16, 10:00 PM Homework #10 due Monday, April 16, 10:00 PM In this assignment, you will re-implement Dictionary as Map container class using the same data structure. A Map has an associated entry set and that set will

More information

Getting Started with Cisco UCS Director Open Automation

Getting Started with Cisco UCS Director Open Automation Getting Started with Cisco UCS Director Open Automation Cisco UCS Director Open Automation, page 1 Upgrading Your Connector to the Current Release, page 5 Modules, page 5 Cisco UCS Director Open Automation

More information

Tutorial: Developing a Simple Hello World Portlet

Tutorial: Developing a Simple Hello World Portlet Venkata Sri Vatsav Reddy Konreddy Tutorial: Developing a Simple Hello World Portlet CIS 764 This Tutorial helps to create and deploy a simple Portlet. This tutorial uses Apache Pluto Server, a freeware

More information

Working with the Java Pages Feature. PegaRULES ProcessCommander Versions 5.1 and 5.2

Working with the Java Pages Feature. PegaRULES ProcessCommander Versions 5.1 and 5.2 Working with the Java Pages Feature PegaRULES ProcessCommander Versions 5.1 and 5.2 Copyright 2006 Pegasystems Inc., Cambridge, MA All rights reserved. This document and the software describe products

More information

Chapter Two Bonus Lesson: JavaDoc

Chapter Two Bonus Lesson: JavaDoc We ve already talked about adding simple comments to your source code. The JDK actually supports more meaningful comments as well. If you add specially-formatted comments, you can then use a tool called

More information

Agenda. Objects and classes Encapsulation and information hiding Documentation Packages

Agenda. Objects and classes Encapsulation and information hiding Documentation Packages Preliminaries II 1 Agenda Objects and classes Encapsulation and information hiding Documentation Packages Inheritance Polymorphism Implementation of inheritance in Java Abstract classes Interfaces Generics

More information

Programming Assignment 5 Interpreter and Static Analysis

Programming Assignment 5 Interpreter and Static Analysis Lund University Computer Science Niklas Fors, Görel Hedin, Christoff Bürger Compilers EDAN65 2016-09-24 Programming Assignment 5 Interpreter and Static Analysis The goal of this assignment is to implement

More information

QueueBlock, ReversalADT, LinkedList,CustomerAccount, not MaintainCustomerData

QueueBlock, ReversalADT, LinkedList,CustomerAccount, not MaintainCustomerData Naming Conventions Rules Classes Use nouns Use whole words-avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long form, such as URL or HTML) Begin with upper case

More information

Java Programming with Eclipse

Java Programming with Eclipse One Introduction to Java 2 Usage of Java 3 Structure of Java 4 Flexibility of Java Programming 5 Using the Eclipse Software 6 Two Running Java in Eclipse 7 Introduction 8 Using Eclipse 9 Workspace Launcher

More information

WebSphere Message Broker. Programming

WebSphere Message Broker. Programming WebSphere Message Broker CMP Programming Version 6 Release 0 WebSphere Message Broker CMP Programming Version 6 Release 0 Note Before using this information and the product it supports, read the information

More information

TIBCO Silver Fabric Enabler for TIBCO BusinessEvents Developer Guide

TIBCO Silver Fabric Enabler for TIBCO BusinessEvents Developer Guide TIBCO Silver Fabric Enabler for TIBCO BusinessEvents Developer Guide Software Release 3.2 October 2016 Two-Second Advantage 2 3 Contents TIBCO Silver Fabric Enabler for BusinessEvents Overview...4 Extensions...

More information

OHF XDS SOAP Client. Architecture & API Documentation. Version seknoop[at]us[dot]ibm[dot]com Sarah Knoop

OHF XDS SOAP Client. Architecture & API Documentation. Version seknoop[at]us[dot]ibm[dot]com Sarah Knoop OHF XDS SOAP Client Architecture & API Documentation Version 0.0.2 seknoop[at]us[dot]ibm[dot]com Sarah Knoop Page 1 of 18 Contents 1. Introduction...4 2. Getting Started...5 2.1 Platform Requirements...5

More information