Main Menu

java.net Spotlight

JavaEE 7 has been officially released and the Java Spotlight Podcast has been supporting this major release by featuring almost every API change, both major and minor, for the last 11 months. There are fifteen Java Spotlight Podcast feature interviews with the JCP specification leads from Oracle, Red Hat, and IBM in a relaxed question and answer format. Below are the 15 episodes and the dates they aired, covering...

Be sure to register for our upcoming “Virtual Developer Day – Java” in either of two slots: Americas/Canada – Wednesday June 19 or EMEA/Africa/Middle East – Tuesday June 25th. Learn about the latest features, platforms, and tools in Java EE, Java SE, and Java Embedded. Tutorials and webinars, and live chat sessions with our technical experts... (I will be participating in the Java Embedded track.) Registration required, but free. Find all information here...

The Timezone Updater Tool (aka TZUpdater) is available for public download from OTN [1] again. On March 8, 2013, as part of maintenance tied to the end of public updates for Oracle JDK 6, the "Timezone Updater Tool" [2] was removed from OTN, with just a short note that this tool was now only available for Oracle Java SE Support customers. An unintentional side effect of this change was that it became impossible to keep Oracle JDK 7 up to date without a support contract...

This article, which is the second in a two-part series, introduces some of the new messaging features introduced in Java Message Service (JMS) 2.0. It assumes a basic familiarity with JMS 1.1.In Part One, we looked at the new ease-of-use features introduced in JMS 2.0. Here, we look at important new messaging features...

The next JCP EC Meeting, and the first public EC Meeting of 2013, is scheduled for Tuesday, 11 June at 08:00 AM PDT. The agenda includes a JSR 358, A major revision of the Java Community Process aka JCP.next.3, update and status report. Meeting details are below. We hope you will join us, but if you cannot attend, the recording and materials will also be public on the JCP.org multimedia page....

The JCP hosted an online meeting last week on the Adopt-a-JSR program for Non-English speakers. There were over twenty Java User Group (JUG) participants on the call, and there was interest from French, German, Spanish, and Portuguese JUG members. We discussed the global collaboration ideals of the Adopt-a-JSR program, some tips and use cases for developing wiki pages in local languages, as well as...

It hasn’t quite been four weeks yet, but I’m already back to announce the availability of the final release of ControlsFX 8.0.0. This release is a combination bug fix and feature release... A huge number of bugs have been fixed, in particular related to dialog layout. It is highly recommended that people use JavaFX 8.0 b91 or above when running ControlsFX. For more information...

JavaOne India was a opportunity to touch base with Java developers in India, and get a sense of the developer community there. What impressed me about India is the scale: there are so many people and so many developers! I got a chance to talk to some of them at the OTN lounge. Sit back and enjoy the following interviews with JUGChennai founder Raj Hegde, Java Champion Hardshad Oak...

This post very briefly summarizes some recent developments in the world of Java. Yet Another Java Versioning Scheme: Oracle has changed the Java version numbering schema again, this time in an effort "to avoid confusion caused by renumbering releases" because of the "recent increase of security releases" that have already led to skipped numbers and renumbered releases. The Closure of...

This week brought new Early Access builds of the JDK and related projects. On the JDK 7 side, the JDK 7 Update 40 Early Access Releases have been updated to 7u40 Build b26. This build updates HotSpot to hs24-b45 and upgrades JAXP to 1.5. A list of changes is available here... On the JDK 8 side, the JDK 8 Early Access Releases Build b91 is now available for testing. An extensive list of changes in this build is linked off the download site...

Do you enjoy playing with software and hunting for defects? If you are an experienced NetBeans IDE user and you have a few hours per week from June 2013 through mid September 2013, you can join other community volunteers in the NetCAT 7.4 program. Get your NetBeans bug(s) fixed and make friends along the way...

Interview with Kin-man Chung on JSR 341: Expression Language 3.0 in JavaEE 7. Interested in Java and Java EE since the early years, Kin-man worked on a project that compiled Java codes into native Sparc codes. He was the main author of the JSP compiler in Tomcat 5. He worked on the specification and reference implementation JSP 2.0, 2.1, and 2.2. He is now the spec lead for EL 3.0, and also works on GlassFish...

Exceptions like javax.persistence.OptimisticLockException may occur at commit time and so after the execution of an EJB method. Therefore some occurrences are impossible to catch with the convenient "Container Managed Transactions" configuration... However, transactions can be started and committed, and so handled, in an interceptor...

