As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public class HelloAccountService implements JavaDelegate { @Override public void execute(DelegateExecution execution) throws Exception { ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext( "data-layer-context.xml"); AccountService accServ = (AccountService)applicationContext.getBean("accountService"); Account acc = accServ.getAccount("A7UJ9A0000YZ"); JOptionPane.showMessageDialog(null, acc.getAccount()); } }