1 25 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.ejb2view; 26 27 import javax.ejb.EJB ; 28 import javax.ejb.Remote ; 29 import javax.ejb.Stateful ; 30 31 37 @Stateful 38 @Remote (ItfEjb2LocalClient.class) 39 @EJB (beanName = "SimpleEjb2BeanDeployDescRemote", name = "ejb/SimpleEjb2DeployDescLocal", 40 beanInterface = SimpleEjb2LocalHome.class) 41 public class SFSBEjb2LocalClientDeployDesc extends Ejb2LocalClient { 42 43 46 @EJB (beanName = "SimpleEjb2DeployDesc") 47 private SimpleEjb2LocalHome beanHome; 48 49 53 @Override 54 public SimpleEjb2LocalHome getBeanHome() { 55 return beanHome; 56 } 57 58 62 @Override 63 public String getBeanName() { 64 return "java:comp/env/ejb/SimpleEjb2DeployDescLocal"; 65 } 66 67 } 68 | Popular Tags |