Tuesday Dec 01, 2015

Libraries Finding the Right One!

By Magazine Editor Andrew Binstock

Welcome to the November/December 2015 issue of Java Magazine. Consistent with our new, more technical direction, this issue dives into the core building blocks of software development: libraries.

Most developers use a small set of familiar libraries, venturing beyond them only when forced to. Despite the enormous number of available open source libraries, we rarely try new options, in part because we fear the time spent learning to use them might not be rewarded with a usable option. With that in mind, Java Magazine has found several libraries for common tasks that are well worth your time: JCommander (an original solution to command-line parsing that attacks the limitations of most of the widely used options), jsoup (an elegant HTML parser), and Byte Buddy (a greatly simplified way of doing runtime bytecode generation). Finally, for a tad more of a technical deep dive, we've include a detailed examination of exactly how libraries are located, loaded, and run by the JVM.

For readers who want to look at the latest in the architecture of modern apps, we begin a two-part tutorial on using Docker-the emerging, preferred type of container.

And for enterprise developers, we conclude our four-part serieson CDI in Java EE and begin a two-part series on programming with WebSockets. Part 1 of this series shows everything needed to get going: setting up a long-lived connection and moving data back and forth across it.

Our long-running cycle of JVM languages continues with an in-depth examination of Jython, the highly regarded port of Python. Our previous language in this cycle was Kotlin; our next one will be Gosu.

As usual, we bundle my editor's column (here advocating simplification of open-source licensing), our detailed book review, a series of quiz questions from certification exams, readers' letters to the editor, and a schedule of upcoming events. Subscribe today for free! 

Tuesday Nov 24, 2015

Online Java Hands-On

Oracle Technology Network invites you to watch the replay of technical sessions and hands-on labs from the last Virtual Technology Summits.  Learn from Java specialists including Java Champions and Oracle engineers about the entire Java platform as well as the development tools. The sessions are accessible without registration.  The sessions available are: 

Docker for Java by Rolland Huss 
Java SE 8 application: Shakespeare plays Scrabble by Jose Paumard 
Java SE 8 date and time by Simon Ritter 
Pi on wheels, make your own robot by Michael Hoffer 
Connecting devices to the cloud: Healthcare for the elderly by Gerrit Grunwald 
Cloud enabled JavaScript stored procedures with Java 8 Nashorn by Kuassi Mensah

Take advantage of this new learning resource to help with your Java development. Visit the OTN VTS Java Replay

Thursday Nov 19, 2015

New Java Champion Lukas Eder

Congratulations to the new Java Champion: Lukas Eder! 

Lukas is the CEO of Data Geekery, a service offering open source products and APIs based on Java Object Oriented Querying (jOOQ). He has been the main contributor of the open source jOOQ project for many years. Lukas is also a consultant and a trainer on SQL and Java 8. He writes about topics related to jOOQ, SQL and Java on the blog http://blog.jooq.org

Lukas is a member of the board of the Java User Group Switzerland (JUG.ch), where he brings popular speakers to conferences in Zurich, Bern, Lucerne, and Basel. He is involved with the program committee of Voxxed Zurich and other Java conferences. Lukas has been  a speaker at many Java conferences such as Geekout, Geecon, and Devoxx for many years. Follow him at @lukaseder 

Wednesday Nov 18, 2015

Modularity in Java 9

Learn about Java 9 with four presentations from Alan Bateman and Mark Reinhold! In the 'Prepare for JDK 9' presentation, Alan describes JDK 9 changes and their implications in existing code and future development. 

In the 'Introduction to Modular Development' presentation, Alan presents the structure of a module and he compiles basic modules.  

In the 'Advanced Modular Development' presentation, Mark presents a set of principles for modular development, with examples taken from the JDK itself.

In the Project Jigsaw: Under the Hood presentation, Mark explains the difference between readability, observability, visibility, and accessibility in the Java Platform Module System. He also discusses the unnamed module, the platform's built-in class loaders and how you can load two different versions of a module at the same time

Tuesday Nov 17, 2015

Catch the Java 9 Train

“The goal of Java 9 is to increase developer productivity while retaining Java’s key values of readability, simplicity, universality and compatibility” explains Mark Reinhold. In this video, he describes the Java 9 release that will introduce modules, addressing the complexity of class path and the monolithic JDK  

Thursday Nov 12, 2015

Java ME 8 + Raspberry Pi + Sensors=IoT World

This is the fourth article about how to create an application with Raspberry Pi and Java ME 8.  Jose Cruz explains in detail how you can develop Java ME 8 classes that allow you to gather data and control these devices. It focuses on using a serial peripheral interface (SPI) bus to control an analog-to-digital converter (ADC), a ferroelectric RAM (FRAM), and an organic light-emitting diode (OLED) display. 

