The Wayback Machine - https://web.archive.org/web/20160316115502/https://blogs.oracle.com/java/tags/java9

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.

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

Read the full post 

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/ 

Wednesday Mar 02, 2016

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.

Thursday Feb 18, 2016

Writing Web Apps

By Java Magazine Editor Andrew Binstock

Welcome to the January/February issue of Java Magazine whose focus is on developing Web applications. Not so long ago, this topic would require us to cover and compare innumerable Java frameworks. But as Web apps have turned increasingly to microservices in their architecture and REST for their APIs, the need for heavyweight frameworks has decreased significantly. By and large, Spring remains the principal widely used framework. And so, we cover its latest incarnation, Spring Boot, in a lengthy tutorial, which highlights how easy it makes creating Web apps. 

A companion examination of the JAX-RS library, with emphasis on lesser used capabilities that you might not realize it offers, is also included. And for readers who use some form of xFaces for the Web part of the app, we dig into OmniFaces, a well-designed utility library that integrates easily with JSF, MyFaces, PrimeFaces, RichFaces, etc.

[Read More]

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


Tuesday Feb 02, 2016

Plugin-Free Java Web Start

Browser vendors are moving away from plugin support. Because of this new trend, application developers will rely on plugin-free technologies like Java Web Start. To learn more how to deploy your applications using Java Web Start, check out the documentation available here

Oracle plans to deprecate the Java browser plugin in JDK 9. You can now try the early access release of JDK 9. If you are looking to migrate from migrating Java Applets to Java Web Start, please see this whitepaper about migration. 


Thursday Jan 21, 2016

Java 8 Streams API

Are you effectively using Java SE 8 streams for data processing? Introduced in Java 8, streams allow you to process data in a declarative way and leverage multi-core architectures without writing multithread code. 

Watch two JavaOne 2015 sessions about streams. Paul Sandoz presented the ‘Effective Java Stream’ session, where he discusses tips and tricks, effective parallel execution and what to expect in Java 9 and beyond. 

Brian Goetz and Stuart Marks from the Java Platform group presented the ‘API Design with Java 8 Lambdas and Streams’ session. They discussed the design of lambdas and streams, lessons learned, as well as when and why to use specific APIs. Stuart explained the design of streams, the difference between collections and streams and how to best use them.  



Watch additional JavaOne 2015 sessions

Tuesday Dec 22, 2015

Latest Java 9 News

Java 9, the next major Java release, will introduce a module system for the Java SE platform and the JDK.  As Java 9 work continues, you can learn about the new proposed schedule, version scheme and the latest features. You can also check out early access builds. The new proposed GA date is March 2017. Below are the full proposed milestones for Java 9:

2016/05/26  Feature Complete
2016/08/11  All Tests Run
2016/09/01  Rampdown Start
2016/10/20  Zero Bug Bounce
2016/12/01  Rampdown Phase 2
2017/01/26  Final Release Candidate
2017/03/23  General Availability
In the meantime, early access builds are available for download and testing. You can find bundle downloads that do not require building from source.   

Note that Java 9 will have an updated JDK version string scheme. The scheme will highlight minor, major and critical patch update (CPU) releases. The new convention will follow the version string of Major.Minor.Security  

Some Java Enhancement Proposals (JEPs) have been placed into the "Proposed to Target"
state by their owners after discussion and review. Those JEPs include: 

  271: Unified GC Logging
  278: Additional Tests for Humongous Objects in G1
  279: Improve Test-Failure Troubleshooting
  280: Indify String Concatenation

Wednesday Dec 02, 2015

Proposed Schedule Change for Java 9

Chief Java Architect Mark Reinhold has proposed delaying the Java 9 milestones by 6 months moving the Feature Complete (FC) milestone to May 25, 2016, and the General Availability (GA) milestone to March 23, 2017.

Initially, the Java 9 Feature Complete milestone was set for December 10, 2015.  “The JSR 376 EG has not yet published an Early Draft Review specification, the volume of interest and the high quality of the feedback received over the last two months suggests that there will be much more to come, and we want to ensure that the maintainers of the essential build tools and IDEs have adequate time to design and implement good support for modular development” explains Mark Reinhold on the OpenJDK mailing list

He cautions that the additional time should only be used to stabilize, polish, and fine-tune the current Jigsaw features rather than add new ones. Jigsaw will introduce a standard module system and use that system to modularize both the Java SE Platform and the JDK. 

Learn more about this proposal on the OpenJDK mailing list. For details about Java 9 module systems, watch Mark’s and Alan Bateman’s latest presentations on Java 9

Wednesday Nov 18, 2015

Modularity in Java 9

Learn about Java 9 with four presentations from Alan Bateman and Mark Reinhold! In the 'Prepare for JDK 9' presentation, Alan describes JDK 9 changes and their implications in existing code and future development. 


In the 'Introduction to Modular Development' presentation, Alan presents the structure of a module and he compiles basic modules.  




In the 'Advanced Modular Development' presentation, Mark presents a set of principles for modular development, with examples taken from the JDK itself.


In the Project Jigsaw: Under the Hood presentation, Mark explains the difference between readability, observability, visibility, and accessibility in the Java Platform Module System. He also discusses the unnamed module, the platform's built-in class loaders and how you can load two different versions of a module at the same time


About

Insider News from the Java Team at Oracle!

duke
Links


Search

Search filtering requires JavaScript
Archives
« March 2016
SunMonTueWedThuFriSat
  
4
5
6
7
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today
Morty Proxy This is a proxified and sanitized view of the page, visit original site.