Example #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);
  }
Example #2
0
 public CommonRemote testPassByRef7() {
   return (CommonRemote) ec_.getEJBObject();
 }