Beam optics applications: Quantumlike versus classical-like domains