FileDocCategorySizeDatePackage
BasicFactoryLauncher.javaAPI DocExample706Thu Nov 08 00:23:08 GMT 2001com.ora.rmibook.chapter17.basic.factory.applications

BasicFactoryLauncher

public class BasicFactoryLauncher extends Object implements Constants

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        try {
            BasicAccountFactory_Impl factory = new BasicAccountFactory_Impl();

            Naming.rebind(ACCOUNT_FACTORY_NAME, factory);
            System.out.println("Factory successfully launched.");
        } catch (Exception e) {
            System.out.println(e);
        }