本书介绍java语言基本语法的同时,结合实际给出了大量的实例

源代码在线查看: contact1bean.java~9~

软件大小: 2102 K
上传用户: zjf646
关键词: java 语言
下载地址: 免注册下载 普通下载 VIP

相关代码

				package bmpbean;								import javax.ejb.*;								public class Contact1Bean implements EntityBean {				  EntityContext entityContext;				  java.lang.String first;				  java.lang.String last;				  java.lang.String email;				  public java.lang.String ejbCreate(java.lang.String last) throws CreateException {				    /**@todo Complete this method*/				    setLast(last);				    return null;				  }				  public void ejbPostCreate(java.lang.String last) throws CreateException {				    /**@todo Complete this method*/				  }				  public void ejbRemove() throws RemoveException {				    /**@todo Complete this method*/				  }				  public void ejbLoad() {				    /**@todo Complete this method*/				  }				  public void ejbStore() {				    /**@todo Complete this method*/				  }				  public void ejbActivate() {				  }				  public void ejbPassivate() {				  }				  public void unsetEntityContext() {				    this.entityContext = null;				  }				  public void setEntityContext(EntityContext entityContext) {				    this.entityContext = entityContext;				  }				  public void setFirst(java.lang.String first) {				    this.first = first;				  }				  public void setLast(java.lang.String last) {				    this.last = last;				  }				  public void setEmail(java.lang.String email) {				    this.email = email;				  }				  public java.lang.String getFirst() {				    return first;				  }				  public java.lang.String getLast() {				    return last;				  }				  public java.lang.String getEmail() {				    return email;				  }				  public java.lang.String ejbFindByPrimaryKey(java.lang.String last) throws FinderException {				    /**@todo Complete this method*/				    return null;				  }				}			

相关资源