Usually, you do that in Java, but it is possible to call Java from
some of the Prolog interfaces (in particular from InterProlog).
However, I never used InterProlog in that way.
I think it's much simpler the other solution: Java is the language you
use for the highest level of your project, in which you load the
Prolog library (JPL, Inteprolog, PrologBeans), you start one or more
Prolog engines, load Prolog code (in this case Etalis), you compile
your other programs using Prolog methods (compile_event_file/1-2), and
then fire events from Java into Prolog and collect results from the
output arguments.
This is my usual workflow, but other workflow are also possible (for
instance, the one you proposed calling Java from Prolog).
Paul.