一个简单的EJB实例.用DB2连接.JSP页面.很好用.供大家学习
源代码在线查看: locationbeancacheentry_176caeeb.java
package salesdb.websphere_deploy; /** * Cache Entry interface for Enterprise Bean: Location */ public interface LocationBeanCacheEntry_176caeeb extends java.io.Serializable { /** * getCity */ public java.lang.String getCity(); /** * setCity */ public void setCity(java.lang.String newCity); /** * getState */ public java.lang.String getState(); /** * setState */ public void setState(java.lang.String newState); /** * getZipcode */ public java.lang.String getZipcode(); /** * setZipcode */ public void setZipcode(java.lang.String newZipcode); /** * getAreacode */ public java.lang.String getAreacode(); /** * setAreacode */ public void setAreacode(java.lang.String newAreacode); }