Programmatically Start A JSF Flow

1 minute read

There are situations where you can not start a JSF (2.2) flow in the usual way by simply redirecting to the flow’s start page from your button action.

Have a ReST Endpoint Catch All

less than 1 minute read

If you need a ReST endpoint which returns kind of a default page when a client accesses a unmapped path, you need an implementation like the one shown below.

Using Java Enumerations

2 minute read

This article shows a basic implementation of a Java enumeration type that you can use to do a switch on Strings for example.