8.2. Integrating portal function with a grid application
This section describes some techniques for integrating the portal with a grid-enabled application.
8.2.1. Add methods to execute the Globus commands
The simplest and most obvious integration is to be able to launch or execute Globus commands via the Web interface. From a Java servlet, you may need to launch Globus commands written in C. Let us see how this is accomplished.
Running non-Java commands from Java code
Our portal code is written in Java. If the grid commands and the Globus commands are also Java classes then this section can be skipped. There are two possible ways to do this. One way is to use the Java native method, which can be difficult to implement. The second way is to ...