Hello,
How do you normally execute Javascript? In workflow you can create a step which calls a task (TS) which calls the method of a class which executes some ABAP. That ABAP can call some java code.
Maybe you could give an example.
regards
Rick Bakker