Using Factories in RMI
- In the Factory pattern [GoF]
one class, which is usually a Singleton, is used to create
instances of another class (or classes).
- It is often used to create different subclasses of a
particular class, or different implementations of a particular
interface (as the URL class does in Java).
José M. Vidal
.
10 of 22