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

java.net Spotlight

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]

It is conference season for the "Heroes of Java" and a good time to publish another entry. This time I am celebrating the 20th edition of the series with Angelika Langer, an independent instructor, coach, and author on C++ and Java. She works worldwide, mainly in Europe and North America. Her areas of expertise include advanced C++ and Java programming, concurrent programming and performance issues. She is the author of the Java Generics FAQ and...

[10/23/2012]

The JCP Public Executive Committee (EC) Face-to-Face Meeting launched the week's activities. The ECs gathered and discussed directional and strategic issues in the grand Clift Hotel. Since the EC had met three weeks prior in Prague for a Face-to-Face Meeting, no surprises were expected during the week. Last year at JavaOne, the EC answered questions from over 50 Java developers, but this year most Java developers seem to be satisfied with the progress the JCP EC is making with the JCP.Next effort. Therefore...

[10/22/2012]

Yesterday the JCP hosted a Meet the EC Candidates call for Java Community members. The recording and materials are now available on the JCP multimedia page. (Audio only file.) All nominee information is available on JCP.org. The 2012 EC Election ballot will remain open until 29 October at midnight PDT...

[10/21/2012]

Few developers have done more to move and shake the Java community in recent years than Martijn Verburg. He was voted by his peers as a JavaOne Rock Star for his "Diabolical Developer" session at the JavaOne 2011 conference... He is co-leader of the thriving London Java Community, and leads the global effort for "Adopt a JSR" and "Adopt OpenJDK" programs...

[10/18/2012]

If you weren't able to attend JavaOne 2012 in San Francisco, one of the high points was the Community Keynote on the last day. It was by the community and for the community. It included a visit from James Gosling, demos, and community members describing what they've been up to. You can watch highlights... or watch the full keynote...

[10/17/2012]

WebSocket provides a full-duplex and bi-directional communication protocol over a single TCP connection. JSR 356 is defining a standard API for creating WebSocket applications in the Java EE 7 Platform. This Tip Of The Day (TOTD) will provide an introduction to WebSocket and how the JSR is evolving to support the programming model. First, a little primer on WebSocket...

[10/16/2012]

The Nominations period for the 2012 JCP EC Elections closes tomorrow, 11 October at midnight pacific time. Eligible JCP Members (all current JSPA 2 signers) may nominate themselves. You will need your Elections credentials to complete the nomination, which were sent to the primary contacts of all eligible JCP Members via email last week...

[10/15/2012]