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

java.net Spotlight

Morocco, Senegal, South Africa, and Uganda were the African four countries on my Make the Future Java EE 7 Global Celebrations tour. The event was organized by JUG AFRICA and Max Bonbhel covered a few other countries as part of this tour. I was welcomed with a very warm African hospitality in each country. The JUG leaders took extreme care of me through out the stay, starting right from the airport pick up...

[09/03/2013]

The JavaOne 2013 content catalog is now live. As in the previous years, I took the opportunity to look for the talks and BOFs with OpenJDK in their title, or abstract, and pull them together in a list: OpenJDK and JCP: Success Through Contribution - Sunday, Sep 22, 4:45 PM - 5:45 PM; Jump-starting Lambda Programming - Monday, Sep 23, 10:00 AM - 12:00 PM; It Takes a Community - Monday, Sep 23, 10:00 AM - 11:00 AM; Meet the Oracle Java Client and JavaFX Teams...

[09/02/2013]

Last week I mentioned a few videos and and podcasts featuring Milton Smith, Sr. Principal Security PM at Oracle. I had a chance to meet Milton last week when he was in Hamburg for the OWASP AppSec EU conference, but I didn't have a chance to attend his presentation. Fortunately, the video team of the AppSec EU conference has published the video recordings of the conference presentations here...

[09/01/2013]

Work has started on a simplified “take two” of Jigsaw, the Java module system that has been under development for almost four years. The new prototype will be a clean break from the first attempt, and while some code may be reused, Chief Architect Mark Reinhold wrote on the mailing list that it was an “opportunity to question earlier design decisions and generally clean things up”. Project Jigsaw was meant to be a headline feature of Java 7, consisting of a standard module system for Java which would then be applied to Java itself. However...

[08/29/2013]

As announced previously, Oracle is pushing Java ME forward in a big way: Late last year, JSR 360 (CLDC 8) and JSR 361 (MEEP 8) were filed with the JCP (see: “A Big Leap For Java ME 8″). These two JSRs have been moving very quickly in the Expert Groups and I am happy to announce they are now in the Public Review stage... Once approved, we will see start seeing updated Java ME-based products leveraging the new capabilities and features defined by CLDC 8 and MEEP 8, such as...

[08/28/2013]

Here's my Hexbug Spider Robot going through his first diagnostics. Awwww.... his first steps. Woogie-woogie. (See video: Skynet Model T-1 First Steps). Soon, little Hexbug Spider Robot will use Skynet Big Data to hunt for Sara Connor. Java SE Embedded programming enables this robot to run through his new basic level one diagnostics. I'll post the Java source code in the next blog post...

[08/27/2013]

The JEUS 8 application server from South Korean enterprise software development company TmaxSoft is now officially Java EE 7 certified! This means you now have two Java EE 7 compatible application servers - GlassFish 4 and JEUS 8 (GlassFish 4 is also certified against the Web Profile in addition to the Full Profile). The Java EE 7 application server choices will likely be expanded further by the end of the year with the likes of WildFly (formerly JBoss AS) 8...

[08/26/2013]

JavaDay Taipei 2013 was held at the Taipei International Convention Center on August 2nd. Organized by Oracle University, it is one of the largest Java developer events in Taiwan. This was another successful year for JavaDay Taipei with a fully sold out venue packed with youthful, energetic developers. In addition to Oracle speakers like me, Steve Chin and Naveen Asrani, the event also featured...

[08/25/2013]

Congratulations to the nominees of the 11th Annual JCP Program Awards. The nominations have been posted on JCP.org, where you can read the nomination text and more information about the awards and the nominees. The community gets together every year during JavaOne to congratulate the nominees at the annual JCP Community Party. The winners will be announced during the evening community party happening this year on...

[08/22/2013]

An update to the Java EE 7 Tutorial just went public. Update 7.0.2 contains many bug fixes and refinements to the documentation and the examples and also includes the following new or substantially revised examples... Follow the instructions in Section 2.1, Required Software to get and install the update.

[08/21/2013]

The NetBeans team wants your feedback about your experience using NetBeans IDE 7.3 or its update release, NetBeans IDE 7.3.1. Are you getting the best coding experience when using NetBeans IDE 7.3 or NetBeans IDE 7.3.1? Are there features or enhancements the NetBeans team should consider in future releases? Tell us in this short survey...

[08/20/2013]

As part of Make the Future Java EE 7 Global Celebration, several of us (Reza Rahman, Bruno Borges, and David Delabassee) are traveling around the world and speaking at different events. My latest travelenture takes me to different parts of Africa, literally in all different directions. I plan to show tons of Java EE 7 code samples, meet local developers, learn from them, hopefully run with some of the finest runners in the world, and...

[08/19/2013]

The Java Champions are an exclusive group of passionate technologists, speakers and community leaders who are long-time Java experts. Their feedback, ideas, and direction help Oracle grow the Java Platform. Don’t miss the opportunity to meet some of them at JavaOne. The Java Champions speaking at JavaOne are...

[08/18/2013]

ADEN is a lightweight Java networking framework for message passing applications. This article provides detailed information about ADEN, except about the protocol it uses (we refer to it as ADEN protocol) which will be covered later in a separate article. ADEN's project goal is to provide 'negotiated' connections and reliable data transmission on top of Java's DatagramSockets...

[08/15/2013]

Java EE 7 is out now and so I was curious to play around with the new specifications and APIs from this technology stack. That’s why I didn’t hesitate to add yet another websocket-chat tutorial to the existing ones on the internet in favor of gathering some experience with this technology and a possible integration using a GlassFish 4 server, the new Java API for JSON Processing for...

[08/14/2013]

