  The production of c c_bar and b b_bar is studied in pp collisions at sqrt(s)
= 7 TeV with the LHCb detector. The results of these measurements are compared
with different theoretical models. Results and prospects are also shown for
exotics: the mass measurement of the X(3872) and the search of the X(4140).
Most of the presented results are based on the 2010 LHCb dataset (35 pb-1).
