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);
  }
Exemplo n.º 2
0
 /** @ejb.interface-method */
 public Collection getSomeBsDeclaredSQL() throws FinderException {
   return ejbSelectSomeBsDeclaredSQL((ALocal) ctx.getEJBLocalObject());
 }