vpBase,
jmsConnector,
heartbeatScheduler);
ViewClient vc = vp.createViewClient(UserPrincipal.getLocalUser());
HistoricalMarketDataSpecification marketDataSpecification = MarketData.historical(observationDate, null);
ViewExecutionOptions executionOptions = ExecutionOptions.batch(valuationTime, marketDataSpecification, null);
vc.attachToViewProcess(viewDefinitionUniqueId, executionOptions);
vc.waitForCompletion();