What are Functional Interfaces and Functional Descriptor?

java-thumbnail

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. also read: Java 8.0 Tutorials Java 7.0 Tutorials New Features in Java 7.0 G1 Garbage Collector in […]

Use of Virtual Extension methods in the Java 8 APIs

java-thumbnail

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. also read: Java 8.0 Tutorials Java 7.0 Tutorials New Features in Java 7.0 G1 Garbage Collector in Java 7.0 As […]

Resolution of the invocation of Virtual Extension Methods in Java 8

java-thumbnail

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. also read: Java 8.0 Tutorials Java 7.0 Tutorials New Features in Java 7.0 G1 Garbage Collector […]

Virtual Extension Methods(or Defender Methods) in Java 8

java-thumbnail

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. also read: Java 8.0 Tutorials […]

Using Lambda Expressions of Java 8 in Java FX event handlers

java-thumbnail

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. also read: Java 8.0 Tutorials Java 7.0 […]

Developing a Simple Todo Application using JavaFX, Java and MongoDB- Part-3

javafx-thumbnail

In the previous post we created the UI for adding a new Todo where in we used a Tab, TabPane and added the required controls- TextField and a Button to the Tab. also read: Java FX Tutorials Developing a Simple Todo Application using JavaFX, Java and MongoDB Using JavaFX Chart API to add charts to […]

Developing a Simple Todo Application using JavaFX, Java and MongoDB- Part-2

javafx-thumbnail

In my previous post: I setup the objective of our sample application and named it as TodoFX (I know lot of you would have missed the naming part, lack of creativity in naming drives me create portmanteau of technology and usage of app) Created the back end for our sample application, in the process we […]

Developing a Simple Todo Application using JavaFX, Java and MongoDB- Part-1

javafx-thumbnail

Over a series of 2 posts or so, I would try and show how to develop a simple Todo Desktop application using JavaFX as the Frontend, and the well known NoSQL database MongoDB as the Backend and using Java as the glue between both of them. The main aim of developing this application is to […]

Implementing RESTful API for obtaining the book details for an ISBN

java-ee-thumbnail

Lot of developers out there at some point in time would want to know about an API to get the book details and I was in such a situation sometime back and I managed to find out about ISBNDb. But when I looked for the apis sometime later, I landed here where there are 53 APIs […]

Using JavaFX Chart API to add charts to Swing applications

javafx-thumbnail

In our previous post we looked at how we can embed JavaFX components into Swing applications. As Java Swing lacks Charting API, we can make use of the JavaFX Chart API and not depend on other 3rd party libraries like JFreeChart and others. The javafx.scene.chart is the package which contains all the charting related classes. […]