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

java.net Spotlight

JVMs are considered smart nowadays. Not much configuration is expected – just set the maximum heap to use in the startup scripts and you should be good to go. All other default settings are just fine. Or so some of us mistakenly thought. Actually there is a lot going on during runtime which cannot be automatically adjusted for performance...

[12/04/2012]
Elliot Bentley: Netflix open sources cloud performance library Hystrix

As well as dominating the online video market, Netflix are known for their early adoption of AWS and daring approaches to cloud computing. Luckily for us, they also generously open source much of their most innovative technology straight onto GitHub.The latest release is Hystrix, a library designed to provide greater latency and fault tolerance by isolating points of access...

[12/03/2012]

Last week, we released DataFX 1.0. With DataFX, JavaFX developers can easily integrate internal and external data available in a variety of sources and protocol into JavaFX UI Controls. The JavaFX technology provides Java developers with lots of possibilities in the area of interactive, visually attractive applications. These applications are targeting the desktop, mobile and tablet space, and even embedded environments....

[12/02/2012]

As you may be aware, we have been making a concerted effort to ask successful Java EE/GlassFish adopters to come forward with their stories. A number of such stories were shared at this year's GlassFish Community event at JavaOne. In addition to Adam Bien's testimonial (which we posted earlier), another story that really stands out is the one from Stephan Janssen...

[11/29/2012]

We would like to announce the setting up of Mauritius Java User Group and also we are inviting Java Experts around the world to come and talk in our Country. We have a big java community but we are still very "old-fashion" in terms of java usage, although we have big companies like Accenture, Ceridian, Infosys, TNT Express IT Department, Business & Decision and others here in our country...

[11/28/2012]

I just finished my NightHacking Tour across Europe. In 3 weeks, I hit 2 conferences, 5 user groups, and did over 30 interviews with NightHackers in 7 different countries. Some of the highlights included: Motorcycle ride-ons at JFall and Devoxx; JUG hacking events in London, Munich, Tourin, Lyon, and Paris; Dancing robots at Aldebaran Robotics...

[11/27/2012]

EJB 3.1 added a ton of features for simplicity and ease-of-use such as @Singleton, @Asynchronous, @Schedule, Portable JNDI name, EJBContainer.createEJBContainer, EJB 3.1 Lite, and many others. As part of Java EE 7, EJB 3.2 (JSR 345) is making progress and this blog will provide highlights from the work done so far...

[11/26/2012]

This is a question I have faced several times during my career in enterprise software development. I’ve had to hand out recommendations for configuring a specific new environment, and often part of the question was related to “Should I use a 32- or a 64-bit JVM”. In the beginning I just flipped the coin instead of giving a reasoned answer. But by now I have gathered more insight on this and thought to share it with you...

[11/25/2012]

Atlassian's Sarah Goff-Dupont discusses how budding startups can get the edge over their much bigger rivals with some simple steps... What's a young David-like up-start to do, armed only with a brilliant idea, raw talent and a willingness to put in long hours? How do they deliver quickly, and on a shoe-string budget? They reach for the slingshot in their back pocket: cloud-based development...

[11/22/2012]

A JUG leader is someone who is passionate about Java. That is the most obvious answer. However, that answer has many different levels. A JUG Leader can be a very technical individual, and some are the best developers in their JUG. This does not need to be the case. A JUG Leader understands the power of communication, collaboration, and community. As I noted, a JUG leader does not need to be the technical expert of the group, but they need to be able to identify those members (community) and get them to share (communicate) their knowledge...

[11/21/2012]

You all know about the Java Community Process (JCP), don't you? The JCP is the mechanism for developing standard technical specifications for Java technology. Anyone can register for the site and participate in reviewing and providing feedback for the Java Specification Requests (JSRs), and anyone can sign up to become a JCP Member and then participate on the Expert Group of a JSR or...

[11/20/2012]

In a way JSR 360 is returning to the original roots of Java ME when it was first introduced. It was indeed a subset of the JDK 4 language, but as Java progressed many of the language changes were not implemented in the Java ME. Back then the tradeoff was functionality/footprint, but the major market was feature phones. Today the market has changed and CLDC will have its primary emphasis on embedded devices...

[11/19/2012]

It might have gone unnoticed to some, but Java ME took a big leap forward a couple of weeks ago with the filing of two new JSRs: JSR 360 -“Connected Limited Device Configuration 8″ and JSR 361-“Java ME Embedded Profile”. Together, these two JSRs will significantly update, enhance, and modernize the Java ME platform, and specifically small embedded Java, with a host of new features and functionality...

[11/18/2012]

A key question to answer for Java EE and GlassFish centers on proof of successful adoption. To that end, we have made a serious effort to ask Java EE/GlassFish adopters to tell us their stories. There were a number of such stories shared at this year's GlassFish Community event at JavaOne. One that particularly stands out is a testimonial by celebrated Java EE advocate Adam Bien...

[11/15/2012]

A question recently came up at work about benchmarks between Java and Scala. Maybe you want to know which is faster, Java or Scala. Sorry to say this, but you're asking the wrong question. In this post, I'll show that Scala is faster than Java. Next I'll show why the question was the wrong question and why my results should be ignored. Then I'll explain what question you should have asked...

