The Daily Bugs

A web developer's daily life

Tag / Core Java

September 28, 2013

Handling Java Generic Types with Reflection

When declaring a class or an interface as being parameterizable, or when a subclass extends that parameterizable class, we come into cases where we need to access the information of those generic parameters, this is where Java Reflection comes in handy. This tutorial will introduce ReflectionUtil, a utility class that uses java.lang.reflect standard library. It …

Read More
August 29, 2011

Java Localization with PropertyResourceBundle

A tutorial about PropertyResourceBundle object and .properties files; how to create them, load their values, use them in business logic code, or JSF view page. This tutorial will try to gather all the uses in one place.

Read More