public void ejbStore() { System.out.print("ItemBean ejbStore"); ItemLocal item = (ItemLocal) context.getEJBLocalObject(); System.out.println("Item price less than $100 : " + item.getId()); System.out.println("Modifying its price to $200..."); item.modifyPrice(200.00); }
/** @ejb.interface-method */ public Collection getSomeBsDeclaredSQL() throws FinderException { return ejbSelectSomeBsDeclaredSQL((ALocal) ctx.getEJBLocalObject()); }