Generate entity beans