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

java.net Spotlight

The upcoming NetBeans Platform 7.4 @TemplateRegistration attribute requireProject is handy when you want to display a file template in the New File dialog when you have no project that relates to it. However, what if you not only have no related project but no interest in the NetBeans project system at all? Then you have a problem because you need the NetBeans project APIs if you want to have the New File dialog...

[07/03/2013]

A new Open Source Software Development Center is open at University of Belgrade Serbia. It centers around using Java & NetBeans as open source projects to learn from and contribute to. Assistant Professor Zoran Sevarac says that not only does the center allow him to teach software development using open source projects, but also "we are improving our University courses based on the experience we get from working on open source code..."

[07/02/2013]

NetBeans 7.3.1+ comes with JBoss 7 integration similar to GlassFish v3/v4. To integrate JBoss with NetBeans: Download and install JBoss 7 and NetBeans 7.3.1+, Go to "Services" tab (Keybinding: Cmd+5), Right click on "Servers", Choose "JBoss" and follow the next few clicks. Now you can run any Java EE application directly on JBoss, just by right-clicking on a JavaEE project, choosing the "Run" item and selecting your server...

[07/01/2013]

You might feel like a kid in a candy store grabbing third-party code from GitHub or another repository, but there are still some tricks to integrating it with your Android UI. This month, Andrew Glover shows you how to take the Overheard Word demo app up a level with a JSON-based word engine and some prebaked, swipe-gesture functionality...

[06/30/2013]

Batch processing is used in many industries for tasks ranging from payroll processing; statement generation; end-of-day jobs such as interest calculation and ETL (extract, load, and transform) in a data warehouse; and many more. Typically, batch processing is bulk-oriented, non-interactive, and long running—and might be data- or computation-intensive. Batch jobs can be run on schedule or initiated on demand. Also...

[06/27/2013]

There will be over 500 technical sessions, BOFs, tutorials, and hands-on labs offered. Note that "Securing Java" is a new track this year... In the Content Catalog you can search on tracks, session types, session categories, keywords, and tags. Or, you can search for your favorite speakers to see what they’re presenting this year... Start checking out JavaOne content now...

[06/26/2013]

Interview with Paul Perrone, founder and CEO of Perrone Robotics, on using Java Embedded to test autonomous vehicle operations for the Insurance Institute for Highway Safety that will save lives. Paul architected the Java-based general-purpose robotics and automation software platform known as “MAX”, and has overseen MAX’s application to rapidly field self-driving robotic cars, unmanned air vehicles, factory and road-side automation applications, and...

[06/25/2013]

We recently attended EMEA IOUC Summit 2013 in Ghent, Belgium, last spring (EMEA IOUC stands for International Oracle User Group Community from Europe, Middle East and Africa). This meeting was very important because that's an opportunity that user group leaders have to share what really works and what actually doesn't work when managing their community...

[06/24/2013]

The London Java Community (LJC), which is an Executive Committee member of the Java Community Process (JCP), is asking Java developers to participate in a JCP survey titled "What should the JCP be doing?" The JCP is the mechanism that decides on future standards related to Java technology. Those standards give users like you a choice of technologies to develop with and more independence from vendor solutions. Take the survey...

[06/23/2013]

In several years of developing, reading, reviewing, and maintaining hundreds of thousands of lines of Java code, I have become accustomed to seeing certain "red flags" in Java code that often imply problems with the code. I'm not talking about practices that are always wrong, but rather practices that might, in limited circumstances, be appropriate but generally are a sign of something wrong. Here I summarize some of these and discuss situations in which they might be okay as well as why they typically are not okay...

[06/20/2013]

Yesterday, Brian Goetz (Lambda architect) suggested that I produce an example of Lambda being used from Nashorn. Since, I've been heads down in Nashorn, I really haven't played with Lambda that much. After looking at some examples from Stuart Marks, I figured, what the hey, it doesn't look that hard. Details of the Lambda APIs are available at JDK 8 b92 API. Many constructs are familiar to JavaScript developers. The main things to note...

[06/19/2013]

The time has arrived to open nominations for the 2013 JCP Annual Awards (Hall of Fame page)! The JCP program celebrates success. Members of the community nominate worthy participants, Spec Leads, and Java Specification Requests (JSRs) in order to cheer on the hard work and creativity that produces ground-breaking results for the community and industry in the Java Standard Edition (SE), Java Enterprise Edition (EE), or Java Micro Edition (ME) platforms...

[06/18/2013]

Want to maximize your technical knowledge of Java and minimize the time it takes to do so? OTN's Virtual Developer Day lets you learn about the latest technical improvements in Java without leaving your desk/couch/park bench. Watch informative tutorials on your laptop and improve your Java programming expertise and engage in live chat sessions with Java experts, all for FREE...

[06/17/2013]

I've always liked the idea of computer vision and on the very long list of things I'd like to spend more time exploring is the OpenCV libraries which have a handy set of Java bindings. In the past I've experimented with, and used some of the other frameworks that are available for image capture in Java, specifically the Java Media Framework (JMF) and the Freedom for Media in Java (FMJ), mostly around the idea of integrating images from a webcam into an application like a security monitoring system. Sadly...

[06/16/2013]

Java EE 7 has arrived, with lots of new tools designed to make you more productive and let you add new capabilities to your Web applications. The May/June issue of Java Magazine focuses on what's new and notible in Java EE 7—including HTML 5 support, WebSockets, JAX-RS, JSON, batch processing, concurrency, and more. There are interviews and and hands-on articles that help you get up to speed with Java EE 7 right away. Also...

[06/13/2013]

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

[06/12/2013]

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

[06/11/2013]

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

[06/10/2013]

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]