For the problem at hand, see the title. A certain "calculation service" (cpu intensive) is served to the clients as follows: all client requests go to one machine that manages the queue and - when a server or cpu is free in the cluster - forwards the request to a java appserver. The appserver uses ejb for its workflow mangement and at one point in the workflow the calculation service must be invoked (*). The results of the calculation are managed in the workflow.
Questions: - the call to the calculation service must be a RMI or do other options exist? - which products support this architecture "out of the box" (so to speak).
(*) It is invoked as a standalone java program, that uses JNI internally.