program XBEE

hi everyone, I am new to Zigbee environment and i juz use DIGI XBEE for my project, i have a couple of questions here:
i. Which compiler is used to program the XBEE?
ii. I am doing Automated Meter Reading … the reading of the meter how can i interface with the XBEE as well? Thanks