クライアントは、コマンドのターゲットを名前で設定する必要がある場合、 そのコマンドの setCommandTargetName メソッドを使用することができます。
{ ... CheckingAccount checkingAccount .... try { ModifyCheckingAccountCmd cmd = new ModifyCheckingAccountCmdImpl(null, 1000); cmd.setCheckingAccount(checkingAccount); cmd.setCommandTargetName("com.ibm.sfc.cmd.test.CheckingAccountBean"); cmd.execute(); } catch (Exception e) { System.out.println(e.getMessage()); } ... }