コード例 #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);
  }
コード例 #2
0
ファイル: ABean.java プロジェクト: navssurtani/JBossAS51
 /** @ejb.interface-method */
 public Collection getSomeBsDeclaredSQL() throws FinderException {
   return ejbSelectSomeBsDeclaredSQL((ALocal) ctx.getEJBLocalObject());
 }