Java Quiz Player


Java PropertyChangeListener as an Observer

Apr 3, 2019

This article shows the usage of PropertyChangeListener as an Observer using a Swing example. This can be used in place of the java.util.Observer and Observable (deprecated in Java 9).

An Example of Java 8's Functional Style Programming

Nov 10, 2017

This article is an example of Java 8's functional style programming compared to pre Java 8 code. The code is run from Java 9's JShell REPL tool. There is also code of this example using a real functional programming language.

Servlet updates JSF Page using Server Push

Dec 28, 2016

This article is about updating components on a JSF (JavaServer Faces) page from a Servlet using the server push technology. The example uses JSF 2.2 and OmniFaces utility library's server push API.