OpenShift is a Platform As A Service (Paas) offering from Red Hat joining the likes of Heroku, GAE, Jelastic and others. OpenShift supports Java EE, PHP, Node.js, Ruby, Python and Perl applications. I tried out deploying a simple Java EE application based on ZK Framework, interested people can have a look at the application running [...]
Archive | May, 2012
Annotation Based Bean Wiring @Autowired in Spring framework
May 27, 2012
Since Spring 2.5, one of the most interesting ways of wiring beans in Spring has been to use annotations to automatically wire bean properties. Auto wiring with annotations isn’t much different than using the autowire attribute in XML. But it does allow for more fine-grained auto wiring, where you can selectively annotate certain properties for [...]
Enhanced Collections API in Java 8- Supports Lambda expressions
May 26, 2012
Continuing with our exploration of JSR-335 lets look at some of the enhancements to the collections API as part of the Project Lambda effort. A new feature in the language and not supported by the existing API is just not what the programmers would want. And this is what Brian Goetz and his team working [...]
A sneak peak at the Lambda Expressions in Java 8
May 21, 2012
Mike Duigou announced here that the Iteration 1 of Lambda Libraries is complete which includes support for defender methods, enhancement of the collection apis among other changes. Before proceeding further its good to read about Functional Interfaces and Defender Methods to some extent. Lets dive into an example, consider sorting of Person objects where each [...]
What’s new in Spring 3.0?
May 21, 2012
Before we talk about the Spring 3.0 features, it is quite reasonable to walk through a list of features introduced in the Spring 2.5 release. Looking into the Spring 2.5 features would help you to understand the new features in the Spring 3.0 release. In November 2007, the Spring team released version 2.5 of the [...]
What are Functional Interfaces and Functional Descriptor?
May 20, 2012
There is no Java developer who is not familiar with these Interfaces which contain only one method. If you are not familiar, no worries I will in the course of this article throw some light on such interfaces. Those who have created GUI applications using Swing/AWT would be familiar with ActionListener interface, those working on [...]
Use of Virtual Extension methods in the Java 8 APIs
May 18, 2012
In wrote a bit about Virtual extension methods here and here. I thought of going over this implementation in the JDK, so that it will give us an idea of how these can be applied. As I told earlier, the main intention of adding the virtual extension methods was to provide an option to extend [...]
Resolution of the invocation of Virtual Extension Methods in Java 8
May 17, 2012
There is a list of method resolution approach for virtual extension methods explained here. One of the interesting ones is when a class implements multiple interfaces and say 2 of the interfaces have same method signature but different implementations. But before that, lets look at a case where the class implements an interface, say I1 [...]
Virtual Extension Methods(or Defender Methods) in Java 8
May 16, 2012
As part of the JSR-335 (Project Lambda) which adds closure support to Java language, there were quite a few changes in the language to support the use of closures in the existing Java APIs (Collection APIs to a large extent). One such change is the introduction of Virtual Extension Methods. We all are aware of [...]
Using Lambda Expressions of Java 8 in Java FX event handlers
May 14, 2012
Note: The Project Lambda (JSR-335) to be added in Java 8 is evolving and the sample here is how one can use Lambdas with the current Java8 build downloaded from here. I will try to update the sample if there are any changes in the API in future. I thought it will be good to [...]






May 29, 2012
4 Comments