This defense would work as if it was a Clan Castle. You open up the Defensive Barracks and the troop training interface pops up. But, after the troops are trained, they are not sent to the army camps. Instead, they are held in the Defensive Barracks, and they serve the purpose of guarding your base. Like a Clan Castle, the upgrades can go in intervals of 5, starting at 30 troop capacity.