Abstract:The dynamic loading of Java classes at runtime, especially the reflection mechanism, and some correlative design patterns, such as, factory method and prototype pattern are introduced with the application of dynamic loading technology in design pattern. A reusable program to solve dynamic loading of Java classes is given.