1 25 package org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.basic; 26 27 import javax.ejb.EJB ; 28 import javax.ejb.Remote ; 29 import javax.ejb.Stateless ; 30 31 import org.objectweb.easybeans.tests.common.ejbs.base.ItfSimplePrintMessage; 32 33 39 @Stateless 40 @Remote 41 public class SLSBSessionBeanTester01 implements ItfSessionBeanTester01 { 42 43 46 @EJB (beanName = "SLSBDeployTest01") 47 private ItfSimplePrintMessage slsbBeanRemote; 48 49 52 @EJB (beanName = "SFSBDeployTest01") 53 private ItfSimplePrintMessage sfsbBeanRemote; 54 55 58 @EJB (beanName = "SLSBDeployTest02") 59 private ItfSimplePrintMessage slsbBeanLocal; 60 61 64 @EJB (beanName = "SFSBDeployTest02") 65 private ItfSimplePrintMessage sfsbBeanLocal; 66 67 71 public void testSLLocal(){ 72 slsbBeanLocal.getMessage(); 73 } 74 75 79 public void testSFLocal(){ 80 sfsbBeanLocal.getMessage(); 81 } 82 83 87 public void testSLRemote(){ 88 slsbBeanRemote.getMessage(); 89 } 90 91 95 public void testSFRemote(){ 96 sfsbBeanRemote.getMessage(); 97 } 98 99 } 100 | Popular Tags |