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

java.net Spotlight

We decided to pick five of today’s most prominent logging engines, and see how they perform in a number of races. Now, before you take out the torches and pitchforks, I wanted to clarify that the point is not to say which is better, but to give a sense of the differences in throughput between the engines across a number of common logging tasks...

[12/18/2013]

WebSocket is a cool new(ish) technology that allows real-time, two-way communication between the browser and the server, with almost no overhead. What I want to do here, is to provide a very succinct, but sufficient overview of how to start using the technology. So, a few things to start with: * a tcp socket connection is opened between the browser and the server, and each party can send messages to the other...

[12/17/2013]

IT is all about streamlining and automation, so it is somewhat ironic that we developers still tolerate repetitive and boring manual tasks, such as deployment. Also, our ignorance about easily accessible information for application servers, such as monitoring data, is surprising... This article describes the GlassFish management API, which allows you to manipulate the GlassFish application server's configuration, including its monitoring capabilities. It also describes the GlassFish monitoring API, which provides a read-only facility for accessing the Java Virtual Machine (JVM), the GlassFish application server, and the GlassFish application server's metrics and counters...

[12/16/2013]

Just recently I was engaged to assist with an application that wasn’t behaving. The application, running in a 1.7.0_45 JVM, relied heavily on a 3rd party SAAS framework. That vendor provided my client with a list of 26 different JVM flags that should be set. When faced with this long list of flags I couldn’t resist asking why all the flags and why these flags. After all there are more than 700 product flags defined in the JVM and to be honest, I’ve only a vague idea of the effect may have on a runtime. Take the flag AggressiveOpts for example...

[12/15/2013]

It has been a busy month in the JCP program. Many updates to share with you below... Star Spec Lead nominations are still open for 2013 until Monday, 16 December. This is a great opportunity to recognize your favorite JSR Specification Lead. The November EC meeting summary and materials are available. This was the first EC Meeting with the newly elected 2013-2014 EC...

[12/13/2013]

There’s been a number of nice articles written about graphs, graph databases, and, more specifically, Neo4j in the past couple of months. Each one jumping on the hype train and brimming with ‘revelations’ about the coolness of graph databases in general - especially Neo4j. In this article, we would like to continue this love-in by shining a spotlight on a couple of fantastic new features that are part of Neo4j 2.0...

[12/11/2013]

In this video interview, Java Evangelist Jim Weaver, Senior Engineer Gerrit Grunwald and Community Manager Yolande Poirier discussed the Internet of Things(IoT), Java Embedded, and the new IoT community page on Java.net. The page gathers blogs, resources and many sample applications from Java developers who create embedded applications with Java...

[12/10/2013]

As we start to plan for the next revision of the Java EE Platform (Java EE 8), we would like to get input from the community on the relative importance of some of the features that we might add. If you can spare a little time, please participate in this Java EE 8 features survey to let your voice be heard and help us shape the future of Java EE. This is the first part of a two-part survey...

[12/09/2013]

The annotation processing API, both the processor-specific portion of the API in javax.annotation.processing and the language modeling portions in javax.lang.model.*, are being updated to support the new language features in Java SE 8. Procedurally, the proposed changes are covered by the second maintenance review of JSR 269: Maintenance Draft Review 2. There are three categories of changes from the version of the API shipped with Java SE 7...

[12/08/2013]

Just wanted to direct your attention to Oracle’s Internet of Things (IoT) home page at oracle.com/iot. This is continuously being updated and is a great entry-point resource featuring: Overview into Oracle’s IoT strategy and platform; Webcasts, Videos, Reports, and White Papers; Additional resources, articles, podcasts and more...

[12/06/2013]

I am incredibly pleased to announce on behalf of the entire ControlsFX team that ControlsFX 8.0.3 is now ready for download! This release comes approximately two months after the 8.0.2 release, and is a major release... the reason why this release is two months in the making rather than the usual one month cycle is that we decided to improve the ControlsFX sampler program. It is now more generic...

[12/04/2013]

Java debugging is a complex space. There are many types of debuggers, and numerous tools to choose from. In this page, we’ll cover the differences between 7 types of debuggers, and review the major tools in each category to help you choose the right tool for the right job. Here are the types of debuggers we cover...

[12/03/2013]

A short story about the complexity of magical frameworks and dependency injection with a happy ending, featuring Resteasy, CDI, and JBoss. Once upon time, I have created a JAX-RS webservice that needed to supply data to a user’s session. I wanted to be fancy and thus created a @Singleton class for the exchange of information between the two (since only a user request serving code can legally access her session, a global data exchange is needed). However...

[12/02/2013]
John Yeary: Minecraft Server on Amazon Elastic Compute Cloud (EC2)

I recently setup a Minecraft Server on Amazon Elastic Compute Cloud (EC2) for one of my sons and his friend. It was an experiment for use with a larger group of Cub Scouts in my Bear den. I signed up for the free hosting for a year from Amazon. The free instance has some limitations, but will work fine. The biggest issue is the amount of ram in the free micro (t1.micro) instance is about 613MB. This is much smaller than the recommendation of 1024MB on the Minecraft website, but worked with a small group. You may need to go to the next tier (m1.small, or m1.medium) for a bigger group. Those instances are not in the free tier, but..

