Thursday Feb 05, 2015

Save the Date: 2015 JavaOne Brazil

JavaOne is returning to Sao Paulo, Brazil! The regional event is the learning opportunity for everything Java in Latin America - from better programming with Java 8 and the unveiling of Java 9 features, to the Internet of Things, JVM languages and more. Learn from Oracle and community experts who have first hand experience with Java development. Meet with like-minded developers and share a fun three day conference. 

Be one of the speakers who will share their expertise at 2015 JavaOne Brazil. Submit your proposals today.  The Call for Papers is open until February 27, 2015.  

Sao Paulo, June 23-25, 2015 
Transamerica Expo Center 

Register to be notified when registration opens in February. 

Java Magazine: Platform for Innovation

Tools make the cloud. To support modern development, today’s cloud development environments must support the full software development lifecycle. Developers working in the cloud need tools for builds, continuous integration, source control, and team collaboration. With those tools at the
ready, they can take advantage of the cloud as a platform for innovation.

In our interview with Mike Lehmann, vice president of product management for Oracle Cloud Application Foundation, we explore Oracle’s Java-based cloud services for developers, and the benefits they offer. “Taking a new business idea and building an application to support it can be done much more quickly and with lower risk than in the past,” says Lehmann. Read the interview for his insights on Oracle Java Cloud Service, Oracle Developer Cloud Service, and other services that give developers an end-to-end Java development and deployment environment.

Ready to test out these services? Don’t miss Hardshad Oak’s article, “Get Started with Oracle Developer Cloud Service.” Plus, Bert Ertman shows you how to build modular cloud applications in Java.

It’s a new year, and a time when people traditionally think about self-improvement. If you are looking to raise your job prospects and expand your network, Bruno Souza and Edson Yanaga have just the plan for you, and it includes code, community, and— yes—cloud. Their action items will help you to raise your possibilities for the future.

Read all about it in the current issue of Java Magazine!

Tuesday Feb 03, 2015

JavaScript on the JVM: From Scripts to Full Apps

Do you want to use Javascript on the JVM? Java SE 8 includes Nashorn, a Java engine based on Javascript. Nashorn provides tight integration with Java, and lets you take advantage of the current Java technologies. At the next OTN Virtual Techology Summit, Java Evangelist Bruno Borges will walk you through how to use JavaScript on the JVM. This is code-heavy session that will show you how to access Nashorn, and have Java and JavaScript interact.

Virtual Technology Summits (VTS) are interactive, online events, sponsored by the Oracle Technology Network (OTN). VTSs are free, but you must register:

 • Americas - February 11th - 9am to 12:30pm PT  REGISTER

EMEA – 25 February  - 9:00 to 13:00 BST  REGISTER

APAC – 4 March  –  9:30 to 13:30 IST  REGISTER

Each OTN VTS features four technical tracks, each with a unique focus on specific tools, technologies, and tips: Java, Database, Middleware and Systems. Registration allows you to attend any session on any track. We'll kick off the VTS with Java Community Update by Tori Wieldt. There will be places to hang out and meet other attendees between sessions. Please join us!

Friday Jan 30, 2015

NightHacking at Jfokus 2015

JFokus is Sweden’s largest developer conference. If you aren’t able to make it, see what’s going on with Java with NightHacking recordings from the live stage at Jfokus. Java Evangelist Stephen Chin has great interviews a lined up!  You watch the entire event live at

Jfokus HerosHere is the full schedule 
(all times are in CET – Central European Time):

February 3 

10:30-11:00 Charles Nutter - Open Source Software Call to Action
11:00-11:10 Joe Armstrong - Building Complex Systems, Simply
12:00-13:00 Roberto Cortez - EE 7 and Batch Processing
12:00-13:00 Geert Bevin - IoT and Music
13:50-14:00 Zach Shelby - The Future of IoT
13:50-14:00 Baruch Sadogursky - HTTP, NIO, and Concurrency
14:50-15:35 Lauren Shaefer - DevOps in the Cloud
14:50-15:35 Attila Szegedi - Nashorn and JVM Performance
15:50-16:00 Matthias Grüter - Docker and the JVM
18:30-20:00  Java 20th Anniversary -- The Forgotten Bytes (Arun Gupta, Kirk Pepperdine, Toni Epple, Jim Weaver, Gerrit Grunwald)

February 4 

11:00-11:10 Joe Armstrong - Building Complex Systems, Simply
12:00-13:00 Geert Bevin - IoT and Music
13:50-14:00 Baruch Sadogursky - HTTP, NIO, and Concurrency
14:50-15:35 Attila Szegedi - Nashorn and JVM Performance

In case this schedule doesn't work for you, videos will be archived here:

Thursday Jan 29, 2015

A Young Woman Innovator Programs with Java

Hania Guiagoussou is a passionate Java developer and a high school student in Dublin, California. She developed a "Water Saver" system to control the water usage in any garden or field. She just won third place and the prize of ten thousand dollars in the Digital Innovative Challenges organized by the ITC/Telecoms  

Q: When did you start programming?

