Thursday Sep 17, 2015

Concurrency on the JVM

Stressing that there is no single solution for all situations, Tomasz Nurkiewicz, in his "Concurrency on the JVM: Beyond Thread.start()" article, describes a wide range of parallelization options for running programs concurrently. Also discussed are some tools for asynchronous programming.

Using examples, the article demonstrates options available in Java and other Java Virtual Machine (JVM) languages such as Scala, Clojure, and Groovy. Topics covered include the following:
  • ExecutorService
  • Parallel streams
  • CompletableFuture 
  • ForkJoinPool
  • RxJava
  • GPars
  • Agents
  • Actors
  • Software transactional memory (STM)
Pros and cons for each option are discussed as well as a general warning to benchmark before using any of them to ensure they cause no performance degradation. Read the article.

Wednesday Sep 16, 2015

Java 8 Do and Don'ts

Fredrik Vraalsen shares Java 8 best practices and pitfalls. He also suggests some libraries for functional programming.

Microservices Architecture

In this interview, Bert Ertman discusses when and why companies should consider a microservices architecture. He offers three main considerations before switching to microservices. 

Tuesday Sep 15, 2015

Connecting Devices in the Cloud for Healthcare

Want to know how to create a useful IoT application using cutting edge technologies?  Join Gerrit Grunwald in our next VTS. He will walk you through a multi-faceted application designed for the elderly. Gerrit Grunwald takes a detailed look at use cases for the daily activities and schedules of the elderly to monitor any irregularities remotely and identify emergencies. Living in remote areas, many aging relatives are isolated and far away from medical facilities and doctors. 

He uses a mobile phone and a smart watch with a Java based gateway, iBeacons and other sensors to monitor their activity. He explains in great detail how the data is collected, aggregated, analyzed and visualized using the latest in technology.  With the help of an IoT cloud service this data can be analyzed to detect situations that are critical. 

VTS is a series of interactive online events with hands-on sessions and presenters answering technical questions. The events are sponsored by the Oracle Technology Network (OTN). They are free events but you must register. Join the next exclusive events near you: 

  • Americas - September 16th- 9:30am to 12:30 PST - Register 
  • EMEA - September 23rd - 9:30am to 12:30pm BST - Register
  • APAC - September 30th- 3pm to 6:30pm AU/SYD - Register

Thursday Sep 10, 2015

The State of the Module System

Java Architect Mark Reinhold and key members of Java product team provide an informal overview of modularity as prototyped in Project Jigsaw.

The goals for the module system are a reliable configuration to replace the class-path mechanism and a strong encapsulation. Modules will be self-describing collections of code and data, organized in packages. This overview explains the structure of a module, how calls between modules are handled, and how existing applications will remain supported. “To support existing applications it retains the platform’s present hierarchy of built-in class loaders and, also, relates types on the class path to modules.”

Mark’s explanation is supported by examples in code of the basic concepts as they relate to modularity. These include module declarations, modular JAR files, module graphs, module paths, and unnamed modules. Developers are most likely to become very familiar with those concepts. Read the full overview 

Wednesday Sep 09, 2015

Java 8 in Practice!

How can you use the new features of Java 8 in your day-to-day programming? In the article “Java SE 8 in Practice”,  Trisha Gee explores some specific Java SE 8 features such as lambda expressions and the Stream API to easily perform common operations, such as mapping, sorting, comparing, and working with files. 

Trisha demonstrates with live code how to create leaderboard of top tweeters, a map with key entry for every new handle and a user for each key. She compares before and after Java SE 8 and describes how IntelliJ IDEA is useful for programmers to bridge the gap between their current Java knowledge and the new succinct syntax of method references. To rank users into the leaderboard, she sorts them according to the number of times they’ve tweeted using the sorted() method on Stream. The application creates a bar chart representing a range of streamed data over time using the new Data and Time API. Next she touches on file handling in Java 8 SE to parse a file that contains tweets, demonstrating the nice integration between Java 8 streams and Java SE 7 I/O. Finally, she demonstrates parsing the tweets using more advanced Stream API methods in the “tweet mood analyzer” part of her application.

