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 32 38 @Stateful 39 @Remote (ItfEjb2Client.class) 40 @EJB (beanName = "SimpleEjb2BeanDeployDescRemote", name = "ejb/SimpleEjb2DeployDesc", beanInterface = SimpleEjb2Home.class) 41 public class SFSBEjb2ClientDeployDesc extends Ejb2Client { 42 43 46 @EJB (beanName = "SimpleEjb2DeployDesc") 47 private SimpleEjb2Home beanHome; 48 49 53 @Override 54 public SimpleEjb2Home getBeanHome() { 55 return beanHome; 56 } 57 58 62 @Override 63 public String getBeanName() { 64 return "java:comp/env/ejb/SimpleEjb2DeployDesc"; 65 } 66 67 } 68 | Popular Tags |