[jboss-user] [EJB 3.0] - @Ejb and remote ejb references

bizimalem do-not-reply at jboss.com
Thu Sep 28 05:54:15 EDT 2006


Hi,
how can I use dependency injection for remote ejbs residing on other machines?

Example:

@Stateless(name="CustomerFacadeClient")
@SecurityDomain("united-erp")
@Name("CustomerFacadeClient")
public class CustomerFacadeClientImpl implements CustomerFacadeClient
{
	
	
	/**
	 * CustomerManagerFacade facade
	 */
	@EJB
	private  CustomerManagerFacade facade;


CustomerManagerFacade is a stateless session bean and is deployed on an other host. Is that possible to inject facade with a remote ejb reference?

thanks.




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974815#3974815

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974815



More information about the jboss-user mailing list