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