ejb3/src/main/java/org/jboss/as/ejb3/iiop/stub/DynamicIIOPStub.java
public int invokeInt(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable {
        return ((Number) invoke(operationName, stubStrategy, params)).intValue();
    }
public int invokeInt(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable {
        return ((Number) invoke(operationName, stubStrategy, params)).intValue();
    }
Sends a request message to the server, receives the reply from the
server, and returns an <code>int</code> result to the caller.