Java One 2014 HOL2097 Java SE Embedded Internet of Things Hands-on Lab Jim Connors Principal Sales...

Preview:

Citation preview

Java One 2014 HOL2097 Java SE Embedded Internet of Things Hands-on Lab

Jim ConnorsPrincipal Sales ConsultantOracle Corpjames.connors@oracle.com

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Getting started

Lab overview

Have at it!

1

2

3

Oracle Confidential – Internal/Restricted/Highly Restricted 2

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

User Name: student Password: student• Click on “HOL 2097 Documentation”

to open lab document

Oracle Confidential – Internal/Restricted/Highly Restricted 3

Lab Workstation

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

SheevaPlug Device

Each student should have his/her own dedicated device

Each device labeled with a hostname.

Replace occurrences of DEVICE_HOST in lab documentation with your device’s hostname.

Oracle Confidential – Internal/Restricted/Highly Restricted 4

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

TEMPer2 Device

• Students must share these• Won’t need this till Exercise 4, part 4• Can remove/install anytime without

adversely affecting lab

Oracle Confidential – Internal/Restricted/Highly Restricted 5

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Lab Lessons

Get Device Information and Check Lab Workstation Environment

Installing the eJDK and Creating Compact Profiles

Compact Profile Tools/Utilities for Developers

Working with Java SE Embedded and OSGi on your Device

Adding OSGi Services to Enable Communication with TEMPer2 device

Create and Expose a Temperature Web Service on Your Device

Oracle Confidential – Internal/Restricted/Highly Restricted 6

1

2

3

4

5

0

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 7

Last Step: Test Web Service Response from Your Device

Recommended