/* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ /** * * @author Kabir Khan * @version $Revision: 1.1 $ */ public class Driver { public static void main(String[] args) { System.out.println("---- Start ----"); Driver driver = new Driver(); driver.createVehicles(); } public void createVehicles() { CarDAO car = new CarDAO("CAR 123"); car.save(); MotorbikeDAO mb = new MotorbikeDAO("MB 456"); mb.save(); } public void method() { } }