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

java.net Spotlight

At the end of each calendar year, I like to summarize some of the most significant developments in the software development industry that happened during the year that is ending. The choice of these is entirely subjective and obviously colored by my own experience, background, perceptions, and preferences... I now present the developments in software development that I consider most significant in 2013...

[01/01/2014]

JAX-RS 2.0 aka JSR 339 not also specifies the API to build up a RESTful webservice but also enhances the client side API to easen up the process of writing a client for a REST service. In the following tutorial we

[12/30/2013]

Java EE 7 includes the new JSR 344 (JSF 2.2) standard and provides developers with new features like Resource Library Contracts, HTML5 Friendly Markup, and Faces Flows. The Liferay Faces team is hard at work at providing 1st class support for JSF 2.2 in Liferay Faces 4.x including the following new portlet demos...

[12/28/2013]

Java 8 will go GA in March 2014. The first proposed final draft of Java 8 JSR 337 was released early this week. One of the main components of this JSR is Lambda Expressions for the language (JSR 337). This brings the functional constructs to the language, which will undeniably make Java a top contender among other functional peers (Scala, Groovy, Clojure) on the JVM for Java developers. Conciseness is only part of the story...

[12/25/2013]

All of the Java.next languages include functional programming constructs, which enable you to think at a higher level of abstraction. However, differences in terminology among the languages can make it difficult to see similar constructs. This installment shows how common functional programming constructs manifest in the Java.next languages, pointing out some subtle differences in the implementation details of those features...

[12/24/2013]

2013 was a year of Java releases, good news, less good news, and a community that just keeps on truckin'. Thanks for a great year! Release of Java EE 7: Java EE 7 was the result of industry-wide development involving open review, ongoing builds, and extensive collaboration between hundreds of engineers from more than 30 companies. Key features included better support for HTML5, websockets, JAX-RS 2.0, an update to JMS 2.0 and more. Java and the Internet of Things: From Forbes to Business Insider, everyone was waking up to the Internet of Things (IoT)...

[12/23/2013]

Let's set up NetBeans IDE 7.4 to use Python. Go to Tools | Plugins and the Plugin Manager opens. In the Settings tab of the Plugin Manager, add a new update center with this URL: http://bit.ly/1fzL5mF Then go to the "Available Plugins" tab of the Plugin Manager and you'll find Python...

[12/22/2013]

That is the agile lean goal, to deliver value at a constant pace with minimum manual intervention right? I have written before about continuously releasing snapshots but in reality what you want to make sure is that once something is tested it can be deployed and that can only be achieved if what you have tested and verified is a release. Here is how to use Maven and Jenkins to help the team with continuous releases of maven projects. The proposal here is...

[12/20/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

[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]

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

[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

[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

[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

[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]