Skip to content

Andy Gibson

Open Source Projects & Technical Writings

  • About
  • Projects
    • Knappsack Archetypes
    • Take control of your data with DataValve
  • Contact Me

Category: Programming

JSF Page Templates With Facelets

Andy Gibson Programming

Templating is a very powerful feature for developing web applications with many pages that follow the same layout and design. This article demonstrates how to use facelets to create reusable templates for JSF pages.

Continue Reading...

Comparing Constants Safely

Andy Gibson Programming, QuickBytes 1 Comment on Comparing Constants Safely

When comparing two objects, the equals method is used to return true if they are identical. Typically, this leads to the following code : The problem here is that whether intended or not, it is quite possible that the name value is null, in which case a null pointer exception would be thrown. A better […]

Continue Reading...

Immutability Through Interfaces

Andy Gibson Programming 2 Comments on Immutability Through Interfaces

It is often desirable to have immutable objects, objects that cannot be modified once constructed. Typically, an immutable object has fields that are declared as final and are set in the object constructor. There are getters for the fields, but no setters since the values cannot be saved. Once created, the object state doesn’t change […]

Continue Reading...

Posts navigation

Newer posts

About

Personal Photo
Location : Manchester, UK
Contact Me

I've been developing software for over 20 years, mostly in Java. This site is a home for my open source projects, writings, articles and tutorials mainly focusing on Java and Java EE from a real world perspective.

twitter rss LinkedIn

Tags

Apprentice Archetypes Arquillian Articles Beginner Blog CDI Conversation Cpp DataValve Delphi Design Eclipse EJB Facelets Food Frameworks Games Geek Glassfish Graphics Java Java EE JBoss JEE Journeyman JPA JSF JTexgen Knappsack Maven Microsoft Modeling Movies Netbeans Open Source Personal Podcast Programming Project Kenai Seam Spigot Spring Weld Wicket

Recent Posts

  • Creating a simple OSGI Bundle By Hand
  • Inherited Jackson Serializers
  • Introduction to Jackson Serializers
  • Why C++ ?
  • Simple C++ Project Setup With CMake
  • Procedural Terrain Update
  • Procedural Terrain With Java – part 2
  • Procedural Terrain With Java – part 1
  • New Look Java Magazine
  • Optionals

Archives

  • Facebook
  • Twitter
  • Instagram
  • Linkedin

Proudly powered by WordPress | Theme: blog-bank by wpthemespace.com