How to read bean's nested property value?
In this example you'll see how to read bean's nested property, we'll use
PropertyUtils.getNestedProperty() method. Here we will create three classes,
Track class contains an
Artist class. Using the mentioned method we want to get the artist name that sing the track. Where reading nested property using
PropertyUtils.getNestedProperty() it can read nested level in no limit.