[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
Java 9 Stream filter, takeWhile, dropWhile methods
This post demonstrates how to use the new methods – takeWhile and dropWhile – of the Stream interface in Java 9 Jigsaw. We’ll touch briefly on Stream.filter(Predicate p) just to get comfortable before trying out the new methods.
How to write XML in Kotin using DOM
This post demonstrates how to write XML files using DOM in Java.
Change Java Language Level in IntelliJ IDEA
This post shows how to change Java Language Level in IntelliJ IDEA .
Autowire beans to a List in Spring using Java
This post is about how to auto-wire a set of beans to a list in Spring. Essentially, we need to add @bean’s to an list.
Vagrant – Access Apache2 Web Server on virtual machine from host
This post shows how to configure vagrant to allow access to Apache2 web server (URL to Apache Ubuntu Default Page) running in virtual machine from the host system.
Access environment variable in Node.js
This short post shows how to access environment variables in Node.js.
Clone Objects in Java with Generics using Apache Commons Lang ObjectUtils
This post demonstrates how to clone objects in Java with Generics using Apache Commons Lang ObjectUtils. ObjectUtils [wp_ad_camp_1] ObjectUtils is utility class from Apache Foundation that can be used to clone objects in Java. It is part of a distributable
PhoneGap – Build as Android App Online
This post demonstrates how to build online a PhoneGap project as an Android app. This uses an existing project created from a previous post PhoneGap – HelloWorld Example via PhoneGap CLI
Java – 3 ways to implement a Generic Interface
A Generic Interface is an interface that makes use of formal type parameters. It uses Generics. There are 3 ways to implement a Generic Interface.