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