Friday May 31, 2013

Security and Java!

In a detailed blog, Nandini Ramani, Vice President of Software Development, summarizes Oracle steps to address security issues on the Java platform. Amongst the most recent changes,  she explains that "it is now possible to run signed applets without allowing them to run outside the sandbox, and users can prevent the execution of any applets if they are not signed". She lists the impacts of those changes and mentioned for example that "Oracle urges organizations whose sites currently contain unsigned Java Applets to sign those Applets according to the documented recommendations."  

She also explains that "Oracle has found that the public coverage of the recently published vulnerabilities impacting Java in the browser has caused concern to organizations committed to Java applications running on servers.  As a result, Oracle is taking steps to address the security implications of the wide Java distribution model, by further dissociating client/browser use of Java (e.g., affecting home users) and server use (e.g., affecting enterprise deployments). With Java 7 update 21, Oracle has introduced a new type of Java distribution: “Server JRE.”"

She added that "starting in October 2013, Java security fixes will be released under the Oracle Critical Patch Update schedule along with all other Oracle products.  In other words, Java will now issue four annual security releases."

Check out her original blog 

Thursday May 30, 2013

Feedback Wanted: Java SE 8

Oracle releases periodic early access snapshots of the binaries and documentation for JDK 8 snapshots on These raw snapshots let you review and contribute to the Java SE platform as it is being developed. Please download the latest preview updates JDK 8, the next generation of the Java Development Kit.  Kick the tires, give it a test drive and share your feedback. You can get the source code through the OpenJDK jdk8 project. The JDK 8 Features page lists the JEPs currently funded and targeted to JDK 8.

Please use the Project Feedback forum if you have suggestions for or encounter issues using JDK 8.

If you find bugs in a release, please submit them using the usual Java SE bug reporting channels, not with the Issue tracker accompanying this project. Be sure to include the complete version information from the output of the  java -version  command.    

The Java community is an integral part in continuing to improve the quality of Java releases.  We're looking forward to your participation!

Download the latest JDK 8 Early Access snapshots at

Friday May 24, 2013

Book: Instant NetBeans IDE How-To

bookYou've had some Java classes, and you're pretty good at basic coding. How do you make the leap from Java 101 to using an IDE like a professional? Here's a great book to get you on your way. 

Instant NetBeans IDE How-To is for Java developers or anyone who has basic knowledge of Java but has not had much experience with IDEs; you can use this book to rapidly develop Java applications. NetBeans is an open source IDE which is known as a powerful IDE for Java application development. It allows you to write and generate smart code, and utilize drag-and-drop tools. NetBeans gives complete flexibility with full support to developers for all the latest technologies.

Instant NetBeans IDE How-To is a complete practical, hands-on guide that provides you with a number of clear step-by-step recipes, which will help you take advantage of the real power of Java technologies, and give you a good grounding in using it for your projects.

The book shows you how to develop desktop applications, web applications, enterprise applications, mobile applications, and how to deploy applications. It also takes a look at databases, validations, etc. If you want to develop a Java application with just a few clicks and write less code, then this is the book for you.

Instant NetBeans IDE How-To is written by Atul Palandurkar, an experienced developer, member of the Java User Group, Nagpur and the NetBeans User Group, Nagpur. He taught the Java EE & HTML5 Hands on Lab (HOL) using NetBeans IDE at Java One India 2013.

Wednesday May 22, 2013

What's New in JMS 2.0: Ease of Use

A new article by Oracle’s Nigel Deakin, up on otn/java, titled “What's New in JMS 2.0, Part One: Ease of Use,” demonstrates ways in which JMS 2.0 enables developers to send and receive messages while writing less code. Some features of JMS 2.0, part of Java EE 7, and can be deployed in Java EE Web or EJB applications, while others can only be used standalone in a Java SE environment.

Deakin writes:

“The single biggest change in JMS 2.0 is the introduction of a new API for sending and receiving messages that reduces the amount of code a developer must write. For applications that run in a Java EE application server, the new API also supports resource injection. This allows the application server to take care of the creation and management of JMS objects, simplifying the application even further…”

