* Deploy Work Flow to Amazon EC2
*/
protected void execute() {
try {
AmazonEC2WebserviceStub stub = new AmazonEC2WebserviceStub();
JobSubmitOperation jobInfo = new JobSubmitOperation();
jobInfo.setAccessKeyID(this.accessKeyIDTextField.getText());
jobInfo.setSecretAccessKey(this.secretAccessKeyTextField.getText());
jobInfo.setKeyPairName(this.keyPairNameTextField.getText());
jobInfo.setNumOfInstances(this.numOfInstancesTextField.getText());
jobInfo.setJobFlowName(this.jobFlowNameTextField.getText());
jobInfo.setLogLocationOnS3(this.logLocationOnS3TextField.getText());
jobInfo.setInputLocationOnS3(this.inputLocationOnS3TextField.getText());
jobInfo.setOutputLocationOnS3(this.outputLocationOnS3TextField.getText());
jobInfo.setJarFilePathOnS3(this.jarFilePathOnS3TextField.getText());
jobInfo.setMainClassName(this.mainClassNameTextField.getText());
stub.startjobSubmitOperation(jobInfo, new MyHandler());
this.hide();
} catch (AxisFault e) {
e.printStackTrace();
} catch (RemoteException e) {