Java front calls with BDL scenario

BDL scenario can use Java implemented front calls.

You can use Java front call handlers in your BDL scenario, by specifying the option --frontcall-handler in the command line.

Multiple front call handlers --frontcall-handler can be registered in this way. If a front call handler does not process the front call request, the next registered handler is called.

The following sample command sends a request to use the Java OpenFile front call. This front call is implemented by the class com.fourjs.ggc.frontcall.standard.OpenFile. It allows you to provide a list of file paths that are returned in sequence.

The path to two files is specified; /tmp/a.jpg and /tmp/b.jpg, as an example. (Line breaks have been added to the command example to improve readability).

fglrun scenario ua 
   --url http://localhost:6394/ua/r/app
   --frontcall-handler com.fourjs.ggc.frontcall.standard.OpenFile,/tmp/a.jpg,/tmp/b.jpg

For Java tests, the ggcadmin ua and tcp commands have the option to use the --frontcall-handler also to request to use a front call handler.