jboss-eap-7.1 | Classes missing in jboss-client.jar file

Posted on

I have downloaded jboss7.1 EAP and started migrating application from EAP6.4.
I observed that two classes are missing from jboss-client-xxx.jar (available under JBOSS_HOME\bin\client directory), which we are using in client side while initializing context.

1) PropertiesBasedEJBClientConfiguration
2) ConfigBasedEJBClientContextSelector

Not sure what are the alternative classes provided in EAP7.1.
Below is the code written using EAP6.4 jboss client jar

EJBClientConfiguration ejbClientConfiguration = new PropertiesBasedEJBClientConfiguration(ejbProperties);
                ConfigBasedEJBClientContextSelector selector = new ConfigBasedEJBClientContextSelector(ejbClientConfiguration);

                try {
                    if (!EJBClientContext.isSelectorLocked()) {
                        EJBClientContext.setSelector(selector);
                    }
                }

Kindly help to provide an alternate solution. Many thanks in advance.