In Part 1 of his series on using Java ME 8 to control Internet of Things (IOT) devices--such as LEDs, relays, LCDs, sensors, motors, and switches--connected to a Raspberry Pi, Jose Cruz explains how to work with devices that use a simple general-purpose input/output (GPIO) interface. GPIO devices can be used as either a digital input or digital output, can be disabled or enabled, and can be used to drive interrupt lines. Part 1 explores how to connect and control a flame sensor, a movement sensor, and a motion sensor.

In Part 2, Cruz describes how to connect and control devices that use an inter-integrated circuit bus (I2C) interface. Then in Part 3, he demonstrated how to use universal asynchronous receiver/transmitter (UART) interfaces to connect devices that read latitude, longitude, altitude, and time from a GPS receiver engine board and provide the information via spoken voice in English and Spanish.

Tuesday Nov 10, 2015

Devoxx Highlights

The biggest Java conference in Europe, Devoxx, is taking place in Belgium this week. It offers in-depth Java content on the Java and related technologies during the five days of conference. The conference is themed:  “20 years of Java, Just The Beginning”   

Oracle is a platinum sponsor again this year. If you are at Devoxx, come by the booth to chat about Java and grab a cup of coffee. Oracle speaking slots are as follows:

Opening Keynote
Wednesday, November 11 9:30 – 10: 30 Room 4, 5, 9
Mark Reinhold, Stephan Janssen, Lawrence Krauss

Java EE 7 in Action - University/Server Side Java
Monday, November 9 13:30 – 16:30 Room 9
Reza Rahman

Modular Development with JDK 9 - University/Java SE
Tuesday, November 10 13:30 – 16:30 Room 8
Mark Reinhold, Alan Bateman

Prepare for JDK 9!, - Conference/Java SE
Wednesday, November 11 14:00 – 15:00 Room 8
Mark Reinhold, Alan Bateman

Young Pups: New Collections APIs for Java 9 - Conference/Java SE
Wednesday, November 11 15:10 – 16:10 Room 8
Stuart Marks

Introduction to Modular Development - Conference/Java SE
Wednesday, November 11 16:40 – 17:40 Room 8
Mark Reinhold, Alan Bateman

Java EE Gathering - BOF (Bird of a Feather)/Server Side Java
Wednesday, November 11 20:00 – 21:00 BOF1
David Delabassee

Advanced Modular Development - Conference/Java SE
Thursday, November 12 9:30 – 10:30 Room 5
Mark Reinhold, Alan Bateman

Java SE 8 for Java EE Developers - Conference/Server Side Java
Thursday, November 12 9:30 – 10:30 Room 8
David Delabassee, José Paumard 

Project Jigsaw: Under the Hood - Conference/Java SE
Thursday, November 12 17:50 – 18:50 Room 5
Mark Reinhold, Alex Buckley, Alan Bateman 

The Conference Bum - Ignite Sessions/Startups 
Thursday, November 12 13:50 -13:55 BOF1
Stephen Chin 

Ask the JDK Architects - Conference/Java SE
Thursday, November 12 15:10 – 16:10 Room 5
Mark Reinhold, Alan Bateman, Alex Buckley, Robert Field, Stuart Marks

Java Community Insider Secrets! - BOF (Bird of a Feather)/Java SE
Thursday, November 12 20:00 -21:00 BOF1
Stephen Chin, Yolande Poirier and Lucy Carey 

Mosaic of JavaOne Pictures

Experience JavaOne 2015 through the eyes of the conference attendees! Thousands of pictures from this year’s attendees were submitted to create this animation. Find pictures of yourself or people you know.  

Wednesday Nov 04, 2015

Java ME Embedded 8 at JavaOne

By Guest Blogger Terrence Barr

Following up JavaOne with a few postings to recap the week’s Java ME news:

Recap #1 is from Intel’s JavaOne 2015 keynote:

Intel and Oracle announce collaboration to bring Java ME to intelligent edge devices built on Intel architecture.

For the full announcement, see the video replay of the Intel keynote starting at 10 min 30 secs.

recap #2 from the JavaOne 2015 Java ME keynote:

Java ME Embedded 8 endorsed by leading partners to enable intelligent edge devices:

For more details, see the video replay of the JavaOne Java ME keynote starting at 1hr:7min:50sec.

Tuesday Nov 03, 2015

JDK 8u65 & 8u66 Releases

JDK 8u65 and 8u66 are now available. Java SE 8u65 includes important security fixes. Oracle strongly recommends that all Java SE 8 users upgrade to this release. Java SE 8u66 is a patch-set update, including all of 8u65 plus additional features. You can download the latest JDK releases from Java SE Downloads page.

For information on new features and bug fixes included in these releases, see the following release notes:

This release also includes JDK 8u65 for ARM. See JDK for ARM Release Notes 8 Update 65 for information about this product.


Insider News from the Java Team at Oracle!



« February 2016