An alternative PBS API for Java

Last week we released a new API for PBS in Java - pbs-java-api. There is an existing API that works very well (pbs4java), and we even got in touch and worked with the author before releasing this new API. So what’s the difference between the two API’s and when should I use one or the other?

Here’s the main differences between the two API’s:

  • pbs4java uses DDD, while pbs-java-api has a more classical approach. We needed this to avoid serialization problems in Jenkins.
  • pbs-java-api is available from Maven Central
  • pbs-java-api tries to map the commands (qnodes, qstat, qsub, …). So you would call PBS.qsub(…) instead of Job#submit().

That’s pretty much it, so you really don’t need to switch to pbs-java-api. We created this new API as we needed a non DDD API to be used with the Jenkins plug-in API and that was available from Maven Central.

pbs-java-api - https://github.com/tupilabs/pbs-java-api