一个简单的EJB实例.用DB2连接.JSP页面.很好用.供大家学习
源代码在线查看: locationbeancacheentryimpl_176caeeb.java
package salesdb.websphere_deploy.DB2UDBNT_V8_1; /** * LocationBeanCacheEntryImpl_176caeeb */ public class LocationBeanCacheEntryImpl_176caeeb extends com.ibm.ws.ejbpersistence.cache.DataCacheEntry implements salesdb.websphere_deploy.LocationBeanCacheEntry_176caeeb { /** * getCity */ public java.lang.String getCity() { return CITY_Data; } /** * setCity */ public void setCity(String data) { this.CITY_Data=data; } /** * setDataForCITY */ public void setDataForCITY(String data) { this.CITY_Data=data; } private String CITY_Data; /** * getState */ public java.lang.String getState() { return STATE_Data; } /** * setState */ public void setState(String data) { this.STATE_Data=data; } /** * setDataForSTATE */ public void setDataForSTATE(String data) { this.STATE_Data=data; } private String STATE_Data; /** * getZipcode */ public java.lang.String getZipcode() { return ZIPCODE_Data; } /** * setZipcode */ public void setZipcode(String data) { this.ZIPCODE_Data=data; } /** * setDataForZIPCODE */ public void setDataForZIPCODE(String data) { this.ZIPCODE_Data=data; } private String ZIPCODE_Data; /** * getAreacode */ public java.lang.String getAreacode() { return AREACODE_Data; } /** * setAreacode */ public void setAreacode(String data) { this.AREACODE_Data=data; } /** * setDataForAREACODE */ public void setDataForAREACODE(String data) { this.AREACODE_Data=data; } private String AREACODE_Data; }