that version of John's origin originated from the show but there retrofitted it into his comic background; prior to that he was just an architect with a social justice bend. I wanna say it was during Johns run that they first introduced his marine background into the comics then post-Flashpoint is when they fully reconciled the two, went to the military fresh out of high school then got kicked out (well, it was technically an honorable discharge) then became an architect. the Marines have kinda become shorthand for his character/personality nowadays, which I guess is a weird testament to how compelling the JL/JLU series was and still is.