We discuss the associate production of a J/psi meson and a photon at ppBAR (or pp) and ep colliders. By requiring the J/psi to decay into an e+ e- or mu+ mu- pair, we end up with an exceptionally clean final state. Furthermore, in leading order it can only be produced via gluon fusion. This process can therefore serve as a very clean probe of the gluon densities inside the proton as well as the photon. Numerical results are presented for the tevatron ppBAR and HERA ep colliders.