First page Back Continue Last page Graphics
...Continuation of Notes
Notes:
//================================================
// Methods required by SessionBean interface
//================================================
public void ejbPassivate() throws EJBException {
try {
disconnect();
}
catch(IOException ie) {
throw new EJBException(ie);
}
}
public void ejbActivate throws EJBException {
try {
connect(_strIPAddr, _iPort);
}
catch(IOException ie) {
throw new EJBException(ie);
}
}
// Rest of class...
} // End of LegacyAppSessionBean class