Wednesday Sep 16, 2015

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. 

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.

Tuesday Sep 01, 2015

Java 8 Date & Time

Want to learn the intricacies of the new Java 8 Date and Time API? Learn how to simplify your programming of date and time and use Java 8 Date and Time API. In the next VTS, Simon Ritter discusses how the previous APIs treated the date and time and explains the much need improvements of the new API. For example, the classes java.util.Date and SimpleDateFormatter were not thread-safe.

Java 8 introduced the JSR 310, Date and Time API, which is based on the very popular open source Joda time API. The new Java library handles the format and schedule of time and date in a much more intuitive and flexible way. Simon explains in detail how to use the new API with different formats for setting future dates, dealing with time zones, adding temporal adjustors and much more.  

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 Aug 27, 2015

Just-in-Time Compilation with JITWatch

Want to optimize the performance of your code? Ben Evans and Chris Newland wrap up their three-part series about using JITWatch to understand the just-in-time (JIT) compilation techniques used by the dynamic compiler in Oracle’s Java HotSpot VM. JITWatch is a free, open source tool developed by Newland that analyzes the complex compilation log file output generated by Java HotSpot VM. Among other things, it can help you visualize and understand the optimization decisions made by Java HotSpot VM.

Part 3 describes how to use JITWatch to see the effects that even small source code changes can have on Java HotSpot VM switches. Learn about Sandbox and VM switches features. Sandbox will let you edit code and then compile, execute, and analyze the Java HotSpot VM JIT logs. The VM switches are used to control JIT compilation.

In the September/October edition of Java Magazine Ben and Chris wrote part 2, which focuses on how to examine JIT logs to see what the JIT compiler is doing (and why). Part 1 provides a primer on JIT compilation.

Wednesday Aug 26, 2015

New Java Champion Vinicius Senger

Welcome to the new Java Champion: Vinicius Senger 

Vinicius Senger is the founder of Globalcode, a company teaching programming to trainers and professionals.

He has 20 years of experience in programming. His first Java app ran in HPUX capturing SNMP data from the network and storing in Sybase. He did a number of projects with J2EE for financial services and banks using web components, EJB, JMS and many different types of architectures using JSF, Seam, Spring, etc.

In addition, he wrote programs on embedded devices and created the 2011 Duke's Choice Award project called jHome Automation that uses Java EE to provide home automation using different devices and communication protocols. He is dedicated to developing Java Embedded and Java EE projects. Last year, he implemented Java Embedded for a sailboat for JavaOne 2014. He just launched Combike project, which is a Smart Helmet for bikers using camera, GPS, accelerometer and a social network behind.

He is a frequent speaker at many Java conferences around the world including Devoxx, JFokus, and The Developer Conference in Brazil that he co-organizes. He has been a JavaOne rockstar speaker for several years.

He is a regular contributor to the Java Magazine and wrote an article about device I/O for the November 2014 issue. He also authored an IoT video series in English and Portuguese on 

Java champions are an exclusive group of passionate Java technologists and community leaders who are community-nominated. Learn more about Java Champions.   


Insider News from the Java Team at Oracle!



« October 2015