Tuesday Aug 04, 2015

Java EE 8 Update

The train has left the station with the results of the community survey. Expert groups are working right now on specifications for the dozen or so JSRs that will be included in the release. In the interview below, David Delabasse gives an overview of the two new Java EE APIs: Java Security and MVC. The Java EE evangelist team is sharing the progress of this new release, making sure that the community stays up-to-date. David's session, a Java EE 8 overview, is now live on Parleys. 

Thursday Jul 30, 2015

Singletons, Singletons...

Choose the right Singleton pattern for your project. Learn about the different ways to implement the Singleton pattern, and how to use the pattern to create a database connection whose parameters can be updated after a Java application has been compiled. 

Payene Denis Kombate explores the pros and cons of various ways to implement the Singleton pattern in his article titled Effective Ways to Implement and Use the Singleton Design Pattern. His comparison includes minimal, lazy-loading, synchronized, double-checked locking, volatile, and class holder singletons. 

In addition, he shows an example of how to use the pattern to create a database connection and then how to update the database connection parameters after the Java application has been compiled. Read the article!

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

Tuesday Jul 28, 2015

JShell and REPL in Java 9

Java 9 introduces JShell and a Read-Eval-Print Loop (REPL) for the Java Programming Language.  REPL  allows you to evaluate code snippets such as declarations, statements, expressions. You can test your code as you create it, and way before you are done with your whole project. 

The JShell Java Enhancement Proposal (JEP) for the project indicated that the new feature is the result of academic feedback. Schools are adopting languages that have REPL functionality because it lowers the initial learning curve of programming. The interactive REPL tool gives rapid evaluation of code to young developers. 

In the video below, Jim Connors gives a short demonstration on how you can now use the tool as part of the latest Java 9 build. 

Learn more about the Java 9 release and how you can test it by visiting JDK 9 Outreach program

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   

Thursday Jul 16, 2015

Certification Discount!

To celebrate 20 years of Java, you can get 20% off any Java certification exam! Don’t miss this great opportunity to get Java certified and show off those new Java qualifications 

How to get started 

1. Find the Java exam that meets your skill level and experience.
2. Review exam preparation and topics.
3. Register at Pearson VUE. Use promotion code Java20 to receive the 20% discount.

This globally available offer is open until December 31, 2015. 

Wednesday Jul 15, 2015

20 "Cakes" of Java in Brazil

To celebrate 20 Years of Java we did a cross-country tour in Brazil for 20 days, visiting Java User Groups and Events across the country.  It was long and grueling, but a lot of fun.  And most importantly, we got to eat cake!  Cake for breakfast (thanks to Otavio and his chocolate passion) and a Java cake for dinner...  every single day! We raced robots in Campinas Untitled[Read More]

Tuesday Jul 14, 2015

Develop Non-Blocking Web Applications in Java

As Re Lai explains in this article, web applications have traditionally processed requests synchronously on the server side. Asynchronous programming is generally used on the client side. However, due to the advent of social networking, mobile devices, and the Internet of Things, non-blocking request processing on the server side has taken off as an important technique for meeting ever-more-daunting performance demands.

Lai's article explores the asynchronous support provided in several popular web frameworks--Servlet, JAX-RS, Spring MVC, Vert.x, and the Play Framework--for implementing non-blocking server-side request processing. He also discusses a sample application, todosapp, to show how to implement non-blocking web applications in these frameworks. Read Lai's article

Friday Jul 10, 2015

3D Printing Meets Raspberry Pi

Create a robot from scratch with 3D printed and electronic parts! In the next Virtual Technology Summit, Michael Hoffer will walk you through the design and production of 3D printed parts for the robot.  “The most fascinating aspect of 3D printing is that it is astonishingly easy to customize the robot” he explains. He built this remote controlled robot with only a Raspberry Pi, 2 server motors, a bread board and a battery. 

VTS is free! You just need to register and choose an event in your time zone:

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


Insider News from the Java Team at Oracle!



« October 2015