The new API, known as the “simplified” API, is simpler and easier to use than the existing JMS 1.1 API, now known as the “classic” API.

Deakin describes the new API as follows:

“The simplified API consists of three new interfaces: JMSContext, JMSProducer, and JMSConsumer:

* JMSContext replaces the separate Connection and  Session objects in the classic API with a single object.

* JMSProducer is a lightweight replacement for the MessageProducer object in the classic API. It allows message delivery options, headers, and properties to be configured using method chaining (sometimes known as a builder pattern).

* JMSConsumer replaces the MessageConsumer object in the classic API and is used in a similar way.”

Developers can now choose between the two APIs and have access to both the classic and new features. Stay tuned for Part Two, in which Deakin will explore new messaging features in JMS 2.0.

Check out Part One here.

Tuesday May 21, 2013

Virtual Developer Day - FREE - June 19th

“Take Java to the Edge”

You know Java, now really know Java. Learn about the latest technical improvements in Java from the source. Watch informative tutorials (that you can repeat at your own pace) to improve your Java programming expertise and engage in live chat sessions with the preeminent Java experts.

Register NOW!

Join this FREE virtual event where you will learn about:

  • Improved developer productivity and HTML5 applications
  • Language improvements in Java SE to accelerate application development
  • Features in Java that help you begin programming on a wide range of embedded devices
  • Don't miss this opportunity. Register NOW!

AMERICAS/CANADA – June 19th, 2013

09:00 a.m. - 01:00 p.m. PDT
12:00 p.m. - 04:00 p.m. EDT
01:00 p.m. - 05:00 p.m. BRT

Register NOW!

Monday May 20, 2013

Introducing Java EE 7: June 12 Kickoff

Java EE 7 has been approved, and the final bits with be available soon. We'll have a live webcast on June 12 to kickoff Java EE 7in style. The Java EE team will provide an overview of the release, and lots of technical details from the experts. 

Register here to join us for a live webcast introducing Java EE 7! The Java EE 7 platform JSR has been approved, and we are now counting down the days to begin developing with many new Java EE features.

The online web event, hosted by Java EE evangelist and expert Arun Gupta, includes:

  • Business Keynote (Hasan Rizvi and Cameron Purdy)
  • Technical Keynote (Linda DeMichiel)
  • Java EE partner and community member interviews
  • Fifteen 20-minute technical breakout sessions
    • Technical overview of features in new and updated JSRs
    • Delivered by the JSR specification leads
    • Live Chat
    • Split into three tracks
      • Scalable, dynamic HTML 5
      • Increasing developer productivity
      • Meeting enterprise demands
    • Demonstrations on developing with Java EE 7

The event will run with live chat at two times:

      Wednesday, June 12, 2013 / Thursday, June 13, 2013

  • 9 a.m. PT / 12 p.m. ET / 5 p.m. London
  • 9 p.m. PT / 12 a.m. ET (Thursday) / 2 p.m. Sydney (Thursday) 

Register now for the best seats. ;-)

Friday May 17, 2013

New Java SE Version Numbering Scheme!

The releases with new functionalities and non-security fixes also called Limited Update Releases will be numbered in multiples of 20. The Critical Patch Updates (CPUs) will be calculated by adding multiples of five to the prior Limited Update and when needed adding one to keep the resulting number odd.

As an example: The next Limited Update for JDK 7 will be numbered 7u40, and the next 3 CPUs after that will be numbered 7u45, 7u51, and 7u55. The next release will be a Limited Update 7u60, followed by CPUs 7u65, 7u71, and 7u75.

This new version system will apply to JDK 5, JDK 6 and JDK 7 which are available on OTN Java SE Download page and

The change will: 
  • assign a fix/enhancement to a specific release in the bug systems. 
  • prevent the existing code from breaking. the versions will follow the format 7u44 and will not allow 7u44-2 for example.
  • leave “space” between planned releases for any potential unplanned ones. 

Thursday May 16, 2013

Java SE 8 Schedule: March 2014