Hania: I started programming at the age of nine. My dad is a computer engineer and he encouraged my brother and me to program. I wasn’t into programming until I went to a Java programming summer workshop at Oracle where I learned object oriented programming using Alice. If it weren't for Alice, I wouldn't be interested in programming. Alice was fun and inspired me to create animation projects. 

Q: What have you been programming lately?

Hania: My last project was a “Water Saver” system. It is an implementation of machine-to-machine communication that optimizes the use of water. I used sensors to capture soil humidity and surrounding temperature. The sensors are connected to a Raspberry Pi from where an intelligent agent collects and analyzes environmental data, then records it in Java objects. I first created the system for a science fair project in Pleasanton California. My  friend and I were going to do a project to study the impact of herbal tea on the human memory. However, returning from school one day after it rained a lot, I saw sprinklers on even though plants and the soil had enough water in the entire neighborhood. At that time the news channels were all talking about water restrictions because of the drought in California. I said to myself “I’ve got the idea for my science fair competition!” 

Q: And you won an award for it...

Hania: Along with my teammate, we received a few awards from the local engineering and science fair in March 2014. We won a special award sponsored by the local utility company and third place in the Computer Science, Maths and Engineering category from over 300 projects. In September 2014, I had an opportunity to compete in an African competition in Chad where I made it to the final round in the Digital Innovative Challenges organized by the ITC/Telecoms and Information Ministries under the sponsorship of the president of Chad and in partnership with the International Telecommunication Organization (ITU). I was the youngest participant in the finals. My project won third place and I won a generous prize of 5 million local francs (around 10 thousand US dollars). 

Q: How would you advise young girls to get started in programming?

Hania: That's a really a good question because girls are not really interested in Computer Science. In my Computer Science and Engineering class, there are only 10 percent girls. I think girls should just play with tools like Alice and create animations using characters and virtual worlds of their choice. I would love to have an opportunity to show girls of my age the satisfaction of programming.

Q: How easy was it for you to get started?

Hania: Before the Alice workshop, I was not interested to go beyond the “Hello, World” application. With Alice I used advanced blocks of codes that were easy to comprehend as I was manipulating real objects using object-oriented programming. I was able to use the Java programming language without knowing I was coding. I had to get introduced in a way that I could embrace, enjoy and innovate.

Q: What do you like about Java?

Hania: I like how you can program it once and it runs on different environments. For example, for the water saver project, the program we created was targeting embedded systems and was tested on Raspberry Pi. But we initially developed the code using NetBeans on a Window PC. We took the same program and ran it on a Linux Operating system on Mac. We then moved the same code to the Raspberry Pi and it runs fine without a single code change. I really like the fact that I can program one time, run on my personal computer then have it working on many other devices. Additionally, creating a client side program using Android to connect the embedded world with our day to day devices was the icing on the cake. I was very happy when from my mobile phone and tablet I launched a standard HTML browser and controlled my application remotely. 

Q: What would you like to do as a career? 

Hania: It has always been my dream to become a doctor. Now, I’d like to pursue medical studies and combine it with tele-medicine to remotely help people in rural areas in developing country where heath-care system is not very developed. I want to become an influential women who can bring positive changes in people’s live. I hope one day to build a bridge between doctors from the U.S., Canada, Europe  in order to help doctors in Africa communicate and exchange experiences with each other and prevent deathly diseases. 

Monday Jan 26, 2015

Antoine Sabot-Durand Discusses CDI 2.0

Antoine Sabot-Durand, Co-Spec Lead for CDI, discusses CDI 2.0. It is slated to be a part of Java EE 8. Find out how you can learn the details about CDI 2.0 and how you can get involved. Learn more on the Contexts and Dependency Injection for Java page on

We're always adding more videos to the YouTube/Java channel.  

Thursday Jan 22, 2015

Learn About Wearables and Java

Do you want to learn more about wearable tech? At the next OTN Virtual Technology Summit, Java Evangelist Gerrit Grunwald shows you what you can do with wearable tech and Java. What’s a wearable?  A miniature electronic device worn under, with or on top of clothing. What are the requirements? A small size, smart power management, and connectivity. Its use is limited only by your imagination. What do you want to measure? Location? Temperature? Heart rate? Java Heartrate code

Currently, it is hard to combine wearable products, because there is no single standard. At the moment, you can only buy specialized systems such as motion trackers and GPS watches. But why not use existing cheap technology to build your own wearable Java-powered device? Using Java allows you to use your existing skills, build infrastructure, and testing tools. 

Grunwald's project uses an Odroid-W board in combination with a heart rate sensor, a GPS sensor and a BMP180 to track the heart rate and location of a runner. The battery-powered device measures the data and publishes it via MQTT to different clients such as Java(FX)-based desktop clients and a smartwatch the runner can wear. Attend this session and get some ideas of what you can do with Java and wearable devices, and learn why Java is great for this space. 

Virtual Technology Summits (VTS) are interactive, online events, sponsored by the Oracle Technology Network (OTN). VTSs are free, but you must register:

