// Application LCO public class Application extends GenericBean { } // Session LCO public class Session extends Application { public Car getCar() { Car car = (Car)get("car"); if (car == null) { car = new Car(); put("car", car); } return car; } }