Dean McMenamin, 24, of Annan and Neil Smith, 39, Dumfries were remanded in custody and 32-year-old David McKay of Annan was released on bail.
The appearance on Monday related to an incident at a property in the village in the early hours February 10, 2017.
None of the accused made a plea and McMenamin and Smith are due to appear in court again on March 21.
NEWSDESK: 01461-202417