Exemplo n.º 1
0
  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);
  }