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

源代码在线查看: c0881ece6618001b14b09a0b168831b9

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

相关代码

				package com.xyz.ejb;
				import com.xyz.data.LocationVO;
				import com.xyz.data.ItemVO;
				/**
				 * Remote interface for Enterprise Bean: SalesFacade
				 */
				public interface SalesFacade extends javax.ejb.EJBObject {
					
					public String echo(String s) throws java.rmi.RemoteException;
					/**
					 * Return array of Item data objects
					 * @return com.xyz.data.LocationVO[], an array of all locations
					 */
					public ItemVO[] getAllItems() throws java.rmi.RemoteException;
					/** 
					* Create Purchase objects from list of items for a 
					* given Zip Code
					* @return boolean, true if and only if successful
					*/
					public boolean makePurchase(String zipCode, Long[] items)
						throws java.rmi.RemoteException;
				
				
				}
							

相关资源