Skip to main content
View Archives: Homepage | Spotlights | Articles | Weblogs

java.net Spotlight

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

[06/09/2013]

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

[06/06/2013]

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

[06/05/2013]

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

[06/04/2013]

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

[06/03/2013]

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

[06/02/2013]

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

[05/30/2013]

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

[05/29/2013]

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

[05/28/2013]

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

[05/27/2013]

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

[05/26/2013]

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

[05/22/2013]

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

[05/20/2013]

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

[05/19/2013]

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

[05/15/2013]

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

[05/14/2013]

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

[05/11/2013]

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

[05/11/2013]

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

[05/08/2013]

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

[05/07/2013]

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

[05/06/2013]

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

[05/05/2013]

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

[05/02/2013]

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

[05/01/2013]

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

[04/30/2013]

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

[04/29/2013]

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

[04/28/2013]

Over 2,000 attending developers at JavaOne Russia crowded the sessions and demo grounds. In particular, the smart home demo and crane demo attracted a lot of attention. In this video, Software Engineer Denis Magda describes the smart home demo created by the Java ME Embedded team in St. Petersburg...

[04/25/2013]

Template Method pattern is one of the 23 design patterns explained in the famous Design Patterns book by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides. The intent of this pattern is stated as: Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. TemplateMethod lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure...

[04/24/2013]

Mobile users are typically distracted, busy, and ergonomically constrained, so build your mobile application UIs accordingly. Andrew Glover discusses key factors that differentiate mobile apps from web apps, then guides you through the creation of a mobile application UI that uses swipe gestures for navigation rather than button clicks...

[04/23/2013]