[wp_ad_camp_5] This post demonstrates how to perform validation on required fields in JSF. Requirements Stuff used in this post. JSF 2.2 javax.faces-2.2.8.jar JDK 8 JSF Managed Bean This is our managed bean is a Java class annotated with @ManagedBean. The
JSF – selectManyCheckbox example
This post shows sample codes that uses JSF html:selectManyCheckbox that allows users to select one or more items before submitting the form or page.
JSF – selectOneRadio example
This post shows sample codes that uses JSF html:selectOneRadio.
JSF – selectOneMenu example
This post shows sample codes that uses JSF html:selectOneMenu.
Lombok @Builder To Use The Builder Design Pattern in Groovy
We can use the Builder annotation from Lombok to use the Builder Design Pattern in our Groovy codes. This post shows how to use the Lombok Builder annotation in Groovy. Hence, we need to depend on the Lombok library via
Groovy – @Sortable example
Groovy @Sortable is something similar to Java’s Comparable interface.
Groovy – @Singleton example
This post shows a simple example of Groovy class that uses the @Singleton annot
Run Groovy Without Installing On Windows
This post demonstrates how to temporarily configure Groovy to run on Windows. This is useful when we are unable to add or modify environment variables in Windows due to restrictions.
Immutable Objects Using Annotation In Groovy
In Groovy, it is possible to create an immutable using the groovy.transform.Immutable annotation. One possible use-case for this is when we want to create a object (with data initialized through the class constructor) that is passed to another application layer (e.g., service) but we don’t want that object modified in that layer.
Java – Read Jar file Manifest
This post demonstrates how to create the Jar file manifest.