New EJB 4.x client needs to work with jboss-ejb-client.properties EJB client configuration out of the box.
At this moment, Clustered affinity needs to be set manually in order to make failover working.
Link to test case:
Link to jenkins job results:
Customers migrating from EAP 7.0 who are using legacy-style EJB client configuration in a clustered environment will have to either switch to the legacy client library (which we generally discourage) or apply a workaround requiring changes in the application code. These changes also mean bringing compile-time dependency on JBoss-specific classes which might be an issue for customers who can't or don't want to introduce this.