Wednesday Aug 12, 2015

Solving Problems Using the Stream API

Play a game while learning about Lambdas and Stream API!  Jose Paumard introduces Shakespeare Plays Scrabble game in a Java Magazine article of the same name. He shows how you can use the Stream API, which was introduced in Java SE 8, to solve a map/filter/reduce problem that is built on the Scrabble game. As Jose points out, Java SE 8 requires developers to think differently about their coding solutions. 

By following his Scrabble example, you can learn how to use the Stream API to address some common tasks in business applications--such as building histograms, comparing histograms, and handling corner cases raised by empty streams--efficiently and without using much code. 

Jose presented the same topic in a Virtual Technology Summit session. The session is now available online as a replay

About sun.misc.Unsafe

During the JVM Language Summit this week, Java architect Mark Reinhold presented 'The Secret History and Tragic Fate of sun.misc.Unsafe' session. The API is a low level library designed strictly for use within the JDK. Mark laid out the plan for the safe replacement of the library over time. It will still be available in Java 9. 

In a second session, Paul Sandoz explains potential replacements for some usage of sun.misc.Unsafe. His presentation is 'Safety First' mentioned below 

For more information on the topic, check out: 

  • Project Jigsaw:
  • JEP 260, Encapsulate Most Internal APIs:

Thursday Aug 06, 2015

Duke’s Choice Award Nomination is Open

Anyone in the Java community (including Oracle employees) is invited to nominate projects for the Duke's Choice Award. The award celebrates extreme innovation using Java technology.  The primary judging criteria for this prestigious award is innovation, putting small developer shops and individual developers on equal footing with global giants. Deadline for submission is August 24, 2015.

For over a decade, Duke's Choice Award winners have been announced at JavaOne, the premier Java technology conference and biggest gathering of Java community members. All 10 Duke's Choice Award winners will receive a free JavaOne full conference pass, a Duke statue, 2015 winner badge, inclusion in Oracle press release and corporate social media programs, and most rewarding of all, community recognition as an elite member of the Java ecosystem. Submit your nomination today! 

Wednesday Jul 29, 2015

Java Champions

Learn how to become one of the Champions in the Java world!  Java Champions are members of the community who are recognized as leaders, technical luminaries, and innovative technologists.  All of them are top contributors in the Java community. They are conference speakers, bloggers, community leaders, user group leaders and more. You may know some of them, check them out!

“The Java Champion program is crucial to Java because its members come from all corners of the Java community. Every new member adds a new facet to the group, enriching it with new perspectives.” explains Java Champion Andres Almiray  

In the interview below, Java Champion Arun Gupta gives great insights on the program and a lot of good advice on how to become a Java Champion 

Candidates are nominated by Java champions. You can self nominate but it helps to be nominated by a Java Champion. Learn more

Thursday Jul 23, 2015

Writing JavaFX Applications for Mobile Devices

Due to recent JavaFX ports, you can now create Java client applications that can be deployed on desktop, laptop, and embedded systems, as well as on mobile devices such as smartphones and tablets. In this Java Magazine recent  article, Johan Vos explores the state of JavaFX on mobile devices, focusing on the Android platform.

As Vos explains, like Java, one of the key benefits of JavaFX is the 'write once, run anywhere' paradigm. Thanks to the JavaFX ports for mobile platforms, you can now package your JavaFX applications for deployment on iOS and Android devices. The runtime environments deal with platform-specific issues, enabling you to focus on application-specific needs.

The article walks through the process of creating an Android package based on JavaFX code. It also discusses how to combine Android-specific code and JavaFX code for those situations when you might need to do so. Also see the website for JavaFXPorts , which is an initiative from the Java Community for coordinating JavaFX porting efforts. Read the article 

Tuesday Jul 21, 2015

Create Applications Using Docker

Want to know why Docker is such a popular platform? Docker is an open platform for developers and sysadmins to build, ship and run distributed applications. “It is the solution for developers to create applications and containers and ship them from development to production systems and have sysadmins run them in the production systems.” explains Roland Huss. 

In this Virtual Technology Summit (VTS) session, you will learn how to improve your integration tests with Docker, change your deployment to Docker containers and integrate Docker into your built systems.  He demonstrates all those key implementations in a hands-on live demo. 

During VTS sessions, the speakers are available to answer your questions in the chat window. It is free! Just register for this last event of the July series: APAC - July 23rd - 3pm to 6:30pm AU/SYD or July 22 from 9pm to midnight on July 23 pacific time   

Tuesday Jun 30, 2015

JavaOne Latin America Highlights

Well-attended by developers, JavaOne Latin America took place last week in São Paulo Brazil.  Amongst the myriad sessions, meetings, entertainment and parties, here are some highlights. 