[12/01/2013]
Terrence Barr: V2COM, Gemalto, and Oracle win IDTechEx “Best IoT Application Award”

V2COM, Gemalto, and Oracle recently jointly won the IDTechEx Energy Harvesting & Storage award for best Wireless Sensor Network (WSN)/IoT Application for delivering flexible smart grid solutions in Latin America. For more information on the award and the application, see...

[11/29/2013]

Star Spec Lead nominations are now open until 16 December 2013. Anyone can submit a nomination for a current Spec Lead operating under the most recent versions of the JCP program (version JCP 2.8 or 2.9). Nominations can be for either process or communication criteria--some of the possible criteria for selection is listed below. There are Spec Lead profiles available for most of the active JSRs on JCP.org to use for inspiration...

[11/27/2013]

The clock is ticking... Java 8 is not that far anymore... Adopt OpenJDK allows the Java community to prepare the field for JDK8. There are many ways to contribute. The first step could be to test existing Java applications on top of OpenJDK 8. The next step would then be to adapt those existing applications to leverage some of the new Java 8 enhancements...

[11/26/2013]

Going through the list of Java 8 features, Generalized Target-Type Inference struck me as a particularly interesting, lesser-known gem. It looks as though the Java language designers will ease some of the pain that we’ve been having with generics in the past (Java 5-7). Let’s have a look at their example...

[11/25/2013]

The last few weeks I was busy re-writing pf my puppet WLS module so it fully supports the power of Puppet 3 (thanks for more than 4000 downloads on puppet forge) . With Puppet 3 we now can use Hiera, Iterations and Lambdas expression. This does not sound like a big change but with Hiera and the new Puppet Language features...

[11/24/2013]

Futuristic, automated homes are becoming a reality, and home automation is a prime example of the Internet of Things (IoT). The current issue of Java Magazine looks at IoT and what it opportunities it presents for Java developers. We also bring you a special section on development best practices, community news, and more. Highlights include...

[11/22/2013]

With lambdas and support for asynchronous communication, JavaFX introduces new integration possibilities for back-end services... JavaFX and Java EE 6 and 7 introduced a variety of new synchronous, asynchronous, push, and pull integration strategies. This article focuses on the integration of Java EE services with JavaFX applications...

[11/21/2013]

Pocket size, versatile, and cheap as chips, the Raspberry Pi has enjoyed blockbuster success since its launch... Having recently struck a deal for Java to run natively in every unit, the Raspberry Pi continues to go from strength to strength. To mark this latest sales milestone, JAXenter has compiled a rundown of ten of our favorite creative uses for the very little computer that could...

[11/19/2013]

Back in July, Oracle announced the Oracle Java Platform Integrator (OJPI) program. The OJPI program enables companies developing embedded products on devices to leverage the technologies Oracle is providing across their choice of hardware and operating systems... Since July, we have been busy expanding this offering with more information and additional releases, including...

[11/18/2013]

JBoss AS 7 and therefore EAP 6 comes with a great simplification of its configuration. Depending on your setup you can use either standalone.xml or domain.xml to configure everything! One file to rule them all! Well, almost all. If you need fine-grained tuning you might end-up in a situation where the configuration option is not exposed via JBoss' subsystem configuration and you have to use a different approach....

[11/17/2013]

A lot of speakers at these M2M events were senior people from the telco industry presenting their M2M and IoT strategies. After hearing enough of these presentations you start to get a feel for their priorities and perspective. One thing you never hear in these presentations is developers, open hardware or open source...

[11/14/2013]

Tyrus, the WebSocket 1.0 reference implementation included in GlassFish and WebLogic, released version 1.3 a few days ago. The release contains some valuable features like asynchronous handling of the client-side connectToServer method call, optimized broadcast support and lots of stability and performance improvements (listed below)...

[11/13/2013]

There is a common argument that because we have lots of cores and will have even more in the future, we have to use them. We just need to find the best ways to use them- but just because we can doesn't mean we should. What is our goal? Good reasons to use multiple threads are...

[11/12/2013]

We are glad to announce the next release 1.1.0 of PrimeFaces Extensions. Beside fixed issues (full list on GitHub) we added a new JSF component FluidGrid. FluidGrid is a cascading grid layout component. It works by placing elements in optimal position based on available vertical space...

[11/11/2013]

At conferences, I definitely prefer technical sessions over any other kind of session... here's two absolutely wonderful sessions (and probably many more but I really liked these two) presented at Oredev over the last few days, one by JB Rainsberger and the other by Woody Zuill... Whether you're a developer or manager or whatever you are, take this on trust, and simply watch these screencasts...

[11/10/2013]

This week has been a busy week for JCP participants! Ten JSRs related to the upcoming Java Standard Edition (Java SE) 8 release posted public reviews--four Public Reviews and six Maintenance Reviews. All JSRs are operating under the latest version of the JCP program and have public feedback mechanisms and issue trackers. Please review and comment on these JSRs...

[11/07/2013]