一个简单的EJB实例.用DB2连接.JSP页面.很好用.供大家学习

源代码在线查看: itemlocalhome.java

软件大小: 2249 K
上传用户: face137
关键词: EJB DB2 JSP 连接
下载地址: 免注册下载 普通下载 VIP

相关代码

				package salesdb;
				/**
				 * Local Home interface for Enterprise Bean: Item
				 */
				public interface ItemLocalHome extends javax.ejb.EJBLocalHome {
					/**
					 * Creates an instance from a key for Entity Bean: Item
					 */
					public salesdb.ItemLocal create(java.lang.Long itemid)
						throws javax.ejb.CreateException;
					/**
					 * Finds an instance using a key for Entity Bean: Item
					 */
					public salesdb.ItemLocal findByPrimaryKey(salesdb.ItemKey primaryKey)
						throws javax.ejb.FinderException;
					/**
					 * Creates an instance from a key for Entity Bean: Item
					 */
					public salesdb.ItemLocal create(
						java.lang.Long itemid,
						java.lang.String name)
						throws javax.ejb.CreateException;
					public java.util.Collection findAll() throws javax.ejb.FinderException;
				}
							

相关资源