[11/14/2012]

JAX-RS is a framework designed to help you write RESTful applications both on the client and server side. With Java EE 7 slated to be released next year, 2013, JAX-RS is one of the specifications getting a deep revision. JAX-RS 2.0 is currently in the Public Draft phase at the JCP, so now is a good time to discuss some of the key new features...

[11/13/2012]

Following part 1 of this series, NetBeans community members continue discussing their highlights of JavaOne 2012, which was packed with news about NetBeans IDE as Oracle's IDE for the Java Platform... Also, look for more articles such as this one in the coming weeks, highlighting the insights that NetBeans community members gathered from their attendance at JavaOne 2012!

[11/12/2012]

Work on Java EE 7 presses on under JSR 342. Things are shaping up nicely and Java EE 7 is now in the Early Draft Review stage. You can find out more and get involved by visiting the Java.net project for Java EE. There are now a number of important open issues that the Java EE expert group would like to get broad community feeback on...

[11/11/2012]

Micro-blogging site Twitter experienced record traffic as the results of the 2012 US Presidential election were announced on Tuesday night, but the service never faltered despite the increased load – something Twitter engineers credit to the company's move from Ruby to Java for its backend software. According to a blog post by Mazen Rawashdeh, Twitter's VP of infrastructure operations engineering...

[11/08/2012]

The JCP will be back at Devoxx this year. If you are attending, you can catch either Patrick or Heather at one of these events... Tuesday - OpenJDK Lab, and then we will move over to the Hackergarten (TCK/unit testing); or Beer Bash at Oracle Booth-17:30–19:30. Wednesday - Beer Bash at Oracle Booth-18:00–20:00! Thursday...

[11/07/2012]

The equals() method and the compareTo() method on Comparable are two of the most basic in Java. Yet their definitions have an interesting wrinkle around the concept of "consistent with equals". The equals() method is both well defined and unclear in Java. It is well-defined in that...

[11/06/2012]

JMaghreb, the inaugural Java conference organized by Morocco JUG, is the biggest Java conference in Maghreb (5 countries in North West Africa). Oracle was the exclusive platinum sponsor with several others. Registrations had to be closed at 1412 for the free conference and several folks were already on the waiting list. Rabat with 531 registrations and Casablanca with 426 were the top cities...

[11/05/2012]

The following Java EE JSRs have made progress in the JCP program this week: JSR 342, Java Platform, Enterprise Edition 7 (Java EE 7) Specification, has posted an Early Draft 2 Review. This review closes 30 November. JSR 338, Java Persistence 2.1, has posted an Early Draft 2 Review. This review closes 30 November. JSR 346, Contexts and Dependency Injection for Java, EE 1.1, has posted a Public...

[11/04/2012]

In this JAXconf session, Ted Neward presents a handy guide for Java developers thinking of picking up the object-oriented and functional language Scala. In this presentation, Ted focuses on going "beyond" the syntax by tackling the hardest problem of learning a new language--thinking in that new language...

[11/01/2012]

An eCommerce site that crashes 7 times during the Christmas season, being down for up to five hours each time it crashes is a site that loses a lot of money and suffers reputation damage. It happened to one of our customers, before we started working with them. They shared their story and what they learned at our annual performance conference...

[10/31/2012]

The 2012 Fall Executive Committee Election process is now complete. The ballot closed at midnight pacific time on Monday, 29 October. Congratulations to Cinterion Wireless Modules GmbH, Credit Suisse, Fujitsu Limited, Hewlett-Packard (all four candidates were ratified), and CloudBees and London Java Community (two elected candidates) as the new and re-elected merged EC Members. For more information...

[10/30/2012]

One subtask of the JDK migration from the legacy bug tracking system to JIRA was reclassifying bugs from a three-level taxonomy in the legacy system, (product, category, subcategory), to a fundamentally two-level scheme in our customized JIRA instance, (component, subcomponent). In the JDK JIRA system, there is technically a third project-level classification, but by design...

[10/29/2012]

Java language and standard library is powerful, but with great power comes great responsibility. After seeing a lot of user code misusing or abusing rare Java features on one hand and completely forgetting about basic features on the other, I decided to compose this summary. I group Java features in three categories: day to day, occasionally, and never (frameworks and libraries only). The rule is...

[10/28/2012]

Materials and minutes from the JCP EC Face-to-Face Meeting, held September 2012 in Prague, are now available on the EC Meeting Summaries page. Topics included JCP.Next, a JCP 2.8 progress report, Inactive JSRs, and two Spec Lead presentations. In October 2011, new EC Standing Rules went into effect. The Rules include the following: ...

[10/25/2012]

Today I am so pleased to announce the opening of the JavaFX UI controls sandbox repository on OpenJFX. This repo is a fork of the JavaFX 8.0 controls repo, but will occasionally sync from there to keep it up to date. This repo is intended for OpenJFX developers to put their ‘toys’ until such time that they get called up to the big leagues for inclusion into OpenJFX itself (although...

[10/24/2012]