Main Menu

java.net Spotlight

We’re running a little survey here at FX Experience to get input from JavaFX developers (and everybody else!) as to the ways they would use a port of JavaFX to smartphones and tablets (think: iOS, Android, and WinRT). This is your chance to really influence the future of JavaFX! Get your friends to participate! Questions...

Have you ever wondered what it takes to get your Java EE up and running somewhere? I did. For years. Started with hosting my own, moved on to some hosting offerings and finally stumbled upon the PaaS movement. I simply wanted to run my stuff and didn't care too much about the solution. That changed recently with the emerging offerings, especially with offerings which label themselves XaaS...

Java 7 introduced support for parallel classloading. The solution for parallel classloading was to add to each class loader a ConcurrentHashMap, referenced through a new field, parallelLockMap. This contains a mapping from class names to Objects to use as a classloading lock for that class name. This was then used in the following way...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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!

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

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

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

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

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

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

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

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

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