Creating the instance of the bean using Beans.instantiate(..) and by using information provided by BeanInfo.
public class IntrospectorExample {
public static void main (String[] args) throws IntrospectionException, IOException, ClassNotFoundException, InvocationTargetException, IllegalAccessException {
//introspecting the details of a target bean BeanInfo beanInfo = Introspector.getBeanInfo(TheBean.class);
//creating an instance of the bean TheBean instance = (TheBean) Beans.instantiate( IntrospectorExample.class.getClassLoader(), beanInfo.getBeanDescriptor() .getBeanClass() .getName());
System.out.println("The instance created : " + instance);