Posts Tagged ‘java’

jARC: Accessing the ARC Middleware from Java.

Monday, June 21st, 2010

We just release the first version of jARC a java library that will allow the access to the grid from Java.

2 different ways to deal with the low level communications have been provided in order to support an access from a machine where the ARC-User Interface is not installed. This is he case of a remote user interface and he APIs support an SSH connection with the machine where the ARC command line interface runs in order to read/write strings into the wire and performs file transfers (using SCP).

Grid security is supported via an automatic regeneration of the user certificate and is optional. In other words, if you can assume that the machine where the User Interface is running support has a valid proxy installed the security become optional and can be turned off.

The key class is that Abstract the usual job submission functionalities and gives a “method oriented” way to interact with ARC.

Example are: killjob, renewCertificates, submitjob etc etc.

In the release an example of usage is provided. And you can have the following information:

1) Validate the configuration,

2) Connect to the remote user interface,

3) Upload few files into the remote machine

4) Submit a job,

5) Wait (monitor the status of the job)

6) Retrieve the results from the grid

7) Move the results from the remote machine to the machine where the jARC is running

For more details you can refer to: