This battery holder has connector pins for mounting on circuit boards:
Price: £ 9.49 from Conrad Electronic