By Tori Wieldt-Oracle on Nov 26, 2013
After delivering the Devoxx keynote, Java Chief Language Architect Brian Goetz talks to OTN. He takes on the question of why lambda expressions took so long to implement and how lambdas will impact developers.
The robot is connected to touch and color sensors, has a gyroscope to orient and prevent it from falling, 2 motors for the wheels and another for arms, and an infrared sensor for the remote control.
"You will rarely find isolated applications in the enterprise," says Adam Bien in the new OTN technical article entitled JavaFX Integration Strategies. Instead, an enterprise desktop application renders and manipulates the data of one or more back-end services exposed by an application server. This article focuses on the integration of Java EE services with JavaFX applications. It discusses synchronous and asynchronous communication with a JavaEE backend. LightFish and LightView were used as examples.
Author Adam Bien is a Java Champion, architect and Java developer. He is an Expert Group member for the Java EE 6 and 7, EJB 3.X, JAX-RS, and JPA 2.X JSRs. He is the author of Real World Java EE Patterns—Rethinking Best Practices and Real World Java EE Night Hacks—Dissecting the Business Tier, and all around good guy.
Read JavaFX Integration Strategies article.
Do you want JDK8 to be great? Duke needs *your* help to find issues and find them now! JDK 8 B116 EA Build is now available for download & test.
As Java 8 gets closer to the endgame we all need to help test and report issues. So please, add it as a JVM to your CI build, try running it at home and have a play with Lambdas!
You can get more details and resources on all of this at http://adoptopenjdk.java.net
As Java Champion Martijn Verburg said, "If you want Lambdas nice and early then testing Java 8 now *really* helps the whole Java community get a great release on day one."
Futuristic, automated homes are becoming a reality, and home automation is a prime example of the Internet of Things (IoT). The current issue of Java Magazine looks at IoT and what it opportunities it presents for Java developers. We also bring you a special section on development best practices, community news, and more.
Smartest House on the Street
The Internet of Things meets home automation with Java-based openHAB.
Special Section: Development Best Practices
Articles on Agile, performance tuning, concurrency, DevOps, and team dynamics.
Concurrency Utilities for Java EE
Learn how to execute task using application server concurrency services.
Patrick Curran The JCP chair on charting the future with JCP.next
Java Magazine is a FREE, bi-monthly, online publication. It includes technical articles on the Java language and platform; Java innovations and innovators; JUG and JCP news; Java events; links to online Java communities; and videos and multimedia demos. Subscriptions are free, registration required.
Do you have feedback about Java Magazine? Send a tweet to @oraclejavamag.
Geert Bevin created an application controlling multi-colored led strip with hand gestures. The Leap Motion controller detects hand position in 3D-space and sends the X/Y/Z data straight to the led strip to control the intensity of the red/green/blue lights. The led strip was connected to a Raspberry PI with an Arduino bridge and could be piloted through REST calls running on an embedded Java server. In this video, Geert explains the project.
A new batch of JavaOne sessions are now online for you to view. From Hadoop to M2M, and even Minecraft, these sessions give you the best technical information. My favorite from the latest batch: The Seven Deadly Sins of Java EE Projects by Markus Eisele.
We'll be rolling out new sessions until the end of the year, so check back often for the latest content. It's all free, brought to you by the Oracle. Check them out!
Oracle has created two new resources, the Java RIA Security Checklist and the Java Security Resource Center to help you prepare for the next Java SE update, Java SE 7 update 51 (scheduled for January 2014). This release changes the deployment requirements for Applet & Web Start applications with two new requirements:
These changes will not affect developers of back-end or client applications; the scope is limited only to Java Applets & Web Start Applications (RIAs). Read details in the blog New security requirements for RIAs in 7u51.
The changes scheduled for Java 7 update 51 means the default security slider will require Code Signatures and the Permissions Manifest attribute. Java RIA Security Checklist provides best practices to help development teams track work necessary to accommodate user prompts.
Oracle has launched a new Java Security Resource Center to aggregate security-related information for the Java community based on your role: developer, system administrator, home user, or security professional.
The Raspberry PI and Leap Motion hands-on labs at Devoxx 2013 started with a packed room, we even had to fetch additional chairs for people standing in the back. Vinicius and Yara senger explained their super useful embedded devices panel where many sensors and boards can be accessed through easy REST URLs.
After my quick overview of the Leap Motion controller, the attendees could experiment with all available devices and get acquainted with it before starting a hack. Surprisingly though, only a couple of developers were interested to stick around for the real hack-fest that lasted the rest of the day.
We set up everything upstairs in the Devoxx open-space and started hacking with the brave few that showed up. As the day advanced though, more and more people came by and were impressed to see the work in progress. On Tuesday evening all the tables were packed with hackers testing and building cool stuff. Ten of them were able to finish their project and some even presented it on video for the Oracle Technology Network YouTube channel.
I had a great time and it's wonderful to see how easily accessible physical embedded devices speak to the imagination of so many developers.
Here's my hack that lets you control a strip of multi-colored lights that are connected to Arduino over a Raspberry Pi and are remotely controlled with the Leap Motion controller over the network.
Richard Bair, Client Java Architect, discusses Java and the Internet of Things, JavaFX, Lambdas and more. Video, from the Devoxx conference: