This post demonstrates how to check if user is logged in before the page is displayed to the user.
Tomcat 8 and Java EE CDI
This post demonstrates how Dependency Injection works with Java EE CDI and Tomcat 8.We’ll display some text from a bean injected into our Servlet via CDI.
Send test emails with Amazon Simple Notification Service
This post shows how to configure a Topic and manually send test emails using Amazon Simple Notification Service from the AWS Console.
JSF – Data Table Example
This post shows a sample usage of JSF Data Table to construct a basic HTML on a page. You can download the source codes from the GitHub link provided at the very bottom of this page.
Install Java 9 in Ubuntu
This post demonstrates how to install Java 9 on Ubuntu Trusty 64.
Inheritance and Delegation Design Pattern Examples in Java
This post shows 2 sets of rather equivalent of Java source code files. One uses inheritance that enable child classes to inherit properties and methods from their parent classes. Another set uses the Delegation Design Pattern.
JSF – selectOneMenu example
This post shows sample codes that uses JSF html:selectOneMenu.
JSF – selectOneRadio example
This post shows sample codes that uses JSF html:selectOneRadio.
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 – Basic Form Validation for Required Fields
[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