CFMLEngine engine = CFMLEngineFactory.getInstance();
// using scopes/variables
PageContext pc = engine.getThreadPageContext();// return the PageContext of the current thread (id there is a PC for this thread)
pc.variablesScope();
pc.sessionScope();
pc.applicationScope();
pc.requestScope();
pc.setVariable("session.susi", "Susanne");
pc.getVariable("session.susi");
// create objects
Creation creator = engine.getCreationUtil();
creator.createArray();
creator.createArray(1);
creator.createQuery(new String[]{"firstname","lastname"}, 1, "fullname");
// decision
Decision decision = engine.getDecisionUtil();
if(decision.isDate(obj,false) || decision.isStruct(obj));
// operation
Operation op = engine.getOperatonUtil();
if(op.compare(left, right)); //cfml comparision rules
// caster
Cast caster = engine.getCastUtil();
caster.toArray(obj);
caster.toStruct(obj);
// exception
Excepton exp = engine.getExceptionUtil();
if(cont)throw exp.createAbort();
else throw exp.createApplicationException("this is wrong","you cannot ...");