Darren Moore suffered multiple fractures and cuts to his face when he was attacked by several men with baseball bats and hammers in Doagh on Wednesday, police said.
Aaron Cahoon, 27, was also charged with possessing an offensive weapon with intent to commit a crime.
Mr Cahoon, of Fairhill Gardens, Newtownabbey, denies the charges.
He was arrested along with six other men; the other five were later released on police bail.
Mr Moore, in his forties and formerly from the Mount Vernon area of Belfast, was drinking in McConnell's Bar when he was attacked, Belfast Magistrates' Court heard.
Refusing bail, the judge remanded Mr Cahoon in custody to appear again by video link on 13 April.
A man has appeared in court charged with attempted murder after a man was attacked at a County Antrim bar.