Calling anyone interested in running for a JCP Executive Committee seat! This year will be an exciting election since the current EC Members and any prospective new EC Members will run for election--24 EC seats will be ratified or elected by the JCP Program Membership (specific details on this below). Now is the time to prepare your nomination! The official nomination period begins...

[08/13/2013]

It has been a couple of weeks since Bean Validation 1.1 has gone final. In the mean time, the Java EE 7 platform spec has been finalized as well, so it's time to have a closer look at what you can expect from these updates in relation to Bean Validation and its reference implementation, Hibernate Validator 5. Over the following weeks, we'll dive into the most exciting new features in a series of blog posts, starting today with the usage of expression language in error messages...

[08/12/2013]

I seem to be on a blogging / open source release roll at the moment, as I’ve got a new release of ControlsFX available today to go with the release of Scenic View I put out the other day. This release of ControlsFX is the first developer preview release of ControlsFX 8.0.2, and contains a number of bug fixes and new features... On top of the numerous bug fixes and the resolution of the issue mentioned above, this release includes the following new features (among others)...

[08/11/2013]

What is the developer community like in China? I put this question to several members of the Java developer community while at JavaOne Shanghai. "Big!" "Passionate!" "They asked good technical questions." "Eager to learn." Find out what JUG leaders and Oracle had to say on this topic. You can view the entire JavaOne Shanghai playlist and lots of other videos on the Java YouTube channel...

[08/08/2013]

Learn about how to adapt and tune the G1 GC for evaluation, analysis and performance. The Garbage First Garbage Collector (G1 GC) is the low-pause, server-style generational garbage collector for Java HotSpot VM. The G1 GC uses concurrent and parallel phases to achieve its target pause time and to maintain good throughput. When G1 GC determines that a garbage collection is necessary, it collects the regions with the least live data first (garbage first)...

[08/07/2013]

Heinz is a Java programmer living on the beaches of the Island of Crete in the Mediterranean. It is from there that he publishes his entertaining "Java Specialists' Newsletter", read by about 70000 Java experts in at least 130 countries (http://www.javaspecialists.eu/countries.html). Heinz tries to "push the envelope" with Java, so if you've ever wondered how to...

[08/06/2013]

There is an interesting discussion happening on the LinkedIn “Internet of Things” group right now, in response to the InfoWorld article a few days ago titled “Oracle hitches Java to ‘Internet of things’“. The discussion touches on some interesting details on why Java may or may not be a good choice for embedded. Besides the fact that Java is already proven to be one of the most widely deployed embedded technologies, I think the discussion misses a key point...

[08/05/2013]

One of the big features I’ve known people have wanted for a long time (hey, I’ve wanted it too!) is support for returning a TableView back to its original, unsorted state after being sorted by the end user... So, what is the current approach to sorting in TableView (which is still applicable to those of you that don’t want to support returning to the unsorted state)? It looks a little something like this...

[08/04/2013]

Brand the "Community Keynote" at JavaOne this year by submitting a crazy, fancy, funny, geeky slogan about what you LOVE with Java below! Find 140 characters (not a coincidence) to describe your personal love to the worlds mostly used programming language and share it with us.The winner will receive a FULL PASS to JavaOne...

[08/01/2013]

Support and maintenance is one of the added values of Oracle GlassFish Server, the commercial version of GlassFish. Two GlassFish Patches have been released in July, one for the 3.1.2 version and another for the 2.1.1 version (Java EE 5!). For those who can't move to a more recent version of Java EE, Oracle continues to provide support for the older version of the product, Sun GlassFish Enterprise Server 2.1.1 in this case. This GlassFish For Business"\ post provides more details...

[07/31/2013]

Uncover the basics of cross-site scripting attacks and learn how you can prevent them using a Java-based approach to encode HTML output from a server. In a cross-site scripting (XSS) attack, the attacker injects malicious code into a legitimate web page that then runs malicious client-side script. When a user visits the infected web page, the script is downloaded to, and run from, the user's browser. There are many variations to this scheme...

[07/30/2013]

Critics of Java are often quick to decry the death of their least favourite programming language, but perhaps they shouldn’t be so hasty. The latest rankings from developer analysts RedMonk are in for Q3, showing that Java has edged to the top of the pile, but only just. The RedMonk Programming Language Rankings measures the traction of languages on two of the biggest communities out there, by correlating the number of tags on Stack Overflow questions against the number of GitHub projects in that given language. The results are shown below...

[07/29/2013]

This is what Mike Milinkovich, executive director of the Eclipse Foundation, had to say about the grant: "It is important for the Eclipse Foundation to provide our community with the tools they need to enhance developer productivity. As a key contributor to EclipseLink and other projects, Oracle has been a strong supporter of our efforts. Through the Oracle Compatibility Testing Scholarship Program...

[07/28/2013]

Wouldn't it be handy to know how many messy methods you have, and where they are found in your application, that is, where exactly are the worst culprits, those that are just really wildly long with multiple nested clauses and loops and return statements everywhere? And what about all those classes with bizarre numbers of constructors? Or the constructors where dozens of parameters are received or classes that are hopelessly intertwined with other classes? Enter NetBeans code metrics, introduced in NetBeans IDE 7.4...

[07/26/2013]

As I wrote previously, a WebSocket API is only the starting point for WebSocket-style messaging applications. Many practical challenges remain. As one Tomcat mailing list user mused recently: "It does seem to me that websockets is still not really "production-ready", (I am not talking about the Tomcat implementation per se, but more generally) … native websockets capability in IE is only available since IE-10 and that solutions which allow this to work in lower IE versions are a bit "iffy"..."

[07/24/2013]