Boyfriend problems

Courtnee
Is it okay for my boyfriend to be hanging out with girls and pretty much talking to his ex.  
But he gets pissed when I hang out with just my co-workers for lunch