“Java SE 8 is more than just a bit of extra syntax to learn or a couple of new methods that might be useful. It can change the way we approach solving common problems,” she explains. Find the full article here

Announcing the JCP 2015 Award Nominees

Congratulations to the nominees of the 13th Annual JCP Program Awards! JCP recognizes individuals for their participation in the innovations in Java technologies.  This year’s four categories of awards are  Member of the Year, Outstanding Spec Lead, Most Significant JSR, and Outstanding Adopt-a-JSR Participant.  

For a full list of nominees visit

More information is available about the JCP, JSR, Adopt-a-JSR at

Tuesday Sep 08, 2015

Nashorn and Stored Procedures

JavaScript is one of the most popular languages and the natural choice for processing JSON documents. To process millions of JSON documents would you rather perform the processing in-place or ship the data to a middle-tier engine?

In the next VTS, Kuassi Mensah explains how stored procedures help in-database processing while avoiding data shipping. In order to be portable across tiers and databases, JavaScript stored procedures need a standard database access API. Java 8 introduced the Nashorn JavaScript engine which allows JDBC calls in JavaScript. For cloud deployment, JavaScript stored procedures may be invoked through RESTful Web Services, turning these into cloud data services.

VTS is a series of interactive online events with hands-on sessions and presenters answering technical questions. The events are sponsored by the Oracle Technology Network (OTN). They are free events but you must register. Join the next exclusive events near you: 

  • Americas - September 16th- 9:30am to 12:30 PST - Register 
  • EMEA - September 23rd - 9:30am to 12:30pm BST - Register
  • APAC - September 30th- 3pm to 6:30pm AU/SYD - Register

Friday Sep 04, 2015

Celebrate 20 Years of Java with Pictures

Share your Java pictures for the JavaOne “myMatrix”, a three-dimensional mosaic by media artist Wolf Nkole Helzle. The mosaic will be created from thousands of individual photos. Dig out the pictures you have from past JavaOnes and other Java conferences.  

Our goal is to collect between 2,000-5,000 photos. One of the pictures submitted will be picked to represent 20 Years of Java Innovation. You can expect to see a surprise unveiling of this special art piece at JavaOne!!

The deadline for photo submissions is September 15th.  Please submit photos by this deadline for inclusion

Photo Requirements

  • 1,536 pixel minimum length/width [photo will be cropped to be square]
  • JPEG only
  • Historical Java photos
  • Examples
  • Old/ New Duke images
  • Past Keynotes/ speakers
  • Old / New Java logo
  • Memories from the past Java conferences
  • Anything related to the past 20 years of Java

Upload instructions

  • Go to this link:
  • Click the "Upload" button
  • Press "Ok" at the pop-up window
  • Click the “Select pictures” button
  • Then click “Upload pictures” 

*Please make sure to take a screen grab of your ID number so you can find your pictures later when we share the art with you!

Thursday Sep 03, 2015

20 Years of Java: Developer Interviews Preview

By David Lopez 

This year marks 20 years of Java! To celebrate, we wanted to get a feel for what Java and the Java Community mean to Java Developers, so this year at JavaOne Brazil, we asked them 3 Questions:

  • What’s your favorite moment as a Java Developer?
  • What’s your favorite thing about Java?
  • What do you think the future of Java is?

We recorded over 20 responses, each giving a unique view of what makes Java so great. To showcase these interviews, we’re launching a 3-part series showing how different developers answered each question. Each of the 3 parts will focus on answers given to a different one of the above questions. Embedded below is a preview for this series, featuring Vinicius Senger answering each of the three questions. If it isn’t appearing below, check it out here.


Insider News from the Java Team at Oracle!



« November 2015