Sunday Jan 13, 2013

Java SE 7 Update 11 Released

Oracle has released Java SE 7 Update 11, containing important security fixes. See Oracle Security Alert CVE-2013-0422 to learn more. Oracle strongly recommends that all Java SE 7 users upgrade to this release. Read the Release Notes for additional details about this release. Download Java SE 7 update 11.

A user may control, via the Java Control Panel, the level of security that will be used when running unsigned (also called "untrusted" or "sandboxed") Java apps in a browser. The user may select from five levels of security. See the "Setting the Security Level of the Java Client" documentation to see what the settings do and how users can tighten security. You can also read Henrik Stahl's blog Oracle JDK 7u10 Released with New Security Features.

Because this is an out-of schedule release remediating security vulnerabilities, going forward Oracle will increment the release number for all subsequent Java 7 releases by two numbers in order to continue having CPUs as odd numbers and limited updates as even numbers. For example, the next Java CPU release, scheduled for Feb 19, 2013, the JDK 7 release version will be renamed to Java SE 7u13.

Saturday Jan 12, 2013

Spotlight on JavaFX

In three interviews, veteran JavaFX developers Jim Weaver, Gerritt Grunwald, Pär Sikö and Martin Grunnarsson describe their JavaFX journey and their favorite JavaFX features.

Jim Weaver likes to call himself a “Java Technology Activist”. His three top JavaFX 2.2 features are deployment on Linux, Mac OS, Windows and ARM devices, Web View control and native installer running on user’s machine. He is also the editor of the This website “aggregates and provides a common place where JavaFX developers can find resources (downloads, APIs and real world examples) and a blog and twitter feeds.”

Gerritt Grunwald is a software engineer, working on interfaces and UI controls at Canoon Engineering AG. “I use 100% JavaFX today” and “I try to evangelize everybody to use JavaFX”. Gerritt sees great opportunities for JavaFX on embedded devices such as displays at airports or train stations. He presented a demo on how to create JavaFX controls on a BeagleBoard.

Martin Gunnarsson is a designer and front-end developer at Epsilon and Pär Sikö is a Java front-end developer at Jayway. Both JavaFX developers, they are convinced that “we have a very powerful WebView in JavaFX 2”. Their presentation was about how to bring web content into a JavaFX application and how to set up two-way communications between the Java and JavaScript code running in WebView. Their presentation called JavaFX Mashups is available online on JavaOne website.

Wednesday Jan 09, 2013

How Do I Get My Java Video on the YouTube/Java Channel?

As mentioned in the blog Java YouTube Channel Tops 1 Million Views, the Java YouTube channel includes videos from Java community and Oracle about everything in the Java ecosystem. If you'd like have your community video added to the channel, here's what you need to know:

Camera Duke by Silveira Neto

  1. We are looking for solid technical content, no adverts, please. 
  2. Upload the video to YouTube
  3. Send video URL to otnfeedback_usAToracleDOTcom with the subject line "Community Submission - YouTube Java" 
  4. Your video with be reviewed (no spam or profanity, etc.). 
  5. Videos will be added to a YouTube Java.
If you are subscribed to the YouTube Java channel, you'll have a feed of the latest videos. 

Java YouTube Channel Tops 1 Million Views

We've gotten over <pinky to mouth> ONE MEEEELLLION </pinky> views on the YouTube Java Channel. The Java YouTube channel includes videos from Oracle and the Java community about everything in the Java ecosystem. It includes all sorts of videos, from technical to just plain fun. 

We've got technical tutorials, for example:

We've also got hacking sessions, interviews and more:

We are adding new videos all the time. Subscribe to the Java channel and you'll have a feed of the latest videos. You may even see a video of sharks with frickin' lasers attached to their heads run by Java, of course!

Tuesday Jan 08, 2013

Java Experts on the State of Java

In a new article by yours truly, now up on otn/java, titled “Java Experts on the State of Java,” four Java experts, Adam Bien, Charles Nutter, Kirk Pepperdine and Simon Ritter, share their unique perspectives on what’s happening in the world of Java.

Consultant Adam Bien, winner of many awards and an expert in Java EE, remarks that, “Only a few years ago, Java EE was used mostly by larger companies—now it becomes interesting even for one-person shows.” He is also excited about Project Nashorn, which is coming in Java SE 8.

Charles Nutter, co-creator of JRuby and a Java Champion, observes that “JRuby seems to have hit a tipping point this past year, moving from ‘just another Ruby implementation’ to ‘the best Ruby implementation for X,’ where X may be performance, scaling, big data, stability, reliability, security, or one of several other features important for today’s applications.”

Java Champion Kirk Pepperdine, an expert in Java performance tuning, comments that, “The volume of data we’re dealing with just seems to be getting bigger and bigger all the time. A couple of years ago, you’d never think of needing a heap that was 64 GB, but today there are deployments in which the heap has grown to 256 GB, and there are plans for heaps that are even larger. Dealing with all that data simply requires more horsepower and some very specialized techniques. In some cases, teams are simply trying to push hardware to the breaking point. Under those conditions, you need to be very clever just to get things to work—let alone to get them to be fast. We are very quickly moving from a world where everything happens in a transaction to one in which you’ve lost if you even consider using a transaction.”

