Application Engine programs can be used for:
row-by-row processing
set-based processing
SQL statements
both 1 and 2