created by Peter Kirschner for Java Forum Stuttgart
A4, Schiller-Saal, July 07, 2016 - 12:15 to 13:00
printable version
speaker notes
Community | you are invited |
Programming Model | best practice, µservice-based development model |
Tool Chain | OSGi programming model over all the stages of development |
Education | tutorials and examples |
automated import package analysis including versioning |
powerful OSGi bundle repository management |
instant Jar bundle creation |
annotation based Declarative Service implementation |
login via ssh on your Raspi
pi@kipi3_01:~ $ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
pi@kipi3_01:~ $ curl https://bndtools.ci.cloudbees.com\
> /job/bnd.master/719/artifact/dist/bundles/\
> biz.aQute.jpm.run/biz.aQute.jpm.run-3.0.0.jar >jpm.jar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1680k 100 1680k 0 0 285k 0 0:00:05 0:00:05 --:--:-- 349k
pi@kipi3_01:~ $ sudo java -jar jpm.jar init
Home dir /var/jpm
Bin dir /usr/local/bin
pi@kipi3_01:~ $ jpm version
3.0.0.201509101330
pi@kipi3_01:~ $ sudo jpm install -f biz.aQute.remote.main
pi@kipi3_01:~ $
pi@kipi3_01:~ $ sudo bndremote -a
Listening for transport dt_socket at address: 1044
Now we are ready to rumble!
#-runremote: \
# raspberry;\
# jdb=1044; \
# host=<ipAddress>; \
# shell=1
#-runpath
* export the jar from the bndrun file (top right)
* copy exported jar to Raspi
* execute it with
sudo java -jar <all-in-one-bundle>