Termes les plus recherchés
[PDF](+77👁️) Télécharger Java Magazine 2014 09-10 pdf
Java Magazine 2014 09-10Télécharger gratuit Java Magazine 2014 09-10 pdf
//SEPTEMBER/OCTOBER 2014/
05
2014 DUKE’S
CHOICE
AWARDS
11
THE MAKER
MOVEMENT
EVOLVES
16
IOT DEVELOPER
CHALLENGE
WINNERS
ORACLE.COM/JAVAMAGAZINE
ORACLE
//table of contents /
05
2014 DUKE’S
CHOICE
AWARDS
We recognize innovative uses
of Java technology.
COMMUNITY
03
From the Editor
16
Java Nation
News, people, books, and events
25
JCP Executive Series
Rise of the Machines
ARM’s Zach Shelby on the Internet of
Things, the Maker Movement, and
the JCP
JAVA TECH
32
New to Java
Fun and Games with
Greenfoot and Kinect
Create a game that is controlled by
the movement of the players’ bodies.
36
Java Architect
Understanding Java JIT
Compilation with JITWatch
Learn how to examine JIT logs to see
what the JIT compiler is doing (and why).
COVER ART BY l-HUA CHEN
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
11
THE MAKER
MOVEMENT
EVOLVES
Read our interview with
Maker Faire cocreator
Dale Dougherty.
16
IOT DEVELOPER
CHALLENGE
Meet the winners of the
first-ever IoT Developer
Challenge.
>-
o
o
o
<
I
o
<
~~3
43
55
<
Java Architect
Rich Client
[_
Java Apps on iOS and Android-
Location-Based Software
( "\
Now a Reality
Using JavaFX
o
Build mobile apps with Oracle Mobile
Discover the benefits of using
ITI
®
S' N
Application Framework, a Java-based
JavaFX for visualization software.
hybrid mobile platform.
60
48
Embedded
Enterprise Java
Getting Started with
Get Your Java Applications
Home Automation
Java
Enterprise-Ready with
Leverage openHAB and the huge Java
.net
^ J
Oracle WebLogic Server
ecosystem to create a truly smart home.
f \
Make your applications more robust,
secure, highly available, and scalable.
66
blog
L J
Fix This
A
Take our streams code challenge!
0 ,
EDITORIAL
Editor in Chief
Caroline Kvitka
Community Editor
Yolande Poirier
Java in Action Editor
Michelle Kovac
Technology Editor
Tori Wieldt
Contributing Writer
Kevin Farnham
Contributing Editors
Claire Breen, Blair Campbell,
Kay Keppler, Karen Perkins
DESIGN
Senior Creative Director
Francisco G Delgadillo
Senior Design Director
Suemi Lam
Design Director
Richard Merchan
Contributing Designers
Jaime Ferrand, Diane Murray,
Arianna Pucherelli
Production Designers
Sheila Brennan, Kathy Cygnarowicz
PUBLISHING
Publisher
Jennifer Hamilton +1.650.506.3794
Associate Publisher and Audience
Development Director
Karin Kinnear +1.650.506.1985
ADVERTISING SALES
President, Sprocket Media
Kyle Walkenhorst +1.323.340.8585
Western and Central US, LAD, and
Canada, Sprocket Media
Tom Cometa +1.510.339.2403
Eastern US and EMEA/APAC,
Sprocket Media
Mark Makinney +1.805.709.4745
Advertising Sales Assistant
Cindy Elhai +1.626.396.9400 x 201
Mailing-List Rentals
Contact your sales representative.
RESOURCES
Oracle Products
+1.800.367.8674 (US/Canada)
Oracle Services
+1.888.283.0591 (US)
Oracle Press Books
oracjepressbooks.com
ARTICLE SUBMISSION
If you are interested in submitting an article, please e-mail the editors.
SUBSCRIPTION INFORMATION
Subscriptions are complimentary for qualified individuals who complete the
subscription form.
MAGAZINE CUSTOMER SERVICE
iava@halldata.com Phone +1.847.763.9635
PRIVACY
Oracle Publishing allows sharing of its mailing list with selected third parties. If you prefer
that your mailing address or e-mail address not be included in this program, contact
C usto mer Service.
Copyright © 2014, Oracle and/or its affiliates. All Rights Reserved. No part of this publication may be reprinted or otherwise
reproduced without permission from the editors. JAVA MAGAZINE IS PROVIDED ON AN “AS IS” BASIS. ORACLE EXPRESSLY
DISCLAIMS ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ORACLE BE LIABLE FOR ANY
DAMAGES OF ANY KIND ARISING FROM YOUR USE OF OR RELIANCE ON ANY INFORMATION PROVIDED HEREIN. The
information is intended to outline our general product direction. It is intended for information purposes only, and may not be
incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied
upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s
products remains at the sole discretion of Oracle. Oracle and Java are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
Java Magazine is published bimonthly with a free subscription price by
Oracle, 500 Oracle Parkway, MS 0PL-3C, Redwood City, CA 94065-1600.
Digital Publishing by GTxcel
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
SEPTEMBER 28 - OCTOBER 2, 2014
SAN FRANCISCO
oracle.com/javaone
JavaOne
REGISTER NOW
Respond Early, Save $400*
Discover All Things Java
• Learn all about Java 8
• 500+ educational sessions
• 100+ product demos
• Meet with 500+ Java experts
L Diamond Sponsor L Silver Sponsor
AVA/A
L Bronze Sponsors
GridGain
New Relic
Restlet
*Save $400 over onsite registration. Visit oracle.com/javaone/register for early bird registration dates and details.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered
trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
ORACLE
//from the editor /
B ______
aviation camp at our local airport was his favorite camp this summer. While kids seem to always be building
stuff—from sand castles to LEGOs—as adults we have to try harder to keep that desire to build alive. Why build
when you can buy? Luckily, the reasons to build, create, and do it yourself are endless. In this issue, we celebrate
the spirit of making and the people who are creating new and innovative technologies and services.
In our Interview with Dale Dougherty, Make: magazine founder and Maker Faire cocreator, we explore what's
behind the growing Maker Movement and how it relates to software development. "We're on the cusp of a new
creative industry that is taking product design and the web and beginning to link them," he says. "One of the
great starting points for developers is a standardized board such as the Arduino."
We also recognize the winners of the 2014Duke's Choice Awards, which honor compelling and innovative uses
of java technology. These winning makers help ensure safer travel, feed hungry refugees, improve crop yields,
provide cool technology, and aim to end a decade-long debate in the Java community.
We're also excited to recognize the winner of the first-ever IoT Developer
Challenge, sponsored by Oracle Technology Network and Oracle Academy. Winners
used embedded Java with computer boards, such as the Raspberry Pi, and other
devices and IoT technologies to showcase innovations in domotics, robotics, office
design, authentication, and rating systems.
Congratulations to all of the winners, who show us that the spirit of making is alive
and well. Inspired? Get out there and build something.
//send us your feedback /
We'll review all
suggestions for future
improvements.
Depending on volume,
some messages might
not get a direct reply.
Caroline Kvitka, Editor in Chief
BIO
PHOTOGRAPH BY BOB ADLER
Find the Most
Qualified Java
Professionals
for your
Company's Future
Introducing the
Java Magazine Career
Opportunities section -
the ultimate technology
recruitment resource.
Place your advertisement
and gain immediate access
to our audience of top IT
professionals worldwide
including: corporate and
independent developers, IT
managers, architects and
product managers.
For more information
or to place your
recruitment ad or
listing contact:
tom.cometa@oracle.com
o
i—
o
<
I
—)
—)
CO
I-
=)
O
DQ
<
f
java
.net
blog
QRACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
The answer is right in front of you
r w m *57 s
bJEv
f£-r
-jJ
n
Hi
. jTIi .
p
J, ijt j r. j
g||
,, 'KV i
Java Image Enabling SDKs that Help You Seethe Big Picture
At first glance it may seem difficult but it's really quite simple. Atalasoft's
Joltlmage product is a proven SDK for image enabling your Java-based web
applications, easily, image enabling helps to add dimension to your data, so
you can uncover insights such as correlations and causations hidden inside
your 2-dimensional documents. Our SDK does the heavy lifting for you,
saving time, money, and the headaches of figuring it out yourself. Backed by
our highly knowledgeable & caffeinated support engineers, Joltlmage will
enable your success and make the big picture so much easier to see.
Atalasoft
Joltlmage
Click for tips on viewing the stereogram
Image enabling experts & bacon connoisseurs. Visit us online to see our full line of SDK products for .NET and Java
* Kvfflp »
www.atalasoft.com
>-
I-
2014 DUKE’S
CHOICE AWARDS ...
W
123 r'ffr 1 (WIT 7
This year’s winners help make travel safer, feed
hungry refugees, improve crop yields, provide
cool technology, and aim to end a decade-long
debate in the Java community.
BY PHILIP]. GILL
T his year's Duke's Choice Award winners
are an eclectic bunch of developers, inno¬
vators, and educators. Some are using the
Java platform to address real-world challenges
to improve road and air safety, assist refugees,
and increase grain crop quality and quantity to
help feed the hungry. Others are promoting Java
in home automation and game development,
solving important technical issues, educating
Africa's Java community, and hoping to resolve
a longstanding community debate.
THIS YEAR'S WINNERS (in alphabetical order by project name)
Air Traffic Controller
Selection System,
TUBITAK BILGEM
Informatics and
Information Security
Research Center
ART BY l-HUA CHEN
Apache DeltaSpike,
Apache Software
Foundation
Apache TomEE,
Apache Software
Foundation
Autonomous Vehicle
Test System, Perrone
Robotics for the
Insurance Institute for
Highway Safety
DukeScript, Eppleton
IT Consulting and the
NetBeans project
IBFieldbook,
International
Maize and Wheat
Improvement Center
JavaFXPorts, LodgON
ICertif International
libGDX
PiDome
Project] EDI, Java
Education Sr
Development Initiative
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
WFP Subsidy Card,
e-finance for the
United Nations
High Commissioner
for Refugees and
the World Food
Programme
>-
I-
SAFETY FIRST
The driverless car is still a few years away,
but crash avoidance systems are already
available in some of today's popular
luxury automobiles. Working with the
Insurance Institute for Hig hway Safety
(IIHS), Perrone Robotics has developed
the Java-based Autonomous Vehicle
Test System (AVTS) to independently
test these safety systems.
“Java took the
highest score
against other
platforms.”
—OmerFarukArar,
Chief Researcher,
Air Traffic Controller
Selection System
"Many of today's vehicles already
have 'crash-imminent braking' and
other features," says Paul Perrone,
CEO of his eponymous Charlottesville,
Virginia-based firm. "But up until now,
the IIHS hasn't really had a way to test
how well these technologies work in
real-world situations with cars traveling
at highway speeds."
Perrone Robotics began work on
the AVTS in early 2013 and has com¬
pleted phase one of its contract—which
required delivery of one complete sys¬
tem, including one target robot vehicle
and one drop-in actuator kit, for use by
the IIHS. "They are now ramping up on
using the system," says Perrone.
The TUBITAK BILGEM Informatics
PHOTOGRAPHS BY PAT JARRETT/GETTY IMAGES
and Information Security Research
Center, a Turkish government agency,
and Air Navigation Service Provider
and Airport Operator of Turkey (DHMI)
used Java to develop a new computer-
based testing system to help select and
vet air traffic controllers: the Air Traffic
Controller Selection System (atcSES).
Before atcSES, another computer-based
selection system was used, explains
atcSES Chief Researcher Omer Faruk
Arar. "This system obviously had some
drawbacks," says Arar. "It could not
provide enough administrative flexibil¬
ity. With atcSES, necessary flexibility is
provided to authorized users and the
skills needed for an air traffic controller
could be evaluated more interactively
by new tests."
With atcSES, the agency evaluates
potential candidates on eight essential
skills: spatial awareness, reasoning,
complex attention, psychomotor abili¬
ties, visual memory, auditory memory,
cross-control, and basic mathematics.
Before starting the atcSES project,
the agency evaluated suitable technolo¬
gies for the project. "Java took the high¬
est score against other platforms," says
Arar. "We needed to implement tests
quickly and adapt the system easily. By
using Java, we easily achieved that."
Left: Paul Perrone at the Insurance
Institute for Highway Safety. Right:
Perrone and team install and test their
Autonomous Vehicle Test System.
co
i-
=)
o
co
<
f
java
.net
blog
06
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
PHOTOGRAPH BY RAFAEL MONROY/
GETTY IMAGES
FIGHTING HUNGER
Two of this year's winning projects
are helping fight hunger. The first is
the WFP Subsidy Card, which is based
on Java smartcard technology and
was developed by e-finance for the
United Nations High Commissioner for
Refugees (UNHCR) and the World Food
Programme (WFP).
"The WFP Subsidy Card helps refu¬
gees listed by the United Nations get
the food they need through secure-card
wallets controlled by both organiza¬
tions," explains Mohamed Taman,
systems architect and project manager
for Cairo, Egypt-based e-finance. "Right
now they're being used by 100,000
refugees; by the end of the year they will
be helping 500,000."
This is the second Duke's Choice
Award fora UNHCR project; the U.N.
global refugee agency won in 2012 for
Level One, a light client application that
enables U.N. personnel to register refu¬
gees and assess their immediate needs.
In Texcoco, Mexico, the International
Maize and Wheat Improvement
Center—el Centro Internacional
de Mejoramiento de Maizy Trigo
(CIMMYT)—has used Java, JavaFX, and
NetBeans to create a crop and field
analysis tool to improve crop quality
and yields around the world: Integrated
Tomas “Tito” Sanchez (right)
of the International Maize and
Wheat Improvement Center
analyzes crops with IBFieldbook
on a tablet computer.
Breeding Field Book, or IBFieldbook.
This application helps design field tri¬
als and generate crop analysis and
enhancement solutions. In conjunction
with tablet computers in the field, it
efficiently and accurately captures crop
phenotype data and saves it in a local
crop database before submitting that
information to CIMMYT for analysis.
"Before IBFieldbook, people recorded
data using Excel spreadsheets and
Excel macros before storing the infor¬
mation in Access databases," explains
development team memberTomas
"Tito" Sanchez. "We also used some
tools developed in Delphi and VB to
query the database, consuming a lot of
time and generating serious bottlenecks
to access the information for analyses.
The problem was that, due to differ¬
ent Excel versions, the application was
not able to run on different operating
systems. That's why we decided to use
Java and NetBeans—because we will
be able to deploy IBFieldbook on Linux,
Windows, and the Mac OS."
>-
i-
co
I-
=)
o
co
<
f
java
.net
blog
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
“We are trying
to take all those
great home
automation
projects...
and put them
together in one
single package.”
—John Sirach, Project
Leader, PiDome
PHOTOGRAPH BY TON HENDRIKS
COOLTECH
No Duke's Choice Award winners ros¬
ter would be complete without some
"cool" technology. This year the honors
go to the PiDome home automation
and Internet of Things (IoT) platform,
which marries Java and the Raspberry
Pi credit-card-sized single-board com¬
puter. Some important features are real¬
time USB device recognition; Raspberry
Pi hardware interfaces; a visual trigger
editor for any controllable device; and
a visual floor planner, which is visual¬
ized in 3-D in the PiDome JavaFX OS-
themed client with real-time updates.
"What we are trying to do is to take all
those great home automation projects
by electronic hobbyists and fellow Java
developers and put them together in
one single package. By supporting exist¬
ing products, open source projects via
plugins, and our own hardware created
by Marcel Wiebenga, it will be able to
compete with the larger home automa¬
tion systems," says John Sirach, project
leader at PiDome.
From a diverse team of open source
enthusiasts comes libGDX, a cross¬
platform game development frame¬
work that allows programmers to
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
write, test, and debug Java games on a
desktop PC running Windows, Linux, or
Mac OS X and deploy that same code
to Android, iOS, and WebGL-enabled
browsers—something not widely avail¬
able right now. The goal of libGDX, says
creator Mario Zechner, "is to fulfill the
'write once, run anywhere' promise of
the Java platform specifically for game
development."
DukeScript is an alternative to Swing,
SWT, and JavaFX, with the benefit that
it also runs on Android and iOS and
enables true cross-platform Java.
"Although the name somehow seems
to imply otherwise, DukeScript is not
a scripting language," says DukeScript
collaborator Anton (Toni) Eppleof
Munich, Germany-based Eppleton IT
Consulting. "DukeScript applications are
plain Java applications that internally
Top: Mario Zechner of libGDX.
Center and bottom: screenshots
of Halfway, a game developed
in libGDX.
JCertif Conference attendees in Africa
use HTML5 technologies and JavaScript
for rendering. This way developers only
need to write clean Java code and can
still leverage the latest developments in
modern UI technology." DukeScript is
developed as a subproject of NetBeans.
Helping educate future technologists
about Java and open source technolo¬
gies in Francophone Africa is JCertif
International. Since its founding in
2010, this organization has trained
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
Three-Way Tie Makes 12 Winners
How fitting that in its 12th year the Duke’s Choice Awards has 12 winners,
thanks to the first-ever three-way tie in the voting for the coveted Community
Choice Award.
The first of the trio is Project JEDI, for the Java Education & Development
Initiative. This community-driven organization provides free courseware and
training on Java and open source technologies to colleges and universities
around the world. Originally started in the Philippines, Project JEDI now part¬
ners with Java user groups (JUGs), academic institutions, government agen¬
cies, and businesses around the world to translate and provide the course
materials in other languages.
The second winner is the Apache Software Foundation’s Apache
DeltaSpike developer toolbox for Java Contexts and Dependency Injection
(CDI) for the Java EE 6 platform. Apache DeltaSpike allows developers to
introduce and test new features in Java EE before they are standardized, such
as transaction support for CDI beans, which wasn’t available until Java EE 7.
The third winner, JavaFXPorts, from LodgON, is also an open source tool¬
kit. For the first time, it makes graphically rich Java and JavaFX available to
mobile and tablet devices running iOS and Android operating systems.
5,000 Java developers across Africa,
according to Founder and Managing
Director Max Bonbhel. "JCertif
International is an independent, non¬
profit organization that brings together
African community leaders dedicated
to growing and empowering developer
communities through training and
events," explains Bonbhel. "JCertif also
provides free training materials and
speakers and promotes collaboration
between tech user groups across the
African continent."
Its JCertif University, held several
times a year in various cities across the
continent, offers two- to five-day inten¬
sive classes and workshops, typically for
20 to 50 students at a time. Its annual
JCertif Conference is a one- to two-day
conference with lectures and speak¬
ers that typically attracts up to 2,000
attendees, says Bonbhel.
David Blevins, Apache
Software Foundation
vice president for
Apache TomEE,
presents at Devoxx.
SETTLING A DEBATE
The Apache TomEE platform from the
Apache Software Foundation effec¬
tively ends a debate that has raged for a
decade between technologists prefer¬
ring Java EE-compliant web application
servers and those devoted to Apache
Tomcat, says David Blevins, the founda¬
tion's vice president for Apache TomEE.
The TomEE server merges a certified
Java EE 6 Web Profile stack with Tomcat,
the leading Java web application server
by market share. TomEE is available in
two versions. TomEE sticks strictly to
the minimum definition of the Java EE
Web Profile, says Blevins, while TomEE
Plus is a less strict approach and offers
some of the key technologies that didn't
make it into the Web Profile, such as
JAX-WS, Java Message Service, and
Java EE connectors.
"The primary question that moti¬
vates us is, why should people have
to choose between Tomcat and a
Java EE-compliant application server?"
says Blevins. "After 10 years it still
comes up, and people argue against
each other as to which is better and
why. The debate has raged on for far
too long and could be best described
as a stalemate. TomEE is one half of
an industry movement to answer that
question and put that debate to bed
permanently." </article>
JUDGES AND PROCESS
The winners of the 12th annual Duke’s
Choice Awards were selected in a three-
part process. First, all members of the
Java community were invited to submit
nominations to this year’s judges, who then
selected nine winners from more than 50
submissions and nominated six candidates
for this year’s Community Choice Award. In
the final round, those Community Choice
Award nominees were posted on Java.net
and all members of the Java community
were invited to vote for their favorite.
This year’s judges were
Stephen Chin, Java evangelist, Oracle
Michelle Kovac, Java marketing and
operations, Oracle
Yolande Poirier, Oracle Technology
Network
Reza Rahman, Java evangelist at Oracle
and GlassFish community member
Yara Senger, cofounder and president,
SouJava
Bruno Souza, cofounder, SouJava
Martijn Verburg, co-organizer, London
Java Community
John Yeary, president, Greenville Java
Users Group
The 12 winners will be honored at
JavaOne September 28-October 2, 2014,
in San Francisco, California.
co
I-
=)
o
m
<
f
java
.net
blog
A
Philip J. Gill is a San Diego, California-
based writer and editor.
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
PHOTOGRAPH BY ORACLE
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
THE
MAKER
MOVEMENT
EVOLVES
A conversation with Maker Faire
cocreator Dale Dougherty
BY TIMOTHY BENEKE
T he Maker Movement, a fast-growing do-it-
yourself (DIY) culture focused on such innova¬
tive pursuits as robotics, electronics, and 3-D
printing, along with traditional activities such
as metalworking, woodworking, and arts and crafts, has
reached critical mass. At the first-ever White House Maker
Faire, held on June 17, 2014, President Barack Obama
called on "people across the country to join us in sparking
creativity and encouraging invention in their communi¬
ties." He proclaimed june 18, 2014, a "day of making" and
stated, "Thanks to the democratization of technology, it
is easier than ever for inventors to create just about any¬
thing. Across our nation, entrepreneurs, students, and
families are getting involved in the Maker Movement."
The convergence of the growing Internet of Things (IoT),
big data, machine-to-machine technology, and cloud
computing, along with enhanced embedded applications,
has made it clear that the hardware innovation fostered
by the Maher Movement is opening up
rich possibilities for Java developers. The
recent MaherCon Conference, hosted at
Oracle headquarters, reinforced that as
embedded devices get cheaper, more
powerful, and more connected, and as
the IoTgrows, Java developers will face
new challenges and opportunities and
will look to Oracle for strong support. To
that end, a major effort to unify the Java
platform is underway—specif cal \y, Java
ME with Java SE—to shrink Java SE into
the embedded space for smaller devices.
Dale Dougherty, CEO of Maker
Media, founder and publisher of Make:
magazine, and cochair of MakerCon, is
at the center of the Maker Movement.
Make:, which Dougherty launched in
2005, provides a wealth of wide-ranging
information about do-it-yourself and
do-it-with-others projects, along with
step-by-step instructions on how to
make things.
Dougherty, the cocreator of Maker
Eaire, has a rich and creative history,
much of it tied to O'Reilly Media. Prior
to Make:, he developed Global Network
Navigator (GNN), the first commercial
website, which was launched in 1993
and sold to America Online in 1995.
From 1995 to 1999 he was publisher
of Web Review, an online magazine
for web designers. As publisher of the
O'Reilly Network, which he founded
with Tim O'Reilly, he developed the
Hacks series of books and was honored
by the White House as a "Champion of
Change" We talked with him to get an
insider's view of the Maker Movement.
PHOTOGRAPH BY BLAINE FISHER/GETTY IMAGES
Java Magazine: What's been happening
lately in the Maker Movement?
Dougherty: For starters, we had a
White House Maker Faire recently,
which tells us that the Maker Movement
is moving from the margins to the
mainstream. I'm quite happy about
the impact it can have in areas such as
manufacturing, innovation, and espe¬
cially education—and even in civic and
community areas as well. The Maker
Movement is a widely distributed social
network that anyone can join. You iden¬
tify yourself as a maker and you're in.
We are trying to reach people who
don't identify as makers and show them
1
Hr
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
that there are pathways to become
makers. We believe that there is a set of
values that you acquire by making. And
one of the key ones is to see yourself as
a producer—a shaper and a builder—
and not just a consumer. It really
doesn't matter whether you're work¬
ing with wood, plastic, 3-D printing, or
flour and egg. Making can take many
different forms. We feel that making is
important in helping people lead more
productive and meaningful lives.
We also see that making is a source
of innovation. Tools for people who
have ideas for services and things are
becoming increasingly available and
Dale Dougherty gives a
presentation at Maker
Faire Kansas City on
June 28, 2014.
>-
I-
o
o
o
I—
o
<
I
—)
CO
I-
=)
o
DO
<
f
java
.net
blog
Left: Dougherty at Maker Faire Kansas City. Right: Kids learn and play at Maker Faire Bay Area.
easy to use. And the time it takes to make
things is collapsing. So you might be scratch¬
ing your head with a good idea and feel like,
well, I don't know how to get this done. Making
initially has a DIY nature, but as people get
involved they meet others and there is more
collaborative production.
I met a man recently who was paralyzed from
a diving accident and is confined to a wheel¬
chair that has a vertical pole like a joystick that
is used for control. He has a paralyzed hand and
can't wrap his hand around the pole to use it
effectively—in fact, he was just resting his hand
on the top tip of it. So, using a 3-D program, he
designed a mitt interface that enables him to
wrap his hand around the stick and navigate his
wheelchair. He had it 3-D printed in plastic and
then printed in metal. It's empowered him to
enhance his mobility.
He represents the core of the Maker
Movement. Once the door is opened he starts
thinking, "Well, there must be other people
like me who need this. So what I designed for
myself could help other people."
Java Magazine: The Maker Movement seems
to affirm certain core human needs to create,
PHOTOGRAPHS BY BLAINE FISHER/GETTY IMAGES AND ORACLE
Java, Meet Maker Movement
We asked Noel Portugal, principal user
experience developer at Oracle, to weigh in
on Java’s role in the Maker Movement.
“Java has become the de facto language
for enterprise applications. A lot of libraries
and code examples that are commonly used
in enterprise applications can now be used
in conjunction with the Maker Movement
through embedded Java and the Internet
of Things [loT],” says Portugal. “Data col¬
lected by sensors needs to be analyzed by
microprocessors and then sent to the cloud.
This is easily achieved using a Java Virtual
Machine [JVM] and the Java language.”
Java developers already have the skills
to create the loT and build devices with the
potential to change the way we live and
interact with the world, he says. “It’s up to
you to dream up and create a physical device
that will connect to the cloud. There are no
limits to the imagination.”
Portugal adds that the Oracle Java team
has worked closely with the maker com¬
munity to make sure that embedded Java
works out of the box with embedded ARM
microprocessors. “Performance is key for
real-time applications, and embedded Java
applications are up to the task. The maker
community is always welcoming and ready
to help.”
co
I-
=)
o
CD
<
f
java
.net
blog
QRACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
contribute to society, and connect with
other people through community—all
in one fell stroke.
Dougherty: Yes, and consumer culture
doesn't really promote this. Instead, it
promotes the idea that you buy some¬
thing and you're satisfied. The Maker
Movement is saying that when you
really make something, whether it's a
gift for someone else or something for
yourself, something that you put a lot
of energy and time into, you value that
process a lot and you value what you
end up with.
Java Magazine: How does a Java devel¬
oper plug into the Maker Movement?
Dougherty: It's exciting that software
developers have begun to get interested
in hardware again—there are a lot of
great ways to plug in. We're on the cusp
of a new creative industry that is taking
product design and the web and begin¬
ning to link them. My starting point
for Make: magazine was hacking the
physical world so we could change it,
customize it, and interact with it. One
of the great starting points for devel¬
opers is a standardized board such as
the Arduino that allows you to log sen¬
sors in or make connections and write
simple code to do things. That's a really
good introduction to what's possible.
People are creating other boards and
things that have Wi-Fi baked into them.
The Raspberry Pi runs a full Linux envi¬
ronment where you have the tools avail¬
able for your program source develop¬
ment. The key is, how do you connect
with the physical world? You may be
PHOTOGRAPH BY BLAINE FISHER/GETTY IMAGES
able to do anything you
want on a computer, but
it's harder to connect an
individual sensor to your
computer if it doesn't
come built into it. So that's
the general direction.
A lot of developers have
grown up programming
just the web, and the idea
that you can interact with
the physical world is fas¬
cinating. Even something
like a drone—how do I
program a drone to make
it fly? Or control a robot? I
think what fascinates a lot
of people, and especially
young kids, is the ability
to gain control over the
physical world. So you
have a robot that you can
make go faster or slower
or left or right just by writing code.
Mastering sensor functionality is one
key area for developers.
And what happens when lots of dif¬
ferent things in your "built" environ¬
ment are smart and interacting with
you and each other? Take an area such
as wearables, which might be a watch
or clothing. What behaviors do we
want associated with them? Someone
recently told me that they were inter¬
ested in having a sweater that was
programmed so that it knew that
people were looking at it and reacted.
It's a playful idea that gets us leaping
into the world of the possible. It gets
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
us thinking about interface designs, Dougherty talks with a
which we tend to think of in terms of young maker at Maker
the rectangle of the computer screen, Faire Kansas City,
but it can include clothing and gadgets.
We can ask what we want our sneakers
to tell us. Developers have the capac¬
ity to enable us to control and integrate
lots of devices and to change our envi¬
ronments in ways that make the world
more fun and easier to live in.
An architect at a Maker Faire was
showing a Tesla coil that arced through
the air in sync with music that was
playing. We could have whole buildings
doing that. On the other hand, there
is a side to this that is very practical.
co
i-
=)
o
m
<
f
java
.net
blog
A Maker Faire Kansas
City maker shares her
story with Dougherty.
A friend of mine told me about a "cat
detector" that he built. He and his fam¬
ily had adopted a stray cat that had a lot
of scratches and wasn't doing so well,
so they started putting out food for it.
They rarely saw the cat, but they saw
the empty food bowl and wondered
who was eating the food. So he took
a little camera and connected it to a
motion sensor, along with a trigger light
set up by the cat food, so that when
something approached the bowl, it took
a picture and sent it to his cell phone.
They discovered that both the cat and a
raccoon were eating the food. It's a very
practical example of solving a specific
problem, such as the one for the man
in the wheelchair. People now can see
PHOTOGRAPH BY BLAINE FISHER/GETTY IMAGES
ORACLE.COM/JAVAMAGAZINE /////////////////////////////// SEPTEMBER/OCTOBER 2014
a problem and whip something
together off the shelf and solve
it. I don't know if there's a big
market for a "cat detector,"
but you would be surprised at
the number of similar stories
from people who want to know
what's happening in theiryard
or their chicken coop at night.
Java developers, once they get
acquainted with electronics,
are in a position to do things on
a much grander scale. There's
something a bit disorienting
about the Maker Movement,
but it's a kind of creative disori¬
entation because you become
aware of so many possibilities.
You go to a Maker Faire and
see 10 things in a row that are
extremely different from each
other, each of which leads you to think
of new options. You see someone doing
some new kind of crochet and some¬
one else with a robot, and soon you
start seeing robots doing crochet. And
if you are good at coding, you have a
great advantage with things such as
the Arduino platform, BeagleBone, the
Raspberry Pi, and new areas such as the
Spark Core board.
We published a really great book
called Make : Electronics that can help
developers make the journey into elec¬
tronics. One interesting direction is
JSON [JavaScript Object Notation] inter¬
faces, which should enable web devel¬
opers to talk to sensors in a language
they are familiar with.
Java Magazine: Any final remarks?
Dougherty: We hear a lot about the IoT.
It's important to keep in mind the new
social and human space that gets cre¬
ated when there is a lot of data being
passed between devices. We are talk¬
ing about new kinds of human experi¬
ences and behaviors for everyone. The
Maker Movement is raising a flag and
saying that everyone has something
to contribute in creating a new-and-
improved world.
What I'm most thrilled about is the
number of kids showing up in the Maker
Movement. They are so excited and
engaged. I really want to help create a
world where kids can find places in their
community where they learn to make
things and become makers themselves.
The key to this is the creation of maker
spaces in schools and libraries, muse¬
ums and community centers, formal and
informal settings, so that kids can have
access to tools and materials and find
mentors. This will not only create new
innovators but it will help people gain
better control of their lives. </articie>
Timothy Beneke is a freelance writer and
editor who has written for Mother Jones,
the East Boy Express, and the Chicago
Reader.
/ LEARN MORE
• MAKE: magazine
• White House Maker Faire
• " A Perfect Match: lava and the Internet
ofThings "
//java nation /
Lw h «ti 5
The Smart Greenhouse
Project team (from left to
right): Dzmitry Yasevich,
Vladimir Redzhepov, and
Pavel Vervenko
Smart Greenhouse Project details
The Lhings Connected Table at work
The Bot-So project in action
The ePot Smart Gardening project
i—
o
<
<
<
~3
CO
I-
=)
O
m
<
loT
DEVELOPER
CHALLENGE
Developers from around the world,
inspired by the potential of the Internet
of Things (IoT), participated in the first-
ever IoT Developer Challenge, sponsored by
OracleTechnology Network and Oracle Academy.
Developers submitted applications that used
embedded Java with computer boards such as the
Raspberry Pi, and other devices and IoT technolo¬
gies. The six winning projects showcased innova¬
tions in domotics, robotics, office design, authen¬
tication, and rating systems.
Winners were broken into professional and
student categories. In the professional category,
the winning projects were Smart Greenhouse
Project, a full-featured, automated greenhouse to
grow indoor plants; Bot-So, a smart social robot
that interacts via Twitter; and Lhings Connected
Table, an inno
Lire la suite
- 10.62 MB
- 15
Vous recherchez le terme ""

77

295

36