The community keynote was themed with 20 years of Java and organized by two Java Champions Fabiane Nardon and Bruno Souza. They chronicled the deep involvement of the Brazilian community throughout the history of Java. Bruno Souza, a.k.a JavaMan, founded the Brazilian Java user group SouJava in 1999. Juggy, the Java Finch mascot, was born in 2004.   Fabiane Narbon with her team won the Duke’s Choice Award for Healthcare Information System in 2005. SouJava became the first Java user group member on the JCP executive committee in 2011. 

NightHacking interviews took central stage at the Java Hub. The interviews are being rolled out during the next two weeks. Now available are interviews about Java TV with Bruno Gualda and Thiago Silva, Java and IoT with Vinicius Senger, Java Embedded with Leonardo Lima and Java IoT Cloud with Marco Maciel 

The strategy keynote was packed to hear Vice President of Java SE Platform Georges Saab discuss Java 9 modularity. He encouraged developers to download and test the pre-release builds. “JUGs around the world have helped shape the future of Java EE by participating in the JCP and the Adopt-a-JSR program” explained Senior Director of Software Development Robert Clark. 

Monday Jun 08, 2015

Professional Highlight: Amr Gawash, Oracle Certified Professional. Java SE 7 Programmer

Why did you choose to pursue Java Certification?

I work in a company that encourages employees to pursue and achieve their dreams. One of my personal dreams was to be certified in Java. Even though I had been working with Java for more than five years, I never had time to take the Java Certification exam. After my company encouraged me, I started to prepare myself to get the Java certification, and I did.

How has Java Certification changed your career?

My career changed the moment I stepped out of the exam. I realized how powerful a certification can be, how the community appreciated my contribution more, and of course how it made a difference to people looking at my resume. I also noticed how it increased my self esteem. Holding a Java certification also increased my sense of responsibility toward the Java community. I've started to become more active in Oracle forums and other QA websites. I contribute more to the community now and I also engage with local Java groups in my city.

What is one of the most important benefits of gaining a Java Certification?

I believe the most important benefit of earning a Java certification is the networking and community benefits you get when you are a certified in Java. Being certified has helped me get closer to, and make a positive impact on the Java community. Networking with other members of the community has become much easier and my engagement and responsibility towards the community have also been boosted.

Amr Gawish is passionate about technology and always tries to push the limits of the technologies he uses.

Amr completed his Bachelor's degree in Math and Computer Sciences from Al-Azhar University in Egypt and is currently pursuing his Master's degree at the University of Liverpool. He is employed as an Oracle Fusion Middleware consultant and is certified in Java SE 7, Oracle ADF, WebCenter Portal, and Oracle SOA Suite. 

Having more than six years experience in these products as well as the full Oracle Middleware stack, Amr has also gained experience in various other topics such as Gamification, Scala programming, and Akka. He is working on microcontroller programming with Raspberry Pi and Arduino and robotics.

You can learn more about him by visiting his website,, or follow him on Twitter (@agawish) or read his book (Oracle ADF Faces cookbook).

Wednesday Apr 29, 2015

Lessons Learned from UML NetBeans Plugin Development

By Guest Blogger Zoran Sevarac

The Open Source Software Development Center at University of Belgrade has released a new version of a UML plugin for NetBeans called easyUML. This plugin was created to facilitate the use of UML tools for teaching software design, but it is also a handy tool for developers. It helps developers with commonly used features by adding an easy-to-use UI.

 EasyUML supports class diagrams and the following features:
Drawing class diagrams
Generation of Java code from class diagrams
Reverse engineering from Java code to class diagrams

The easyUML plugin is available for installation directly from NetBeans IDE Update Center, or as a  download from NetBeans Plugin portal.
Complete source code is available from SVN repository on

The developers who participated in this project were software engineering students from University of Belgrade. This is a very good model for collaboration between universities and open source projects which can help overcome the gap between academia and requirements in the software industry. 
Quick demo and installation instructions are available in this YouTube video

Pictures below show the main application window with all its components common to IDE: diagram view, palette, properties view, explorer view and project view.

Thursday Apr 23, 2015

Announcing Java 8 Update 45

Java™ SE Development Kit 8, Update 45 (JDK 8u45) includes the IANA time zone data version 2015a. This changes will affect the following timezones : the Mexican state of Quintana Roo, Chile, America/Santiago, Pacific/Easter, and Antarctica/Palmer. For more information visit Timezone Data Versions in the JDK 8u45

Check out product manager Aurelio Garcia Ribeyro’s blog about Understanding Time Zone Udpater 2.0 to fully understand how to update to daylight saving time.

Security Baselines
The security baselines for the Java Runtime Environment (JRE) at the time of the release of JDK 8u45 are specified in the following table:

JRE Family Version    JRE Security Baseline
(Full Version String)
Java 8                          1.8.0_45
Java 7                          1.7.0_79
Java 6                          1.6.0_95
Java 5.0                       1.5.0_85

For more information about security baselines, see Deploying Java Applets With Family JRE Versions in Java Plug-in for Internet Explorer.

Insider News from the Java Team at Oracle!



« October 2015