The JavaPorts Application Development Steps
It is easy to develop a JavaPorts application by following the four-step
procedure outlined in the Figure below. Clicking on the colored sections
of the figure leads to subpages providing more details about the highlighted items.
Step 1:
A Task Graph can be captured visually using the JavaPorts Visual Application Composer (JPVAC)
or textually described using the JavaPorts Configuration Language (JPCL).
Step 2:
The JavaPorts Application Configuration Toolset (JPACT)
is used to parse an application configuration file and create Java or Matlab
code templates for every task and scripts for
automatically launching the distributed application. Internally, the JPACT consists of two modules:
- JPCC: The JavaPorts Configuration Compiler parses the text-based configuration file for syntax and
logical errors. If there are no errors it creates an internal data structure
(A-M-T-P tree) that represents the application (and is hidden from the user).
- JPTSG: The JavaPorts Template and Script Generator creates the Java templates for each task and the shell
scripts (Solaris or Linux) for launching the application on the target cluster nodes.
Step 3:
The user should add any application specific code to complete the generated templates for every task.
Completed templates with user code (stand-alone program files) are then compiled.
Step 4:
The JavaPorts scripts are used to launch the distributed application from a single node in the network.
|