ibm.com/developerWorks
Presented by developerWorks, your source for great tutorials
public void ejbPassivate() {
userHome = null;
}
public void ejbRemove() {}
public void setSessionContext(SessionContext sc) {}
private LocalUserHome getUserHome() throws NamingException {
Context initial = new InitialContext();
return (LocalUserHome) initial.lookup("java:comp/env/ejb/LocalUser");
}
}
Page 28 of 48
Introducing EJB CMP/CMR, Part 1 of 2
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved