Transcript
Page 1: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

March 2012 - Business Confidential - Bitreactive AS

Frank Alexander Kraemer

@fralkr

frank @ bitreactive.com

Look Inside Your OSGi Bundles and Build them Block by Block

EclipseCon Europe 2014 OSGi Community Event 2014

Page 2: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 2

WithoutOSGi

Page 3: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 3

With OSGi

Page 4: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

OSGiIoT Application Gateways

- roadside stations - onboard units - residential gateways - …

Page 5: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 6: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 6

Page 7: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 7

Page 8: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

IoT Application Gateways- autonomous - remotely managed - interfaces to “things” - network connections

Page 9: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 9

GPIOMain

Application Bundle

DB

ModbusMQTTRuntime

Page 10: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Events- life cycle - other bundles - config changes - messages - network - handle hardware

Page 11: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Concurrency

Page 12: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 13: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 13

Page 14: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 14

public void start(BundleContext b) throws Exception {

}

// application goes here

Page 15: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

M2M Applications with Reactive Blocks

INHOLD Corporate Identity Manual 7

X

X X

X/2

X/2

LOGO SCALE GUIDELINES

The logo must be surrounded with adequate clear space to ensuremaximum prominence and visual impact.

All scaling of the logo is to be proportional.

In case the logo needs to appear on a limited background, the minimum size allowed is not less than 15 mm.

min 15 mm

LOGO

Page 16: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 16

TODO show the start() from the bundle method also here?

public void start(BundleContext b) throws Exception {

}

Page 17: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Title - edit manually in the normal master 17

Page 18: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

public void ledOn() {logInfo("Switching on LED");leds[0].setState(true);

}

public void ledOff() {logInfo("Switching off LED");leds[0].setState(false);

}

Page 19: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 20: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 21: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 22: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 23: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 24: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 25: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 26: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Joining Data

Page 27: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Buffering

Page 28: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Limiting Data

Page 29: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

OSGi

Page 30: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

OSGi and Concurrency

Java Interfaces OSGi Events✔ Names✔ Types✘ Sequences✘ Timing

Page 31: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Documentation?

Page 32: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 33: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 34: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 35: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 36: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 37: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 38: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 39: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 40: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 41: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 42: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

OSGi and Concurrency

Java Interfaces OSGi Events✔ Names✔ Types✘ Sequences✘ Timing

Building Blocks for OSGi

Page 43: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Event Admin

Termination

Service Tracker

Remote Configuration

Page 44: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Configuration

Page 45: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 46: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 47: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer
Page 48: Look Inside Your OSGi Bundles and Build them Block by Block - FA Kramer

Next Steps:-bitreactive.com -IoT Playground -Tutorials


Top Related