One is a primitive, and one is not.
As you know, you can only put Objects in collections and so forth. In that case, you would need the non-primitive long. Other places I'm not sure there's any precedent for using one over the other. Situations do vary, however. Use your best judgement based on your understanding of the difference.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED