The improved varargs warnings, part of the Coin proposal finally made into the latest JDK 7 build. I believe build 123 is special as this milestone marks the completion of all the planned JSR 334 features (the head side of the Coin) scheduled for implementation in Java SE 7. So, Coin minting done? I think … Continue reading Annotation type to reduce varargs warnings available in b123, Java 7 Coin minting done?
Flux Plugins for Twitter and RabbitMQ, enabling smarter integration for your workflows
Recently I started developing some custom Flux plugins I wanted to share with Flux users. It is always fun to develop custom plugins and use them within a Flux workflow. Our users are more used to the concept of custom actions and triggers. I believe plugin is a more generic and widely used terminology these … Continue reading Flux Plugins for Twitter and RabbitMQ, enabling smarter integration for your workflows
Parallel Looping Constructs in Java: Lambda expressions to the rescue?
Last November, Mark Reinhold announced that Closures will be added to the Java language and six months later we had an initial prototype based on the Straw-Man proposal and last month's update was considered a significant progress for the language in years. As mentioned in Mark's post, "Working with parallel arrays in Java, unfortunately, requires … Continue reading Parallel Looping Constructs in Java: Lambda expressions to the rescue?
Aggregate operations, the Lambda Goodness in Java
One of the primary uses of Lambda expressions is to implement aggregate operations that can often be parallelized using multi-core processors we have today. The computation over bulk data structures is an area where Lambda expressions provide much needed support where part of the computation is caller defined. Doug Lea's JSR166y Concurrency interest group exactly … Continue reading Aggregate operations, the Lambda Goodness in Java
Lambdas in Java, Plan B in action
Recently, Brian Goetz published modified draft of the Lambda proposal. This draft is mature in terms of the direction where Lambda is heading for in the Java world and introduces some breaking changes from earlier draft to align with this direction. While there are few things that need to be sorted out, this draft is … Continue reading Lambdas in Java, Plan B in action
Sakila Restful Search using CXF FIQL
There are two features that are very cool in the recent CXF 2.3 release that deserves its mention in the release notes/features document as they prove to be quite useful and powerful in certain use cases. Advanced search capabilities and Atom Logging features make CXF a compelling choice for developers looking for this support in … Continue reading Sakila Restful Search using CXF FIQL
Rest of Project Coin explored, advantage Java 7
Project Coin includes the following proposals that will make into Java 7. - Binary literals and underscores in literals - Strings in switch - Simplified Varargs Method Invocation - Improved Type Inference for Generic Instance Creation (Diamond) - Improved Exception Handling for Java - try-with-resources (ARM) I have briefly touched upon try-with-resources construct in my … Continue reading Rest of Project Coin explored, advantage Java 7
Handling Flux Database outages using BoneCP Connection Pool
In Flux, we have made improvements in recent versions to handle database or network failures and recover from such failures gracefully without needing to restart Flux. Sometimes, it would be nice to notify administrators about these failures and they can act upon them in case of an unscheduled outage. Flux is dependent on the database … Continue reading Handling Flux Database outages using BoneCP Connection Pool
Introducing Try With Resources, can project Coin become crown jewel of Java 7?
Try-with-resources (originally known as Automatic Resource Management) is one of the Project Coin proposals that made its way into recent JDK 7 builds. Traditionally, developers had to manually terminate any resources (Files, Database connections, etc) they use in their applications and sometimes it was painful to keep track of those things and failing to do … Continue reading Introducing Try With Resources, can project Coin become crown jewel of Java 7?
Flux 7.10 Beta is here and 100 seconds teaser of the new opsconsole
A video is worth 10000 words! Download today and experience it yourself. Enjoy!