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

java.net Spotlight

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]

A new JavaFX Scene Builder 1.1 developer preview documentation, Using Scene Builder with Java IDEs, has been published on http://docs.oracle.com/javafx. It describes how you can use NetBeans IDE, Eclipse, and IntelliJ IDEA to easily create a JavaFX project and edit an FXML file with Scene Builder to build your application's UI. You can download the latest Scene Builder 1.1 developer preview build from...

[04/22/2013]

With Java ME Embedded 3.3 now being available for ARM Cortex-M3/M4 and Raspberry Pi, developers have been asking: How do I choose between Java ME Embedded and Java SE Embedded? Each platform has its strengths, and your choice depends on your requirements. What’s important is that together, Java ME Embedded and Java SE Embedded cover the embedded space from very small to very large, and...

[04/21/2013]

Security vulnerabilities related to Java running inside web browsers have lately received a lot of public attention. Here at Oracle we’ve mounted an intense effort to address those issues in a series of critical-patch update releases... We’ve also upgraded our development processes to increase the level of scrutiny applied to new code... As a consequence of this renewed focus on security the Java 8 schedule is no longer achievable...

[04/18/2013]

JavaOne Call for Papers has been extended and now will close on April 23. There are eight tracks to submit your talks: Client and Embedded Development with JavaFX; Core Java Platform; Edge Computing with Java in Embedded, Smart Card, and IoT applications; Emerging Languages and the Java Virtual Machine; Securing Java; Java Development Tools and Techniques; Java EE Web Profile and Platform Technologies; and Java Web Services and the Cloud...

[04/17/2013]

Oracle has released three updates to Java. It is important to note that they contain several security changes. The releases are: Java SE 7 Update 21: This release contains new features and fixes for security vulnerabilities, including a new Server JRE, JRE Installer linked with Uninstall Applet on Windows platform, changes to Security Dialogs and more. Oracle strongly recommends that all Java SE 7 users upgrade to this release...

[04/16/2013]

A few weeks ago, Oracle made available an updated release of Java ME Embedded, version 3.3, as an Early Access (EA) for Linux on Raspberry Pi. Today, we are following up with the General Availability (GA) on ARM Cortex-M3 for the ARM RTX RTOS on the KEIL MCBSTM32F200 developer board. With this release, Oracle now provides a Cortex-M3/M4 binary of the feature-rich, standards-based embedded Java ME Embedded runtime, scaling from mid-range embedded systems all the way down to micro controller-type devices...

[04/15/2013]

The JavaOne Call for Proposals is opened until April 23rd. Developers have a few extra days to get in those last minute submissions. Stephen Chin suggested the following talk ideas on his blog: Java + Devices; Java 8/9 Hacking; the new Java EE 7 release; and the new JavaFX 3D support...

[04/14/2013]

Among important Java software developments in recent years is the advent of such alternative JVM languages as Groovy, Jython, JRuby—and, more recently, Scala. A new static typed language, Kotlin, named after a Russian island where Kotlin's Andrey Breslav and the Kotlin team reside, has recently been getting attention. Brainchild of the highly lauded Czech software development company JetBrains, Kotlin was named Language of the Month in the January 2012 issue of Dr. Dobb's Journal...

[04/11/2013]

JavaOne India - May 8th and 9th - Hyderabad International Convention Center. Register Now and Save... Change is constant and Java is a remarkably dynamic platform. This comes through clearly in the JavaOne India sessions. Attend to get practical advice you can use now and inside information you can build on for the future. Key speakers include...

[04/10/2013]

The official schedule for JavaOne Russia 2013 is now posted. For the folks that are not yet aware, JavaOne Russia is to be held on 23-24 April at the Crocus Expo International Exhibition Center in Moscow. As you can expect there are keynotes, technical sessions, hands-on labs and demos led by Java luminaries from Russia and across the globe. There's tons of good stuff on Java EE and GlassFish...

[04/09/2013]

We are excited to announce that IntelliJ IDEA 12.1 is finally out and available for download. IntelliJ IDEA 12 brought major improvements such as support for Java 8, Play 2, Android UI designer, a new compiler with double the performance, more database tools, and Darcula... This update improves on most of these features and adds some new ones. Support for JavaFX 2, Oracle’s new rich client platform for Java, now includes...

[04/07/2013]

The content is produced by developers for developers. The leading participants of the Java User Group took the most active part in creating the conference agenda. Till 5 April the ticket price is 1700 RUB. The Call for Papers (CFP) has been completed, and you can find a variety of the presentations from Oracle, IBM, Red Hat, Heroku, Atlassian, JetBrains, ZeroTurnaround, Odnoklassniki, DevExperts, JFrog, and active participants of the Java community. View a complete list of sessions in the Content Catalog...

[04/04/2013]