Maybe, we should add a support for batch invoke and batch execute a service out of the box.
In the client-side. If there is a api method with AllowBatch annotation. You can invoke the method such as object.batchXxx(local, params...params) or object.batchXxx(remote, params...params).
The previous will create multiple connections concurrently and invoke the xxx method.
The after will create a connection and invoke the batchXxx method generated in server-side.
The batchXxx method in server-side is a method generated by framewok, and execute the xxx method concurrently.