






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







public class BClassEJB implements EntityBean { public String className, pName; private Connection con; private EntityContext context;
public void setClass(String className) {……} public void setProf(String pName) {……} public String getClasses(){……} public String getProf(){……}
public String ejbCreate(String className)throws CreateException {} public void ejbPostCreate(String className, String pName) {} public void ejbLoad(){……} public void ejbRemove(){……} public void unsetEntityContext() {……} public void setEntityContext(EntityContext context) {……} public void ejbActivate(){……} public void ejbPassivate(){……} public void ejbStore(){……}
public String ejbFindByPrimaryKey(String primaryKey) throws FinderException {……}
public Collection ejbFindByProfessor(String pName) throws FinderException {……}
/**************** Database Routines ********************/ private void makeConnection() throws SQLException {……} … … /*******************************************************/