Switching Application Required System Properties According to Deployment Environment

Any serious application depends on a number of configuration properties, such as JDBC connection properties, caching properties etc. They should change according to target deployment environment. People employ different methods to take those properties outside their web applications. Among them, one commonly used method is to create a properties file and collect any property, whose […]

Customizing JSF Required Field Messages per Component Instance

JSF is nice that it provides some useful built-in features to validate entered values or if provided any required one, but it fails at providing enough mechanism to let developers customize those features at the level of each component instance. This is a common drawback of JSF specification in general. We specify that user input […]