Thursday Mar 10, 2016

New Java Champion Marcus Lagergren

Welcome the new Java Champion Marcus Lagergren!

Marcus Lagergren has been involved with the Java platform since the alpha versions. He worked at Appeal Virtual Machines, a performance-oriented start-up offering alternatives to byte code interpretation, slow-running thread implementations and non-native code. As one of the principal architects of the JRockit JVM, Marcus helped make sure that Java became a good alternative to writing programs in native languages. 

Marcus contributed to virtual implementations of Java on hypervisors, when virtualization was still in its infancy, and demonstrated with the JRockit VE project that virtual solutions are good alternatives to physical platforms.  

Marcus worked as a member of the Java language team implementing Java 8. He worked on improving support for dynamic languages on the JVM. Being a performance engineer at heart, Marcus demonstrated that dynamic languages, thanks to invokedynamic, achieve similar performance on the JVM compared to languages with a static type system. 

Marcus has co-authored a book on JVM internals, “Oracle JRockit - The Definitive Guide”. He is also a frequent speaker at Java conferences. Follow him @lagergren

The Java Champions are an exclusive group of passionate Java technology and community leaders who are community-nominated and selected under a project sponsored by Oracle. Learn more about Java Champions

Wednesday Mar 09, 2016

The State of the Module System

Original Post from Java Architect Mark Reinhold about the Jigsaw Project

This is an informal overview of enhancements to the Java SE Platform prototyped in Project Jigsaw and proposed for JSR 376: The Java Platform Module System. A related document describes enhancements to JDK-specific tools and APIs, which are outside the scope of the JSR.

As described in the JSR, the specific goals of the module system are to provide
• Reliable configuration, to replace the brittle, error-prone class-path mechanism with a means for program components to declare explicit dependences upon one another, along with

• Strong encapsulation, to allow a component to declare which of its public types are accessible to other components, and which are not.

These features will benefit application developers, library developers, and implementors of the Java SE Platform itself directly and, also, indirectly, since they will enable a scalable platform, greater platform integrity, and improved performance.

1 Defining Modules 
2 Using Modules 
3 Compatibility & Migration 
4 Services 
5 Advanced Topics 

Read the full post 

CompletableFuture in Java 8

Suppose you want to execute some code that queries a database so the code is executed in a separate thread and then trigger the printing of the query result when it is available. Using a well-known pattern introduced in Java 5, you could wrap the task to be executed in a Callable, and submit this object to an ExecutorService. But the only way to get the result is to use a blocking method: the get() method of the Future object returned by the submission of the Callable. Paumard shows how to use CompletionStage instead, which results in no more thread blocking. 

In this article "CompletableFuture for Asynchronous Programming in Java 8", José Paumard describes several elegant patterns that enable you to chain and compose tasks in a very rich way, as well as control which thread executes each task. To see examples of how to use CompletionStage and CompletableFuture to fine-tune asynchronous data processing pipelines that suit the needs of your applications, check out the article.

Tuesday Mar 08, 2016

Generic Specialization

Project Valhalla proposes to bring value types and specialized generics to Java. In this talk, Java Language Architect Brian Goetz offers some of the highlights of the progress and pitfalls of adding these features to the Java Language and VM.

More information:
Project Valhalla -
Java 9 - 

Thursday Mar 03, 2016

Java SE 8 for Java EE Developers

Which Java SE 8 APIs should you use in your Java EE 7 applications? It’s been two years since Java SE 8 was released, and Java EE 7 has been around almost three years. How can you combine both technologies and boost your productivity? Of course your application server provider should support both technologies.

In his presentation, David Delabasse explains how to use eight Java SE APIs that will help you with your Java EE applications. He shows a demonstration on how to implement each of the following Java SE libraries: Date and Time APIs, JPA converters, Java Server Faces, annotations, optional, string joiner, stream API, and Nashorn Javascript Engine. 

This presentation is part of the next Virtual Technology Summit sponsored by the Oracle Technology Network. Register! It is free. For your convenience, we offer the event in three time zones as follows: 
  • Americas - March 8th- 9:30am to 1:00 PST - Register
  • APAC - March 15th - 9:30am to 1:00pm IST - Register
  • EMEA - April 5th - 9:30am to 1:00pm BST - Register
This VTS provides two tracks on Java SE and Java EE with six hands-on sessions. Check out the full VTS agenda here  

