一个简单的EJB实例.用DB2连接.JSP页面.很好用.供大家学习
源代码在线查看: itembeaninternallocalhome_ff154d23.java
package salesdb.websphere_deploy; /** * Internal Local Home interface for Enterprise Bean: Item */ public interface ItemBeanInternalLocalHome_ff154d23 { /** * findItemfkByItemfkPurchaseInverseKey_Local */ public salesdb.ItemLocal findItemfkByItemfkPurchaseInverseKey_Local(salesdb.PurchaseKey key) throws javax.ejb.FinderException; /** * findByPrimaryKeyForCMR */ public salesdb.ItemLocal findByPrimaryKeyForCMR(salesdb.ItemKey key) throws javax.ejb.FinderException; }