Finally, Oracle’s Java Rock Star Simon Ritter celebrates the Raspberry Pi: “I don’t think there is one definitive thing that makes the Raspberry Pi significant, but a combination of things really makes it stand out. First, it’s the cost: $35 for what is effectively a completely usable computer. OK, so you have to add a power supply; an SD card for storage; and maybe a screen, keyboard, and mouse, but this is still way cheaper than a typical PC. The choice of an ARM processor is also significant, because it avoids problems such as cooling (no heat sink or fan) and can use a USB power brick.”

Check out the article here.

Monday Jan 07, 2013

Top 10 Java Tech Articles Published by OTN in 2012

Here are the top 10 articles (by page views) we published on OTN/Java in 2012.

What conclusions can we draw from this list? 

  • JavaFX continues gaining momentum (with six articles on the list!)
  • Java Embedded and Raspberry Pi are generating a lot of interest.
  • Adam Bien stays our most popular Java EE author.

If you have your own observations, let's see them in comments.

Top 10 Java Tech Articles Published by OTN in 2012

1. Getting Started with Java SE Embedded on the Raspberry Pi 
by Bill Courington and Gary Collins
August 2012

2. How to Get Started (FAST!) with JavaFX 2 and Scene Builder
by Mark Heckler  
November 2012

Lots of interest in JavaFX in 2012

3. Laying Out a User Interface with JavaFX 2.0
by James L. Weaver
March 2012

4. Building Applications in JavaFX 2.0
by Daniel Zwolenski
February 2012

5. Interfaces on Demand with CDI and EJB 3.1
by Adam Bien
January 2012

6. Key to the Java EE 6 Platform: NetBeans IDE 7.1
by Geertjan Wielenga
March 2012

7. Best Practices for JavaFX 2.0 Enterprise Applications: Part One
by James L. Weaver
April 2012

8. Challenging the Diabolical Developer: A Conversation with JavaOne Rock Star Martijn Verburg
by Janice J. Heiss
October 2012

9. Best Practices for JavaFX 2.0 Enterprise Applications: Part Two
by James L. Weaver
May 2012

10. The Enterprise Side of JavaFX: Part Two
by Adam Bien
June 2012

Want to see your name on this list for 2013? We're always looking for good writers. We are looking forward to seeing your proposals!

Wednesday Jan 02, 2013

Top 10 Java Stories of 2012

2012 was a good year for Java. The platform moved forward in many ways and on new platforms. Several Java update releases came out throughout the year, good progress was made toward upcoming releases, and the Java community continues to inspire. Here are our topic Java stories of 2012:

Java and JavaFX on Mac OS from Oracle
Java SE 7 Update 4 was the first time Oracle delivered both the JDK and JavaFX SDK for Mac OS X. The Mac OS JDK (which will include the JavaFX SDK) is available for download from the Oracle Technology Network download page.

JavaFX Continues Open Sourcing
Regular code drops of JavaFX 2.0 source code were made public on OpenJFX throughout 2012. You may have missed that this was happening because it felt so natural and right.

Java for Embedded Resurgence
Cisco predicted that there will be 50 billion web-connected devices in the year 2020. Whatever the number, it's a huge opportunity, and developers are leveraging their Java skills to talk to embedded devices. In 2012, Oracle hosted the first Java Embedded @ JavaOne event. Developers showed lots of interest in Raspberry Pi, a small "computer on a board." Also, Oracle announced a new product, Oracle Java ME Embedded 3.2, a complete client Java runtime optimized for resource-constrained, connected, embedded systems. Small is getting big!

Project Nashorn is Open Sourced
Oracle open sourced Nashorn, the JavaScript engine, and made the source available on OpenJDK.

Project Jigsaw: Late for the Train
Java SE 8 (JSR 337) Expert GroupJava SE 8 (JSR 337) Expert GroupAfter due consideration, the Java SE 8 Expert Group agreed with Chief Architect Mark Reinhold that Project Jigsaw should be deferred to Java SE 9. They agreed that there would not be enough time in the Java SE 8 schedule for the broad evaluation, review, and feedback that such a profound change to the Java platform would require. 

Steady Progress on Java EE 7
Work progressed on Java EE 7 under JSR 342, including the support for HTML 5 in the form of Web Sockets and JSON-P; the simplified JMS 2.0 APIs; improved Managed Bean alignment, including transactional interceptors; the JAX-RS 2.0 client API; support for method-level validation; a much more comprehensive expression language; EJB 3.2, and more.

Adopt a JSR Increases Community Involvement
Realizing that getting involved in JSR development earlier is better for everyone, community members took it upon themselves to create an Adopt a JSR program. JUGs and individuals are now monitoring and providing feedback several JSRs. (You can too!)

Java Community Process (JCP) Merged Executive Committees
As part of the JCP.Next effort, the second JSR as part of the JCP program reforms, JSR 355, EC Merge, took effect. JCP 2.9 merged the two Executive Committees (EC) -- one representing Java SE/EE and one representing Java ME--into one EC.

Java Rock Stars Join Oracle
Several Java technology luminaries joined Oracle, including JavaFX experts Stephen Chin and Jim Weaver, and Java EE gurus Reza Rahman and Bruno Borges.

Six New Java Champions
The new Java Champions of 2012 were recognized for their contributions to the Java community: Agnes Crepet, Victor Grazi, Yara Senger, Martijn Verburg, Lars Vogel, and Johan Vos. They also jumped right in with their feedback and ideas.

2012 was the right mix of code, corporation, and community for Java.


Insider News from the Java Team at Oracle!



« January 2013 »