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 SLSBSessionBeanTester02 implements ItfSessionBeanTester01 { 42 43 46 @EJB (beanName = "SLSBDeployTest03") 47 private ItfSimplePrintMessage slsbBeanRemote; 48 49 52 @EJB (beanName = "SFSBDeployTest03") 53 private ItfSimplePrintMessage sfsbBeanRemote; 54 55 58 @EJB (beanName = "SLSBDeployTest04") 59 private ItfSimplePrintMessage slsbBeanLocal; 60 61 64 @EJB (beanName = "SFSBDeployTest04") 65 private ItfSimplePrintMessage sfsbBeanLocal; 66 67 72 public void testSLLocal(){ 73 slsbBeanLocal.getMessage(); 74 } 75 76 81 public void testSFLocal(){ 82 sfsbBeanLocal.getMessage(); 83 } 84 85 90 public void testSLRemote(){ 91 slsbBeanRemote.getMessage(); 92 } 93 94 99 public void testSFRemote(){ 100 sfsbBeanRemote.getMessage(); 101 } 102 103 } 104 | Popular Tags |