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

源代码在线查看: ejsstatelesssalesfacadehomebean_08ce4a61.java

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

相关代码

				package com.xyz.ejb;								import com.ibm.ejs.container.*;								/**				 * EJSStatelessSalesFacadeHomeBean_08ce4a61				 */				public class EJSStatelessSalesFacadeHomeBean_08ce4a61 extends EJSHome {					/**					 * EJSStatelessSalesFacadeHomeBean_08ce4a61					 */					public EJSStatelessSalesFacadeHomeBean_08ce4a61() throws java.rmi.RemoteException {						super();	}					/**					 * create					 */					public com.xyz.ejb.SalesFacade create() throws javax.ejb.CreateException, java.rmi.RemoteException {				BeanO beanO = null;				com.xyz.ejb.SalesFacade result = null;				boolean createFailed = false;				try {					result = (com.xyz.ejb.SalesFacade) super.createWrapper(new BeanId(this, null));				}				catch (javax.ejb.CreateException ex) {					createFailed = true;					throw ex;				} catch (java.rmi.RemoteException ex) {					createFailed = true;					throw ex;				} catch (Throwable ex) {					createFailed = true;					throw new CreateFailureException(ex);				} finally {					if (createFailed) {						super.createFailure(beanO);					}				}				return result;	}				}							

相关资源