wildfly/wildfly — pull request #4622 by jaikiran (2013-06-12 11:11:27+00:00)
Title: WFLY-507 More EJB 3.2 support

The commit here adds support to the new relaxed requirement in EJB 3.2 spec which allows more than one interface to be considered as remote/local business view if the bean implementation class is annotated with an empty @Remote/@Local annotation.

For example:

public interface One {

}

public interface Two {

}

@Stateless
@Remote
public class BeanImpl implement One, Two {

}

Starting EJB 3.2 version, both One and Two will be considered as the remote business interfaces of the stateless bean.

The commit also includes tests to verify this behaviour.