Americas - February 11th - 9am to 12:30pm PT  REGISTER

EMEA – 25 February  - 9:00 to 13:00 BST  REGISTER

APAC – 4 March  –  9:30 to 13:30 IST  REGISTER

Each OTN VTS features four technical tracks, each with a unique focus on specific tools, technologies, and tips: Java, Database, Middleware and Systems. Registration allows you to attend any session on any track. We'll kick off the VTS with Java Community Update by Tori Wieldt. There will be places to hang out and meet other attendees between sessions. Please join us!

Wednesday Jan 21, 2015

Java Updates: SE 8 update 31, SE 7 and SE Embedded

Oracle has released Java SE 8 Update 31 and Java SE 7 Update 75 and 76. Also available are new Java SE Embedded updates. Developers can download the JDKs and JREs for Java SE and Java SE Embedded at the Oracle Technology Network.

Java SE 8 Update 31

Disable SSL v3.0 in Oracle JDK and JRE

SSLv3 is obsolete and should no longer be used. Starting with JDK 8u31 release, the SSLv3 protocol (Secure Socket Layer) has been deactivated and is not available by default. See the Release Notes for details.

Security Fixes

This release includes important security fixes. Oracle strongly recommends that all Java SE 8 users upgrade to this release. For a list of bug fixes included in this release, see JDK 8u31 Bug Fixes page.

Java SE 7 Update 75/76

These releases includes important security fixes. Oracle strongly recommends that all Java SE 7 users upgrade to one of these releases. With this release, users with the auto-update feature enabled will be migrated from Oracle JRE 7 to Oracle JRE 8.

NOTE: The April 2015 CPU release will be the last Oracle JDK 7 publicly available update. For more information, and details on how to receive longer term support for Oracle JDK 7, please see the Oracle Java SE Support Roadmap

What is the difference between a Java CPU and PSU release?

Java SE Critical Patch Updates (CPU) contain fixes to security vulnerabilities and critical bug fixes. Oracle strongly recommends that all Java SE users upgrade to the latest CPU releases as they are made available. Most users should choose this release.

Java SE Patch Set Updates (PSU) contain all of the security fixes in the CPUs released up to that version, as well as additional non-critical fixes. Java PSU releases should only be used if you are being impacted by one of the additional bugs fixed in that version.

Read Java CPU and PSU Releases Explained

Java Embedded Updates 

Java SE Embedded 8 Update 33 

Java SE Embedded 8 enables developers to create customized JREs using the JRECreate tool. Starting with Java SE Embedded 8, individual JRE downloads for embedded platforms are no longer provided. To get started, download an eJDK bundle suitable for your target platform and follow instructions to create a JRE that suits your application's needs. This change does not affect JRE downloads for Java SE Embedded 7 Update releases. 

JDK 8u33 for ARM 

The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java platform. JDK 8 for ARM is supported on systems based on 32-bit ARM v6 or ARM v7 running Linux. This JDK includes a Java runtime environment (JRE) for ARM platforms and tools such as the compilers and debuggers necessary for developing applications. 

Java SE Embedded 7u75 

Java SE Embedded 7u75 Runtime Environment is based on the Java Runtime Environment 7 Update 75 (JRE 7u75) and provides specific features and support for embedded systems.

Oracle strongly recommends that all Java users upgrade to one of these releases. 

Tuesday Jan 20, 2015

Creative and Fun Hunting at Devoxx

Get the full development story of the Hunt Game with those two interviews. The hunt was about tracking beacons at the Devoxx venue and throughout Antwerp for points. Peters and Seghers share details about the phone application design, user experience, and beacon placements.

Hear from Johan Vos and Peter Kuterna about the programming challenge between the front-end designed by Peter and the back-end Johan built with Java EE 7, Glassfish 4.1 and Java 8 APIs.

Monday Jan 19, 2015

Java Brain Aerobics

Do you know Java tip or trick that you'd like to share with Java Community but don't want to give away too easily? Write a Fix This code challenge for Java Magazine. Give readers the chance to flex their brain muscles, have fun, and learn something new. Can you stump the Java world?

Java Magazine reaches more than 250,000 subscribers and is loaded with technical articles, community news, and success stories from an array of businesses. The magazine's success is the result of the expert writers who write about technologies that they have first hand experience with.

Pick a topic you are most familiar with and send as many Fix This challenges as you want. The challenge can be about any Java technology, whether it is Java SE, Java EE, Java ME, or Java Embedded.

Just follow these simple steps: 

1. State the problem, including a short summary of the tool/technique, in about 75 words.

2. Send us the code snippet, with a short set-up so readers know what they are looking at (such as, "Consider the following piece of code to have database access within a Servlet.")

3. Provide four multiple-choice answers to the question, "What's the fix?"

4. Give us the answer, along with a brief explanation of why.

5. Tell us who you are (name, occupation, etc.)

6. Email your challenge to JAVAMAG_US at ORACLE.COM with "Fix This Submission" in the title.

Submit a Fix This challenge today! 


Insider News from the Java Team at Oracle!



« November 2015