It's not as hard some may thing. I mean banging chicks is a awesome idea, but going through with it is suicide especially if you value the relatiionship you have with your lady. She is going through the same thing as you are. But if you made that commitment, and you are faithful, then there isn't anything on your heart that makes it weigh heavy. Right now, I've been deployed for 9 months, in 3 months I go home. Now I've seen some really good looking females, and even work with some - but I would not dare cross that line and break that trust with my wife. I know what is waiting for me back home - she is worth every bit worth of the wait.
Some people can look their better half square in the eye and not blink knowing full well they are dogging them out... what comes around goes around.
BTW - I masturbate like crazy so this helps out too