JBoss Community

Re: client lookup EJB method in JBoss AS 7.0,but return **$$$view1

created by hay xiong in JNDI and Naming - View the full discussion

maybe you can try it as follows:

public interface LocalStore extends  Store {}

public interface RemoteStore extends  Store {}

 

@Startup
@Singleton
@Local(LocalStore.class )

@Remote(RemoteStore.class)
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
@Transactional(TransactionPropagation.SUPPORTS)
public class StoreFront implements LocalStore,Remote{}

 

remote jndi is a bug in jboss as 7 at current

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community