Top Banner
© 2009 IBM Corporation The Wearable Application Server Holly Cummins [email protected] @holly_cummins
40

The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

Apr 03, 2018

Download

Documents

phungdieu
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2009 IBM Corporation

The Wearable Application Server

Holly [email protected]

@holly_cummins

Page 2: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Some context ...

Page 3: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

“Computers in the future may weigh no more than 1.5 tons.”

Popular Mechanics,1949

Page 4: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

“I think there is a world market for maybe five computers.”

Thomas Watsonchairman of IBM

1943

Page 5: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Then: HARDware

Page 6: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Now: Everyware

Page 7: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Page 8: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

“If your background is in the programming of PCs or even more powerful computers, a fair warning: embedded programming for low-cost devices means working with very limited resources ...”

Page 9: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

“... This is in shocking contrast with the World Wide Web, where technologies usually seem to be created with utmost inefficiency as a goal...”

Page 10: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

“... Embedded programming requires more careful consideration of how resources are used than what is needed for PCs or servers...”

Page 11: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

“... Embedded platforms only provide small sub- sets of the functionality of their larger cousins, which may require some inventiveness and work where a desired feature is not available directly.”

Page 12: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

June, 2011

Page 13: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Spot the difference

■Netduino Plus ■Raspberry Pi

Page 14: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Spot the difference

■Application server, circa 2010

■Application server, circa 2012

Page 15: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

What's it good for?

Page 16: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Programming for developers

■Easy install

■Fast server start

■Fast and transparent application deployment

■Convention over configuration

■Source-controllable configuration

■Nifty t-shirts

Page 17: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

What's it good for? (ii)

Page 18: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Programming for the Cloud

■Small download

■Small memory footprint

Density Elasticity

Page 19: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Programming for the Cloud

■Small download

■Small memory footprint

■Enable and disable function

– For extra points, do it dynamically

■Easy install– Easy uninstall

Density Elasticity

Page 20: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Good for anything else?

Page 21: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Ubiquitous computing++

Page 22: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Ubiquitous computing++

Page 23: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Old new-world

■Mobile technology a trend only on the client-side

■Why?

■Clients are mobile

■Servers are not mobile– Obviously

Page 24: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

New new-world

■Servers are lightweight

■Seriously - they literally don't weigh much

■Move from location-based services to locate-able services

Page 25: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

WAS Liberty Profile

■New in WebSphere Application Server 8.5

■Free for developers

■Free tools

■Very very lightweight– 50 MB download– 60 MB footprint for biggish JEE app– Starts in under 5s

■Entirely modular and dynamic

No restarts!

Page 26: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Modularity and dynamism

Page 27: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

How can it be full-featured?

Page 28: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Where can the Liberty profile go?

Nexus 7 tabletAsus Transformer

Page 29: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Where can the Liberty profile go?

Android phoneOld

Page 30: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Where can the Liberty profile go?

Raspberry Pi

Page 31: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

The Raspberry Pi

■£25

■£25!

■1.6 oz

■700 MHz ARM 11 processor

■256 MB RAM (shared with GPU)

■Up to 4 GB SanDisk

Page 32: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

But what about the hat?

■And why on earth would you want to do that?

■'True' location-based service

■Collaboration without internet

Page 33: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Demo-timewww.wasdev.net

Page 34: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Pi lessons learned

■ James Bond Wifi– “For your eyes only”– Power supply is an issue

■A hat is a hot environment for a server :)

■Solution: failover pi!– At £25, why not?

Page 35: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Can we do better?

■Yes.

■ Built-in battery

● A built-in battery can't work itself loose mid-demo :)

● Built-in wi-fi

● Built-in wi-fi doesn't die mid-demo

● A phone has enough (electric) power to host an ad-hoc wifi network

Page 36: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

The problemHolly,in Stockholm

Tom,in London

Page 37: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

No problem!

■We have a Nexus 7, too!

Page 38: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

Demo-time(again)

www.wasdev.net

Page 39: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

The problem

■We updated the Nexus 7 :(– It needs rooting again

Page 40: The Wearable Application Server - Jfokus · The Wearable Application Server Holly Cummins ... Netduino Plus ... Where can the Liberty profile go? Old Android phone

© 2012 IBM Corporation

www.wasdev.net

Any questions?