1 package test; 2 3 import javax.ejb.*; 4 5 10 public class TestingSessionBean implements SessionBean, TestingSessionRemoteBusiness, TestingSessionLocalBusiness { 11 private SessionContext context; 12 13 19 public void setSessionContext(SessionContext aContext) { 20 context = aContext; 21 } 22 23 26 public void ejbActivate() { 27 28 } 29 30 33 public void ejbPassivate() { 34 35 } 36 37 40 public void ejbRemove() { 41 42 } 43 45 49 public void ejbCreate() { 50 } 55 56 57 58 61 public String testBusinessMethod1() { 62 return null; 64 } 65 66 public String testBusinessMethod2(String a, int b) throws Exception { 67 return null; 69 } 70 71 72 73 } 74 | Popular Tags |