This month the JCP has been busy posting the Final Releases for the Java Enterprise Edition (Java EE) 7 JSRs. There were also two JSR Early Draft Reviews this month (see below for details). In April, the Java EE 7 JSRs passed the JCP EC Final Approval Ballots, and this month, ten of the fourteen Java EE 7 JSRs have posted their Final Releases...

JMS 2.0, which was released in April 2013, is the first update to the JMS specification since version 1.1 was released in 2002. One might think that an API that has remained unchanged for so long has grown moribund and unused. However, if you judge the success of an API standard by the number of different implementations, JMS is one of the most successful APIs around. In JMS 2.0, the emphasis has been on catching up with the ease-of-use improvements that have been made to other enterprise Java technologies...

Back when the javax.lang.model API was being designed as part of JSR 269, while the API was primarily intended for use at compile-time with annotation processing, the expert group also wanted the API to be usable in other contexts as well, including at runtime. JEP 119, javax.lang.model Implementation Backed by Core Reflection, proposed adding such an alternative runtime implementation of javax.lang.model to JDK 8. Such an implementation has recently...

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

Since the initial release of JDK 5.0, Java update releases have either been Limited Update releases that include new functionality and non-security fixes or Critical Patch Updates (CPUs) that only include fixes for security vulnerabilities. We will continue releasing Limited Update and CPU Java releases, however we are changing...

In this installment, I show how these languages improve several Java sore spots: exceptions, statements versus expressions, and edge cases around null... Expressions: One legacy that the Java language inherited from C is the distinction between programming statements and programming expressions. Examples of Java statements are code lines that use if or while, and ones that use void to declare methods that...

I gave a talk at Devoxx UK 2013 entitled Accelerated Lambda Programming. Here is the slide presentation from that talk. There are just a few introductory slides in the slide deck, after which most of the talk consisted of live programming demos in NetBeans. Below is the sample code from the demo, cleaned up, merged into a single file, and updated for Lambda build b88...

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

JavaOne India kicked off today 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 meet someone new. "The Java community is open and welcoming" ...

Congratulations to the newest JCP Star Spec Leads: Pete Muir, Santiago Pericas-Geertsen and Marek Potociar. Pete is the Spec Lead of JSR 346, Contexts and Dependency Injection (CDI) for Java EE 1.1, and Santiago and Marek are co-spec leads of JSR 339, JAX-RS 2.0: The Java API for RESTful Web Services. Both of these JSRs are part of Java EE 7, the next version of the Java Platform, Enterprise Edition...

Writing a Fix This code challenge is the easiest way to get published in Java Magazine. Give readers the chance to flex their brain muscles, have fun, and learn something new. Java Magazine reaches more than 150,000 subscribers and is loaded with technical articles, community news, and success stories from an array of businesses... Pick a topic you are most familiar with and send...

In just a short time, you’ll be writing about the Java event of the year. Or perhaps you’ll be attending, speaking, or presenting at JavaOne in Shanghai. For all attendees, reporters, bloggers, user group leaders, speakers, technology thought leaders and influencers, and social media mavens, here are some tools to help you generate awareness, enthusiasm, and participation...

With Java 8 due for release six months later than planned, Chief Architect Mark Reinhold has added a few minor features into the pot. In his proposal for delay, Reinhold said extra time would permit the addition of a “select few additional features”, mostly security-focused. Today he announced the JEPs - Java Enhancement Proposals, each representing a new language feature...

I just got a 3D Connexion SpaceNavigator which is a kind of 3D input device (mouse/stick). It is cool to use when 3D modeling content for JavaFX but I thought it would be even better if I could navigate my JavaFX 3D scenes using it. I managed to hack some quick code to get it working in JavaFX. Many thanks to the JInput project, they made it super easy. It's super fun so I recorded a video to share with you...

Congratulations to the newest Java Champion, Linda van der Pal! She has been a developer since 2002, visiting many conferences to gather and share knowledge. In 2006, she founded Duchess, a network for women interested in Java. She is now a member of the board of the Duchess Dutch chapter, along with Java Champion Régina ten Bruggencate. "We give a voice to women all over the world who work with Java technology," van der Pal explained...

For many Web-based client-server applications, the old HTTP request-response model has its limitations. Information has to be transmitted from the server to the client in between requests, rather than upon request only. A number of "hacks" have been used in the past to circumvent this problem, for example, long polling and Comet. However, the need for a standards-based, bidirectional and...

Last week I proposed to delay the release of Java 8 in order to finish Project Lambda, which has been delayed due to Oracle’s renewed focus on the security of the Java Platform.Thanks to everyone who responded to that proposal, in comments on my blog entry, on Twitter, and elsewhere. The feedback was generally in favor, though understandably tinged with disappointment...