No love/sex life....

Hi! Going on 2 years now, I've only had sex once with an ex boyfriend. I want to get back in the swing of things but I'm not ready for a serious relationship. They guy I am talking to, I have had a crush on for over 3 years. Is it possible to have sex with a crush for so long and not get attached when I know I'm not ready for anything serious. Or should I just grab a guy in s bar like in movies? HELP!