Presented by developerWorks, your source for great tutorials
ibm.com/developerWorks
public void ejbActivate() {
}
public void ejbPassivate() {
}
public void ejbRemove() {
}
public void ejbCreate() {
}
public void setSessionContext(SessionContext sc) {
}
}
Create a remote interface in the same directory as follows:
package rickhightower.axis.ejb.tutorial;
public interface Hello extends javax.ejb.EJBObject {
public java.lang.String[] getGreetings()
throws java.rmi.RemoteException;
}
Create a home interface in the same directory as follows:
package rickhightower.axis.ejb.tutorial;
public interface HelloHome extends javax.ejb.EJBHome {
public Hello create()
throws javax.ejb.CreateException, java.rmi.RemoteException;
}
Create a deployment descriptor in the META INF directory as follows:
"http://java.sun.com/dtd/ejb jar_2_0.dtd">
Service enable EJB SessionBeans with the IBM ETTK
Page 7 of 33






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

servlet web hosting

 

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