Tuesday Mar 29, 2016

Moving to Garbage First

Garbage First (G1) is likely to become the default collector in Java 9. In this presentation, Kirk Pepperdine shows different case studies on how to use the G1 with your applications. He also demonstrates tips and tricks to work around some of the hiccups. 


In this interview, Kirk Pepperdine shows his Censum performance diagnostics tool from jClarity and describes the state of G1 GC 


Waste Management in JDK 9

“Instead of a simple garbage collector to free up memory, Garbage First (G1) takes the role of a waste management consultant: freeing unused memory and identifying ways to reduce the overall amount of garbage.” explains Eric Costlow in a new blog

Costlow demonstrates how string Deduplication can significantly decrease heap usage. Using the Eclipse IDE, he runs a performance test using Java Flight Recorder to benchmark the results.

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

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 Jan 20, 2016

A Look Back on Java Champions of 2015

Once again, join us to celebrate the Java Champions of 2015. They are recognized leaders in the Java community for their technical achievements and community contributions. 2015 welcomed the Java Champions listed below: 
  • Rajmahendra Hegde, leader of JUG Hyderabad, and expert group member of three JSRs 
  • José Paumard, assistant professor at Paris 13 and co-funder of Devoxx France
  • Rafael Winterhalter, software consultant and JVM enthusiast
  • Daniel De Luca, worldwide manager of the Devoxx4Kids initiative
  • Lukas Eder, CEO of Data Geekery and main contributor of Java Object Oriented Querying
  • Vinicius Senger, co-founder of Globalcode and Java embedded enthusiast
  • David Blevins, co-founder of the OpenEJB (1999), Geronimo (2003), and TomEE (2011) projects
  • Josh Long, contributor to open-source Spring Boot, Spring Integration, Activiti, and Vaadin and more.
  • Mohamed Taman, chief of architects & software development manager at e-finance
  • Murat Yener, JUG leader in Turkey
  • Aslak Knutsen,  co-founder and lead of the Arquillian project
  • Martin Thompson,  consultant, trainer, and coach specializing in designing high-performance and low-latency systems
  • Tom Schindl, software developer on the Eclipse Platform and the JavaFX integration named e(fx)clipse
  • Peter Lawrey,  consultant and technical lead for OpenHFT
  • Sven Reimers, member of the NetBeans Dream Team, a contributor to OpenJFX and a systems engineer at Airbus
  • Enrique Zamudio, engineer on the Ceylon language team and a contributor of javaMexico community
  • Otávio Santana, JUG leader of JavaBahia and SouJava in Brazil and a developer in OpenJDK
  • Freddy Guime, JUG leader of Chicago Java Users Group and a co-author of Java 7 Recipes
  • Jacek Laskowski, consultant and trainer
Check out the new Java Champion website, for a list of champions and learn how to become one.  

Wednesday Jun 03, 2015

New Java Champion David Blevins

Congratulations to the new Java Champion David Blevins!

David is a member of the Apache Software Foundation and co-founder of the OpenEJB (1999), Geronimo (2003), and TomEE (2011) projects.  He founded the company Tomitribe (2012), encouraging developers to contribute to the Open Source communities he created. He is a veteran of Open Source Java EE for both the implementation and definition of Java EE specifications for over 10 years in order to make Java EE as simple, testable and as light as Java SE. 

As a member of the EJB 3.0, 3.1, 3.2 and Java EE 6 and 7 Expert Groups, David has contributed new APIs, enhancements and provided in-depth feedback to JSRs. Key contributions include the Embedded EJB Container API, the inclusion of EJBs in Wars, Web Profile support, and MDB/Connector model.  In addition to Java EE 8, David has joined the CDI 2.0, JMS 2.1, and Java EE Security JSRs.

David is a regular speaker on Open Source and Java EE at JavaOne, Devoxx BE, Devoxx UK, Devoxx FR, ApacheCon, JavaLand, JAX London, JAXConf, W-JAX, O'Reilly Open Source conference and a JavaOne RockStar. David is also a contributing author to Component-Based Software Engineering: Putting the Pieces Together from Addison Wesley. In his personal blog, David wrote on popular topics such as the Connector Architecture, and Meta-Annotations. Follow him at @dblevins

Java Champions are an exclusive group of passionate Java technologists and community leaders who are community-nominated. Learn more about Java Champions


Wednesday Sep 10, 2014

Why Another MVC?

In this new article, JavaServer Faces (JSF) spec lead Ed Burns explains two kinds of model view controller (MVC) as part of the JSF framework. The article's goal is to show the continued commitment to JSF evolution and to clarify the complementary usages of these two view technologies.


The two kinds of MVC in question are UI component oriented MVC and action oriented MVC. This article first goes over these two different styles of MVC, then explains the rationale for filing a separate JSR for MVC 1.0 and explains how this new specification will relate to the next version of JSF. 

If you attend JavaOne, you find many JavaOne sessions about JSF


Monday Aug 04, 2014

Three Day Discount!

Here is another chance to save US$400 on registration. Some of you probably missed the Early Bird rate that ended last Friday. Make sure you take advantage of this flash sale and register by Wednesday, August 6. This is your last chance! 

JavaOne is only eight weeks away. Folks, you have nothing to gain by waiting to register and book your trip. Hotels are filling up and are getting more expensive.   

From all continents, Java authors, speakers, leaders, JSR contributors come together once a year for a week in San Francisco. This is THE premier Java conference with all the Java content you could imagine. You name it: Java security, Java 8, JVM languages, the cloud, Internet of Things, methodology, tools and more. Attending the conference will kick off your training for the year! 

Icing on the cake! You get to spend time in one of the best cities in the States and the world.  

Thursday Oct 03, 2013

Video: Spec Leads of Java Caching Standard, JSR-107

In this video, Brian Oliver (Oracle) and Greg Luck (Terracotta) share news on the progress of the long-awaited Java Caching Standard, to be finalized early in 2014, and discuss the decade-long JCP process behind this emerging Java specification. More information on the Java Caching Standard is available at JCP.org and https://github.com/jsr107.

Thanks to Architect Community Manager Bob Rhubart. You can view more OTN videos on the YouTube OracleTechNet Channel

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