Java innerhalb eines RDOs
import com.brokat.twister.*;
public class Account extends RDO
public Account() throws TwisterException
Oracle ora = new Oracle(this);
ora.connect("scott@hpqa02","tiger");
public void balance() throws TwisterException
std.log("executing... ");
String accNo = ArgPool.getData("AccNo");
std.log("executing... ");
String accNo = ArgPool.getData("AccNo");
std.log("account number given: "+accNo);
ora.execute("select * from ACCOUNT where ACCNO="+accNo);
String balance = RetPool.getData("BALANCE");
std.log("the balance of account "+ accNo +" is :" + balance);
public void withdraw() throws TwisterException
public void deposit() throws TwisterException