Monday Mar 28, 2016

Module System in JDK 9

From original blog post by Mark Reinhold 

The module system (JSR 376 and JEP 261), was integrated into JDK 9 last week and is now available for testing in early-access build 111.

Project Jigsaw is an enormous effort, encompassing six JEPs implemented by dozens of engineers over many years. So far we’ve defined a modular structure for the JDK (JEP 200), reorganized the source code according to that structure (JEP 201), and restructured the JDK and JRE run-time images to support modules (JEP 220).

Like the previous major change, the introduction of modular run-time images, the introduction of the module system might impact you even if you don’t make direct use of it. That’s because the module system is now fully operative at both compile time and run time, at least for the modules comprising the JDK itself. Most of the JDK’s internal APIs are, as a consequence, fully encapsulated and hence, by default, inaccessible to code outside of the JDK.

An existing application that uses only standard Java SE APIs and runs on JDK 8 should just work, as they say, on JDK 9. If, however, your application uses a JDK-internal API, or uses a library or framework that does so, then it’s likely to fail. In many cases you can work around this via the -XaddExports option of the javac and java commands. If, e.g., your application uses the internal sun.security.x509.X500Name class then you can enable access to it via the option

-XaddExports:java.base/sun.security.x509=ALL-UNNAMED 

This causes all members of the sun.security.x509 package in the java.base module to be exported to the special unnamed module in which classes from the class path are defined.

Read more

Thursday Mar 24, 2016

DukeScript and Duke Sewing

 “There is no Java on some of the new devices and we wanted to change that” explains Author and JavaOne rock star Toni Epple. He describes the DukeScript project and how you can use it for cross-platform development on mobile, desktop and web browsers. Discover his new project to automatically sew a Duke design.  


Wednesday Mar 23, 2016

New Java SE Releases

Java SE 8 update 77 (Java SE 8u77) and Java SE Embedded 8 Update 77 are now available. Oracle strongly recommends that most Java SE users upgrade to the latest Java 8 update 77, which includes important security fixes. You can download the latest releases from Java SE and Java SE Embedded pages. 


For information on new features and bug fixes included in these releases, see the following release notes: 

Thursday Mar 10, 2016

New Java Champion Henri Tremblay

Welcome the new Java Champion Henri Tremblay!

Henri Tremblay has been developing with Java since 1998. In 2003, he became a main contributor of  the EasyMock open source project and created the concept of class mocking. He also invented and coined the term "partial mocking". He is now the lead developer of EasyMock and Objenesis, both of which are projects used by numerous frameworks. Ojenesis is a technical project allowing class creation without calling the constructor. He has also contributed to many Java open source projects. He is currently helping on the JEP 260: Encapsulate Most Internal APIs.

Henri is also the founder of the PerfUG, a user group dedicated to performance. The group currently has more than 400 members. It recently received Java speakers including Kirk, Heinz, Richard Warburton and Jean-Philippe Bempel. He is now involved with the Montreal JUG. 

Henri is a frequent speaker at Java conferences. One of his JavaOne sessions was a hands-on lab with Java champions Heinz Kabutz, Kirk Pepperdine, Ben Evans and Martijn Verburg. Follow him @henri_tremblay 

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 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

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 - http://openjdk.java.net/projects/valhalla/
Java 9 - http://openjdk.java.net/projects/jdk9/ 

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. 

Agenda

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



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

Wednesday Feb 17, 2016

Java 9 at EclipseCon!


There will be a Java 9 Track this year at EclipseCon, the annual Eclipse North American conference. The conference will be held March 7-10, 2016 in Reston, Virginia, just outside Washington, D.C. .

You will learn first-hand about project Jigsaw, modularity, JDK enhancement proposals, and Java 9 support in Eclipse. The Java 9 track sessions are:  

  • Java 9's other puzzle pieces by Erik Costlow 
  • Preparing your code for JDK 9 by Erik Costlow 
  • You, me and Jigsaw by Thomas Schindl
  • Java 9 support in Eclipse by Jay Arthanareeswaran [IBM] and Manoj Palat

Learn more about the Java 9 release and check out the Early Access builds


About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« May 2016
SunMonTueWedThuFriSat
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today