1 19 20 package org.openejb.test.simple.slsb; 21 22 import javax.ejb.EJBException ; 23 import javax.ejb.SessionBean ; 24 import javax.ejb.SessionContext ; 25 26 31 public class SimpleStatelessSessionEJB implements SessionBean { 32 public SimpleStatelessSessionEJB() { 33 } 34 35 public String echo(String message) { 36 return message; 37 } 38 39 public void ejbCreate() throws javax.ejb.CreateException { 40 } 41 42 public void ejbActivate() throws EJBException { 43 } 44 45 public void ejbPassivate() throws EJBException { 46 } 47 48 public void ejbRemove() throws EJBException { 49 } 50 51 public void setSessionContext(SessionContext ctx) throws EJBException { 52 } 53 } 54 | Popular Tags |