* @ejb:interface-method view-type="remote"
**/
public void withdraw( String pAccountId, float pAmount )
throws FinderException, RemoteException
{
Account lAccount = getAccountHome().findByPrimaryKey(
new AccountPK( pAccountId )
);
AccountData lData = lAccount.getData();
lData.setBalance( lData.getBalance() - pAmount );
lAccount.setData( lData );
try {
getTransactionHome().create(
lData.getId(),
Constants.WITHDRAW,
pAmount,