Lambda expressions in Java 8 adopts C# style syntax

Almost a year later since publishing the original Lambda proposal, JSR 335 EG has finally decided to adopt C# style syntax for Java 8 Lambda expressions. Brian has outlined the formal model for the new C# style syntax in his mail to lambda-dev: lambda = ArgList Arrow Body ArgList = Identifier | "(" Identifier [ … Continue reading Lambda expressions in Java 8 adopts C# style syntax

Automate SSH secured file transfers in your Flux workflow

Automated SCP file transfers can be orchestrated in your Flux workflow using SCPAction. This action supports file uploads or downloads using SCP. SCP is basically a remote copy (rcp) through a SSH tunnel. It is easy to setup key-based SSH login for your systems, here is one article describing the steps for Mac. You could … Continue reading Automate SSH secured file transfers in your Flux workflow

Project Kotlin, a new JVM language to rescue Java developers?

Last week, JetBrains announced their new statically typed language Kotlin at the JVM Language Summit. Kotlin joins the elite group of statically typed languages : Scala, Gosu, Ceylon, Fantom, targeted to run on the JVM. Scala is the most mature in this statically typed landscape. Fantom supports static and dynamic typing, so it may not … Continue reading Project Kotlin, a new JVM language to rescue Java developers?

Simple Http File Transfer Action in Flux

One of our customer was interested in performing a basic HTTP file transfer function using Flux APIs. I implemented a trivial HTTP file transfer Action in Flux plugins project. Here is a sample test case that shows how this action could be integrated within a Flux workflow. https://bitbucket.org/aruld/flux-plugins/src/99d3ea6bdd5e/http-filetransfer-action/src/test/java/test/HttpFileTransferActionTest.java?embed=t Maven users could just drop this dependency … Continue reading Simple Http File Transfer Action in Flux

Installing JDK 5 alongside with JDK 6 on Mac OS X Snow Leopard 10.6.6

Note: If you planning to co-locate JDK 5 alongside JDK 6 on Mac OS X Lion 10.7, refer this post. It worked like a charm on the recent 10.7.3 I recently installed Java for Mac OS X 10.6 Update 4 from Mac Software Update. This update basically installs 1.6.0_24 that contains fixes for security vulnerabilities … Continue reading Installing JDK 5 alongside with JDK 6 on Mac OS X Snow Leopard 10.6.6

Annotation type to reduce varargs warnings available in b123, Java 7 Coin minting done?

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