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.
Provision a Server (EC2) on AWS
This post demonstrates how to provision a service (EC2) on AWS.
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
JSF – Managed Bean Custom Validation Methods
This post demonstrates how to create customer validation methods in the same @ManagedBean class and use them accordingly.
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.