Instantiates a Bean from either a class or a serialized template, using the java.beans.Beans.instantiate method, and gives the Bean the type specified in type. The Beans.instantiate method checks whether a name represents a class or a serialized template. If the Bean is serialized, Beans.instantiate reads the serialized form (with a name like package.class.ser) using a class loader. For more information, see the JavaBeans API Specification.
The value of beanName is either a package and class name or an Expression that evaluates to a package and class name, and is passed to Beans.instantiate. The value of type can be the same as beanName, a superclass of beanName, or an interface implemented by beanName.
The package and class names you use with both beanName and type are case sensitive
Being defeated is often a temporary condition. Giving up is what makes it permanent.
Joined: Apr 22, 2006
Thank you Fuzail. It really helped me. Can someone has an idea about the ".ser" extention.