The Expert Groups and Engineering Teams are working hard on Java SE 8. Here's the current state:

  • The target release date for Java SE 8 is 2014/3/18. Further schedule details are available on the JDK 8 Project pages.
  • The delay was created by focus on fixing security issuesMaintaining the security of the Java Platform always takes priority over developing new features, and so these efforts have inevitably taken engineers away from working on Java 8Maintaining the security of the Java Platform always takes priority over developing new features, and so these efforts have inevitably taken engineers away from working on J, and the desire to get Project Lambda in the release.
  • Project Jigsaw is slated for the next train. There will be some progress in Java SE 8 toward the convergence of the higher-end Java ME Platforms with Java SE.
Thanks to Mark Reinhold, Chief Architect of the Java Platform Group and Java SE Spec Lead, for keeping us informed through his blog at

Wednesday May 15, 2013

New Online Training

Java Evangelist Simon Ritter gets users started with tutorials describing how to get up and running with Java and the Raspberry Pi.

Oracle experts Angela Caceido and Sungmoon Cho show the ins and outs of installing, writing and running a sample Java application using Java ME Embedded on the Keil ARM evaluation Board.

Several new Oracle-by-Example (OBE) tutorials explain how to use Java EE and the Oracle Enterprise Pack for Eclipse (OEPE) to create cloud applications:

More training is available on the Oracle Learning Library

Wednesday May 08, 2013

JavaOne India Keynotes

JavaOne India kicked off in Hyderabad with Duke, dancing and demos. Sharat Chander, Group Director, Java Technology Outreach at Oracle opened by encouraging attendees to learn new things about the Java technology, but just as important, make the effort to meet someone new. "The Java community is open and welcoming," Chander explained "and it will help you to build a network within the community." 

Georges Saab, VP Java Development discussed the JavaSE and JavaFX roadmaps -- interestingly enough, the same roadmap for both. In addition to new features, Java SE added new ports, Mac OS 10 and Linux ARM. Saab mentioned features in Java SE 8, and used Project Nashorn as an example of Oracle's commitment to evolve the Java platform. For developers who want to try it, early access builds of JDK 8 are available now

Saab also discussed the growth of embedded devices. "We've already reached the point where there are more devices than people; this is a huge opportunity for developers," he explained. With Java, developers can work from device to datacenter using the same language and platform. Axel Hansmann, VP Strategy & Marketing Communications of Gemalto M2M, showed the tiny Cinterion EHS5 Java Module, a tiny chip that has Java Embedded on it and is "ruggedized" for industrial applications. Hansmann said Java allows for more efficient development, more flexibility in design and development, and improved management of applications. He said small devices are being used everywhere, from smart cards to cars medical devices. "I'm looking forward to come back in a year and see the creative uses this group of developers has come up with!" 

Anil Gaur, VP Cloud Application Foundation & Java EE for Oracle, gave an update on the state of JavaEE. Gaur said "When we created JavaEE, our primary objective was to build a comprehensive platform to create a wide variety of apps." Java EE has been successful, with millions of developers downloading Java EE around the world. The JSRs for JavaEE 7 has been finalized and approved, and the final bits will be available very soon. 

Santanu Saha, Product Line Manager Product Research & Development for Infosys, explained how Java EE is a key platform for building tomorrow’s Enterprise Platform, and how applications based on open standards is a key ingredient for successful apps.

Stephen Chin kicked off the technical keynote by explaining that he is a developer first, an active Java community member, and a Java evangelist. His goal for JavaOne India is get developers excited and encouraged them to follow their passion.

Jim Weaver started his section with a bit of audience participation, and had everyone get up and do the IPL dance. Then Weaver showed the basics of JavaFX 3D, such as including mapping textures to shapes. Learn more at

Arun Gupta, AKA "Mr. GlassFish" walked through the new features of Java EE 7. Java EE 7 provides higher developer productivity (less boilerplate, richer functionality, more defaults) and HTML5 support (WebSocket, JSON, HTML5 forms). Gupta also mentioned the community participation in creating and testing EE the latest release: 19 JUGs adopted various JSRs, tested features as they were being developed, and provided valuable feedback. "It was truly a community effort," he said with a smile. You can learn more about JavaEE and GlassFish at

It was a great start to a great JavaOne conference.  


Insider News from the Java Team at Oracle!



« May 2013 »