Wednesday Mar 02, 2016

NightHacking Tour of Germany

Java Community Lead Stephen Chin and Freelancer Sebastian Daschner are touring Java User Groups in Germany. And, you can watch them live at NightHacking during JavaLand. 

In his presentation, Stephen will walk you through how to build your own retro handheld console that is powered by Java, runs on a Raspberry Pi, and is printed on a 3D printer. Some of the topics that he will cover along the journey include: hacking Java on the Raspberry Pi
, rigging input devices with Pi4J, Insane performance tuning on the JVM
, why your boss [or SO] needs to buy you a 3D printer!
 And of course your retro gaming mettle will be put to the test, so make sure to dust off your old 8 and 16 bit consoles to prepare. This presentation is about the most fun you can have while still legitimately calling this conference “work.” 

Sebastian will give an introduction of RESTful web services with Hypermedia as the engine of application state, what the benefits and costs of using this approach are and show different approaches how to realize such REST services with JavaEE 7 and JAX-RS. Most of the time will be spend demonstrating different implementations (plain JavaEE 7, existing libraries, etc.) with live coding. The session is held in English. 


3/3/16    JUG Berlin
3/4/16    JUG Hannover
3/5/16    JUG Münster
3/6/16    JUG Dortmund
3/8/16    JavaLand
3/9/16    JavaLand
3/10/16  JUG Darmstadt
3/14/16  JUG Bodensee

The Story of Traits

“Java does not permit multiple implementation inheritance, but the problem is not gone,” explains Venkat Subramaniam. In his session, you will learn about solutions in Java 8 and previous versions. The presentation also explores the options available in Scala and Groovy.

Tuesday Mar 01, 2016

New Java Champion Mario Fusco

Welcome the new Java Champion Mario Fusco!

Mario Fusco is a senior software engineer at Red Hat working on Drools, the JBoss rule engine. He has years of experience as Java developer working on enterprise projects in industries ranging from media to the financial sectors.

He is passionate about functional programming and Domain Specific Languages and developed the open source library lambdaj which provides an internal Java DSL for manipulating collections and introduced functional programming in Java before the introduction of lambdas. 

Mario is a frequent speaker at major Java conferences such JavaOne, Devoxx, LambdaWorld, and Voxxed. He authored a number of articles about parallel programming on InfoQ and Dzone websites. He is the co-author of Java 8 in Action published by Manning. Follow him on Twitter @mariofusco

The Java Champions are an exclusive group of passionate Java technology and community leaders who are community-nominated and selected under a project sponsored by Oracle. Learn more about Java Champions

New Java Champion César Hernández

Welcome the new Java Champion César Hernández!

César Hernández is a community leader for the Guatemala Java User Group.  He is also leading the  J Español  organization, which groups Spanish-speaking user groups in Latin America.   

César is the founder of t Factory, an open source web graphic user interface designed to manage Apache Tomcat™ instances.  He is a frequent speaker at Java user groups and conferences. One of his goals is to show the benefits of technologies for sustainable development in developing countries. He is also a member of the Java community band, TheNullPointers, which performed at JavaOne the last two years. Follow him on Twitter @CesarHgt 

The Java Champions are an exclusive group of passionate Java technology and community leaders who are community-nominated and selected under a project sponsored by Oracle. Learn more about Java Champions

Thursday Feb 25, 2016

Java User Groups: Changing the World, One Line of Code at a Time!

What is the impact of user groups on their members, society and the extended Java community? In this article, Daniel deOliveira presents a detailed analysis of Java user groups, their governance and influence. Also known as Dr. JUG, Daniel is the founder of the Federal District Java Users Group (DFJUG) in Brazil, and is passionate about the benefits of Java user groups (JUGs).

Daniel shows the value of JUGs, which accrue not only from the core members of a JUG but also, perhaps surprisingly, from peripheral members and outsiders. In fact, he advises that "if you run into a problem and need solid information, important advice, or support, look for people in the core group, which is where the knowledge is clustered. But if you need fresh ideas or innovation, look for the people in the periphery."

He sees the power of JUGs as teaching machines and as forces for social good. "Teaching kids Java for free always receives the enthusiastic support of colleagues. Some groups "go the extra mile" by conducting educational activities in underprivileged communities or teaching Java to the deaf, the blind, and wheelchair users." Find out more insights about Java user groups in his article


Insider News from the Java Team at Oracle!



« May 2016